
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.
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 a real instruction id that doesn't contain any modifiers.
Returns instruction options associated with this instruction.
Tests whether the given instruction option
is enabled.
Replaces all instruction options by the given options
.
Adds instruction options provided by options
.
Clears instruction options provided by options
.
Resets all instruction options to InstOptions::kNone
(there will be no instruction options active after reset).
Tests whether the instruction has associated an extra register.
{k}
and {k}{z}
and by repeated instructions to explicitly assign a virtual register that would be ECX/RCX. Instruction options.