AsmJit
Low-Latency Machine Code Generation
Instruction id, options, and extraReg in a single structure.
This structure exists mainly to simplify analysis and validation API that requires BaseInst
and Operand[]
array.
0
, InstOptions options = InstOptions::kNone
)explicitnoexcept◆ Creates a new BaseInst instance with id
and options
set.
Default values of id
and options
are zero, which means 'none' instruction. Such instruction is guaranteed to never exist for any architecture supported by AsmJit.
Returns the instruction id with modifiers.
Sets the instruction id and modiiers from id
.
Resets the instruction id and modifiers to zero, see kIdNone.
Returns a real instruction id that doesn't contain any modifiers.
Instruction id with modifiers.
Instruction options.
Extra register used by the instruction (either REP register or AVX-512 selector).