mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-03-25 01:28:39 +00:00
IR: Add VectorTable and VectorTableLookup IR instructions
This commit is contained in:
@@ -17,6 +17,8 @@ namespace Dynarmic::IR {
|
||||
enum class Opcode;
|
||||
enum class Type;
|
||||
|
||||
constexpr size_t max_arg_count = 4;
|
||||
|
||||
/**
|
||||
* A representation of a microinstruction. A single ARM/Thumb instruction may be
|
||||
* converted into zero or more microinstructions.
|
||||
@@ -136,7 +138,7 @@ private:
|
||||
|
||||
Opcode op;
|
||||
size_t use_count = 0;
|
||||
std::array<Value, 3> args;
|
||||
std::array<Value, max_arg_count> args;
|
||||
|
||||
// Pointers to related pseudooperations:
|
||||
// Since not all combinations are possible, we use a union to save space
|
||||
|
||||
Reference in New Issue
Block a user