IndexX86 Backendasmjit::x86::InstDB::CommonInfo

asmjit::x86::InstDB::CommonInfo Struct Reference [¶]

Instruction common information.

Aggregated information shared across one or more instruction.

Public Members

Member Functions

Accessors

InstFlags x86::InstDB::CommonInfo::flags() constnodiscardnoexcept[¶]

Returns instruction flags.

bool x86::InstDB::CommonInfo::has_flag() constnodiscardnoexcept[¶]

Tests whether the instruction has a flag.

Avx512Flags x86::InstDB::CommonInfo::avx512_flags() constnodiscardnoexcept[¶]

Returns instruction AVX-512 flags.

bool x86::InstDB::CommonInfo::has_avx512_flag() constnodiscardnoexcept[¶]

Tests whether the instruction has an AVX-512 flag.

bool x86::InstDB::CommonInfo::is_fpu() constnodiscardnoexcept[¶]

Tests whether the instruction is FPU instruction.

bool x86::InstDB::CommonInfo::is_mmx() constnodiscardnoexcept[¶]

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

bool x86::InstDB::CommonInfo::is_vec() constnodiscardnoexcept[¶]

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

bool x86::InstDB::CommonInfo::is_sse() constnodiscardnoexcept[¶]

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

bool x86::InstDB::CommonInfo::is_avx() constnodiscardnoexcept[¶]

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

bool x86::InstDB::CommonInfo::has_lock_prefix() constnodiscardnoexcept[¶]

Tests whether the instruction can be prefixed with LOCK prefix.

bool x86::InstDB::CommonInfo::has_rep_prefix() constnodiscardnoexcept[¶]

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

bool x86::InstDB::CommonInfo::has_xacquire_prefix() constnodiscardnoexcept[¶]

Tests whether the instruction can be prefixed with XACQUIRE prefix.

bool x86::InstDB::CommonInfo::has_xrelease_prefix() constnodiscardnoexcept[¶]

Tests whether the instruction can be prefixed with XRELEASE prefix.

bool x86::InstDB::CommonInfo::is_rep_ignored() constnodiscardnoexcept[¶]

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

bool x86::InstDB::CommonInfo::is_mib_op() constnodiscardnoexcept[¶]

Tests whether the instruction uses MIB.

bool x86::InstDB::CommonInfo::is_vsib_op() constnodiscardnoexcept[¶]

Tests whether the instruction uses VSIB.

bool x86::InstDB::CommonInfo::is_tsib_op() constnodiscardnoexcept[¶]

Tests whether the instruction uses TSIB (AMX, instruction requires MOD+SIB).

bool x86::InstDB::CommonInfo::is_vex() constnodiscardnoexcept[¶]

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

bool x86::InstDB::CommonInfo::is_evex() constnodiscardnoexcept[¶]

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

bool x86::InstDB::CommonInfo::is_vex_or_evex() constnodiscardnoexcept[¶]

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

bool x86::InstDB::CommonInfo::prefer_evex() constnodiscardnoexcept[¶]

Tests whether the instruction should prefer EVEX prefix instead of VEX prefix.

bool x86::InstDB::CommonInfo::has_avx512_k() constnodiscardnoexcept[¶]

Tests whether the instruction supports AVX512 masking {k}.

bool x86::InstDB::CommonInfo::has_avx512_z() constnodiscardnoexcept[¶]

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

bool x86::InstDB::CommonInfo::has_avx512_er() constnodiscardnoexcept[¶]

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

bool x86::InstDB::CommonInfo::has_avx512_sae() constnodiscardnoexcept[¶]

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

bool x86::InstDB::CommonInfo::has_avx512_bcst() constnodiscardnoexcept[¶]

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

bool x86::InstDB::CommonInfo::has_avx512_bcst16() constnodiscardnoexcept[¶]

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

bool x86::InstDB::CommonInfo::has_avx512_bcst32() constnodiscardnoexcept[¶]

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

bool x86::InstDB::CommonInfo::has_avx512_bcst64() constnodiscardnoexcept[¶]

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

InstControlFlow x86::InstDB::CommonInfo::control_flow() constnodiscardnoexcept[¶]

Returns a control flow category of the instruction.

InstSameRegHint x86::InstDB::CommonInfo::same_reg_hint() constnodiscardnoexcept[¶]

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

uint32_t x86::InstDB::CommonInfo::_flags[¶]

Instruction flags.

uint32_t x86::InstDB::CommonInfo::_avx512_flags[¶]

Reserved for future use.

uint32_t x86::InstDB::CommonInfo::_inst_signature_index[¶]

First InstSignature entry in the database.

uint32_t x86::InstDB::CommonInfo::_inst_signature_count[¶]

Number of relevant ISignature entries.

uint32_t x86::InstDB::CommonInfo::_control_flow[¶]

Instruction control flow category, see InstControlFlow.

uint32_t x86::InstDB::CommonInfo::_same_reg_hint[¶]

Specifies what happens if all source operands share the same register.