IndexX86 Backendasmjit::x86::InstDB::InstInfo
asmjit::x86::InstDB::InstInfo Struct Reference

Instruction information.

Public Members

Member Functions

Accessors

const CommonInfo& x86::InstDB::InstInfo::commonInfo() constnoexcept[¶]

Returns common information, see CommonInfo.

InstFlags x86::InstDB::InstInfo::flags() constnoexcept[¶]

Returns instruction flags, see InstFlags.

bool x86::InstDB::InstInfo::hasFlag() constnoexcept[¶]

Tests whether the instruction has flag flag, see InstFlags.

Avx512Flags x86::InstDB::InstInfo::avx512Flags() constnoexcept[¶]

Returns instruction AVX-512 flags, see Avx512Flags.

bool x86::InstDB::InstInfo::hasAvx512Flag() constnoexcept[¶]

Tests whether the instruction has an AVX-512 flag, see Avx512Flags.

bool x86::InstDB::InstInfo::isFpu() constnoexcept[¶]

Tests whether the instruction is FPU instruction.

bool x86::InstDB::InstInfo::isMmx() constnoexcept[¶]

Tests whether the instruction is MMX/3DNOW instruction that accesses MMX registers (includes EMMS and FEMMS).

bool x86::InstDB::InstInfo::isVec() constnoexcept[¶]

Tests whether the instruction is SSE|AVX|AVX512 instruction that accesses XMM|YMM|ZMM registers.

bool x86::InstDB::InstInfo::isSse() constnoexcept[¶]

Tests whether the instruction is SSE+ (SSE4.2, AES, SHA included) instruction that accesses XMM registers.

bool x86::InstDB::InstInfo::isAvx() constnoexcept[¶]

Tests whether the instruction is AVX+ (FMA included) instruction that accesses XMM|YMM|ZMM registers.

bool x86::InstDB::InstInfo::hasLockPrefix() constnoexcept[¶]

Tests whether the instruction can be prefixed with LOCK prefix.

bool x86::InstDB::InstInfo::hasRepPrefix() constnoexcept[¶]

Tests whether the instruction can be prefixed with REP (REPE|REPZ) prefix.

bool x86::InstDB::InstInfo::hasXAcquirePrefix() constnoexcept[¶]

Tests whether the instruction can be prefixed with XACQUIRE prefix.

bool x86::InstDB::InstInfo::hasXReleasePrefix() constnoexcept[¶]

Tests whether the instruction can be prefixed with XRELEASE prefix.

bool x86::InstDB::InstInfo::isRepIgnored() constnoexcept[¶]

Tests whether the rep prefix is supported by the instruction, but ignored (has no effect).

bool x86::InstDB::InstInfo::isMibOp() constnoexcept[¶]

Tests whether the instruction uses MIB.

bool x86::InstDB::InstInfo::isVsibOp() constnoexcept[¶]

Tests whether the instruction uses VSIB.

bool x86::InstDB::InstInfo::isVex() constnoexcept[¶]

Tests whether the instruction uses VEX (can be set together with EVEX if both are encodable).

bool x86::InstDB::InstInfo::isEvex() constnoexcept[¶]

Tests whether the instruction uses EVEX (can be set together with VEX if both are encodable).

bool x86::InstDB::InstInfo::isVexOrEvex() constnoexcept[¶]

Tests whether the instruction uses EVEX (can be set together with VEX if both are encodable).

bool x86::InstDB::InstInfo::hasAvx512K() constnoexcept[¶]

Tests whether the instruction supports AVX512 masking {k}.

bool x86::InstDB::InstInfo::hasAvx512Z() constnoexcept[¶]

Tests whether the instruction supports AVX512 zeroing {k}{z}.

bool x86::InstDB::InstInfo::hasAvx512ER() constnoexcept[¶]

Tests whether the instruction supports AVX512 embedded-rounding {er}.

bool x86::InstDB::InstInfo::hasAvx512SAE() constnoexcept[¶]

Tests whether the instruction supports AVX512 suppress-all-exceptions {sae}.

bool x86::InstDB::InstInfo::hasAvx512B() constnoexcept[¶]

Tests whether the instruction supports AVX512 broadcast (either 32-bit or 64-bit).

bool x86::InstDB::InstInfo::hasAvx512B16() constnoexcept[¶]

Tests whether the instruction supports AVX512 broadcast (16-bit).

bool x86::InstDB::InstInfo::hasAvx512B32() constnoexcept[¶]

Tests whether the instruction supports AVX512 broadcast (32-bit).

bool x86::InstDB::InstInfo::hasAvx512B64() constnoexcept[¶]

Tests whether the instruction supports AVX512 broadcast (64-bit).

InstControlFlow x86::InstDB::InstInfo::controlFlow() constnoexcept[¶]

Returns a control flow category of the instruction.

InstSameRegHint x86::InstDB::InstInfo::sameRegHint() constnoexcept[¶]

Returns a hint that can be used when both inputs are the same register.

uint32_t x86::InstDB::InstInfo::_reserved[¶]

Reserved for future use.

uint32_t x86::InstDB::InstInfo::_commonInfoIndex[¶]

Index to _commonInfoTable.

uint32_t x86::InstDB::InstInfo::_additionalInfoIndex[¶]

Index to _additionalInfoTable.

uint8_t x86::InstDB::InstInfo::_encoding[¶]

Instruction encoding (internal encoding identifier used by Assembler).

uint8_t x86::InstDB::InstInfo::_mainOpcodeValue[¶]

Main opcode value (0..255).

uint8_t x86::InstDB::InstInfo::_mainOpcodeIndex[¶]

Index to _mainOpcodeTable` that is combined with _mainOpcodeValue to form the final opcode.

uint8_t x86::InstDB::InstInfo::_altOpcodeIndex[¶]

Index to _altOpcodeTable that contains a full alternative opcode.