LLVM 20.0.0git
Classes | Namespaces | Macros | Enumerations
X86DisassemblerDecoder.h File Reference
#include "llvm/ADT/ArrayRef.h"
#include "llvm/Support/X86DisassemblerDecoderCommon.h"

Go to the source code of this file.

Classes

struct  llvm::X86Disassembler::InstructionSpecifier
 The specification for how to extract and interpret a full instruction and its operands. More...
 
struct  llvm::X86Disassembler::InternalInstruction
 The x86 internal instruction, which is produced by the decoder. More...
 

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::X86Disassembler
 

Macros

#define bitFromOffset0(val)   ((val) & 0x1)
 
#define bitFromOffset1(val)   (((val) >> 1) & 0x1)
 
#define bitFromOffset2(val)   (((val) >> 2) & 0x1)
 
#define bitFromOffset3(val)   (((val) >> 3) & 0x1)
 
#define bitFromOffset4(val)   (((val) >> 4) & 0x1)
 
#define bitFromOffset5(val)   (((val) >> 5) & 0x1)
 
#define bitFromOffset6(val)   (((val) >> 6) & 0x1)
 
#define bitFromOffset7(val)   (((val) >> 7) & 0x1)
 
#define twoBitsFromOffset0(val)   ((val) & 0x3)
 
#define twoBitsFromOffset6(val)   (((val) >> 6) & 0x3)
 
#define threeBitsFromOffset0(val)   ((val) & 0x7)
 
#define threeBitsFromOffset3(val)   (((val) >> 3) & 0x7)
 
#define fourBitsFromOffset0(val)   ((val) & 0xf)
 
#define fourBitsFromOffset3(val)   (((val) >> 3) & 0xf)
 
#define fiveBitsFromOffset0(val)   ((val) & 0x1f)
 
#define invertedBitFromOffset2(val)   (((~(val)) >> 2) & 0x1)
 
#define invertedBitFromOffset3(val)   (((~(val)) >> 3) & 0x1)
 
#define invertedBitFromOffset4(val)   (((~(val)) >> 4) & 0x1)
 
#define invertedBitFromOffset5(val)   (((~(val)) >> 5) & 0x1)
 
#define invertedBitFromOffset6(val)   (((~(val)) >> 6) & 0x1)
 
#define invertedBitFromOffset7(val)   (((~(val)) >> 7) & 0x1)
 
#define invertedFourBitsFromOffset3(val)   (((~(val)) >> 3) & 0xf)
 
#define modFromModRM(modRM)   twoBitsFromOffset6(modRM)
 
#define regFromModRM(modRM)   threeBitsFromOffset3(modRM)
 
#define rmFromModRM(modRM)   threeBitsFromOffset0(modRM)
 
#define scaleFromSIB(sib)   twoBitsFromOffset6(sib)
 
#define indexFromSIB(sib)   threeBitsFromOffset3(sib)
 
#define baseFromSIB(sib)   threeBitsFromOffset0(sib)
 
#define wFromREX(rex)   bitFromOffset3(rex)
 
#define rFromREX(rex)   bitFromOffset2(rex)
 
#define xFromREX(rex)   bitFromOffset1(rex)
 
#define bFromREX(rex)   bitFromOffset0(rex)
 
#define mFromREX2(rex2)   bitFromOffset7(rex2)
 
#define r2FromREX2(rex2)   bitFromOffset6(rex2)
 
#define x2FromREX2(rex2)   bitFromOffset5(rex2)
 
#define b2FromREX2(rex2)   bitFromOffset4(rex2)
 
#define wFromREX2(rex2)   bitFromOffset3(rex2)
 
#define rFromREX2(rex2)   bitFromOffset2(rex2)
 
#define xFromREX2(rex2)   bitFromOffset1(rex2)
 
#define bFromREX2(rex2)   bitFromOffset0(rex2)
 
#define rFromXOP2of3(xop)   invertedBitFromOffset7(xop)
 
#define xFromXOP2of3(xop)   invertedBitFromOffset6(xop)
 
#define bFromXOP2of3(xop)   invertedBitFromOffset5(xop)
 
#define mmmmmFromXOP2of3(xop)   fiveBitsFromOffset0(xop)
 
#define wFromXOP3of3(xop)   bitFromOffset7(xop)
 
#define vvvvFromXOP3of3(xop)   invertedFourBitsFromOffset3(xop)
 
#define lFromXOP3of3(xop)   bitFromOffset2(xop)
 
#define ppFromXOP3of3(xop)   twoBitsFromOffset0(xop)
 
#define rFromVEX2of2(vex)   invertedBitFromOffset7(vex)
 
#define vvvvFromVEX2of2(vex)   invertedFourBitsFromOffset3(vex)
 
#define lFromVEX2of2(vex)   bitFromOffset2(vex)
 
#define ppFromVEX2of2(vex)   twoBitsFromOffset0(vex)
 
#define rFromVEX2of3(vex)   invertedBitFromOffset7(vex)
 
#define xFromVEX2of3(vex)   invertedBitFromOffset6(vex)
 
#define bFromVEX2of3(vex)   invertedBitFromOffset5(vex)
 
#define mmmmmFromVEX2of3(vex)   fiveBitsFromOffset0(vex)
 
#define wFromVEX3of3(vex)   bitFromOffset7(vex)
 
#define vvvvFromVEX3of3(vex)   invertedFourBitsFromOffset3(vex)
 
#define lFromVEX3of3(vex)   bitFromOffset2(vex)
 
#define ppFromVEX3of3(vex)   twoBitsFromOffset0(vex)
 
#define rFromEVEX2of4(evex)   invertedBitFromOffset7(evex)
 
#define xFromEVEX2of4(evex)   invertedBitFromOffset6(evex)
 
#define bFromEVEX2of4(evex)   invertedBitFromOffset5(evex)
 
#define r2FromEVEX2of4(evex)   invertedBitFromOffset4(evex)
 
#define b2FromEVEX2of4(evex)   bitFromOffset3(evex)
 
#define mmmFromEVEX2of4(evex)   threeBitsFromOffset0(evex)
 
#define wFromEVEX3of4(evex)   bitFromOffset7(evex)
 
#define vvvvFromEVEX3of4(evex)   invertedFourBitsFromOffset3(evex)
 
#define uFromEVEX3of4(evex)   invertedBitFromOffset2(evex)
 
#define ppFromEVEX3of4(evex)   twoBitsFromOffset0(evex)
 
#define oszcFromEVEX3of4(evex)   fourBitsFromOffset3(evex)
 
#define zFromEVEX4of4(evex)   bitFromOffset7(evex)
 
#define l2FromEVEX4of4(evex)   bitFromOffset6(evex)
 
#define lFromEVEX4of4(evex)   bitFromOffset5(evex)
 
#define bFromEVEX4of4(evex)   bitFromOffset4(evex)
 
#define v2FromEVEX4of4(evex)   invertedBitFromOffset3(evex)
 
#define aaaFromEVEX4of4(evex)   threeBitsFromOffset0(evex)
 
#define nfFromEVEX4of4(evex)   bitFromOffset2(evex)
 
#define scFromEVEX4of4(evex)   fourBitsFromOffset0(evex)
 
#define REGS_8BIT
 
#define EA_BASES_16BIT
 
#define REGS_16BIT
 
#define EA_BASES_32BIT
 
#define REGS_32BIT
 
#define EA_BASES_64BIT
 
#define REGS_64BIT
 
#define REGS_MMX
 
#define REGS_XMM
 
#define REGS_YMM
 
#define REGS_ZMM
 
#define REGS_MASKS
 
#define REGS_MASK_PAIRS
 
#define REGS_SEGMENT
 
#define REGS_DEBUG
 
#define REGS_CONTROL
 
#define REGS_TMM
 
#define ALL_EA_BASES
 
#define ALL_SIB_BASES
 
#define ALL_REGS
 
#define ENTRY(x)   EA_BASE_##x,
 
#define ENTRY(x)   EA_REG_##x,
 
#define ENTRY(x)   SIB_INDEX_##x,
 
#define ENTRY(x)   SIB_BASE_##x,
 
#define ENTRY(x)   MODRM_REG_##x,
 

Enumerations

enum  llvm::X86Disassembler::EABase { llvm::X86Disassembler::EA_BASE_NONE , llvm::X86Disassembler::EA_max }
 All possible values of the base field for effective-address computations, a.k.a. More...
 
enum  llvm::X86Disassembler::SIBIndex { llvm::X86Disassembler::SIB_INDEX_NONE , llvm::X86Disassembler::SIB_INDEX_max }
 All possible values of the SIB index field. More...
 
enum  llvm::X86Disassembler::SIBBase { llvm::X86Disassembler::SIB_BASE_NONE , llvm::X86Disassembler::SIB_BASE_max }
 All possible values of the SIB base field. More...
 
enum  llvm::X86Disassembler::EADisplacement { llvm::X86Disassembler::EA_DISP_NONE , llvm::X86Disassembler::EA_DISP_8 , llvm::X86Disassembler::EA_DISP_16 , llvm::X86Disassembler::EA_DISP_32 }
 Possible displacement types for effective-address computations. More...
 
enum  llvm::X86Disassembler::Reg { llvm::X86Disassembler::MODRM_REG_max }
 All possible values of the reg field in the ModR/M byte. More...
 
enum  llvm::X86Disassembler::SegmentOverride {
  llvm::X86Disassembler::SEG_OVERRIDE_NONE , llvm::X86Disassembler::SEG_OVERRIDE_CS , llvm::X86Disassembler::SEG_OVERRIDE_SS , llvm::X86Disassembler::SEG_OVERRIDE_DS ,
  llvm::X86Disassembler::SEG_OVERRIDE_ES , llvm::X86Disassembler::SEG_OVERRIDE_FS , llvm::X86Disassembler::SEG_OVERRIDE_GS , llvm::X86Disassembler::SEG_OVERRIDE_max
}
 All possible segment overrides. More...
 
enum  llvm::X86Disassembler::VEXLeadingOpcodeByte {
  llvm::X86Disassembler::VEX_LOB_0F = 0x1 , llvm::X86Disassembler::VEX_LOB_0F38 = 0x2 , llvm::X86Disassembler::VEX_LOB_0F3A = 0x3 , llvm::X86Disassembler::VEX_LOB_MAP4 = 0x4 ,
  llvm::X86Disassembler::VEX_LOB_MAP5 = 0x5 , llvm::X86Disassembler::VEX_LOB_MAP6 = 0x6 , llvm::X86Disassembler::VEX_LOB_MAP7 = 0x7
}
 Possible values for the VEX.m-mmmm field. More...
 
enum  llvm::X86Disassembler::XOPMapSelect { llvm::X86Disassembler::XOP_MAP_SELECT_8 = 0x8 , llvm::X86Disassembler::XOP_MAP_SELECT_9 = 0x9 , llvm::X86Disassembler::XOP_MAP_SELECT_A = 0xA }
 
enum  llvm::X86Disassembler::VEXPrefixCode { llvm::X86Disassembler::VEX_PREFIX_NONE = 0x0 , llvm::X86Disassembler::VEX_PREFIX_66 = 0x1 , llvm::X86Disassembler::VEX_PREFIX_F3 = 0x2 , llvm::X86Disassembler::VEX_PREFIX_F2 = 0x3 }
 Possible values for the VEX.pp/EVEX.pp field. More...
 
enum  llvm::X86Disassembler::VectorExtensionType {
  llvm::X86Disassembler::TYPE_NO_VEX_XOP = 0x0 , llvm::X86Disassembler::TYPE_VEX_2B = 0x1 , llvm::X86Disassembler::TYPE_VEX_3B = 0x2 , llvm::X86Disassembler::TYPE_EVEX = 0x3 ,
  llvm::X86Disassembler::TYPE_XOP = 0x4
}
 

Macro Definition Documentation

◆ aaaFromEVEX4of4

#define aaaFromEVEX4of4 (   evex)    threeBitsFromOffset0(evex)

Definition at line 108 of file X86DisassemblerDecoder.h.

◆ ALL_EA_BASES

#define ALL_EA_BASES
Value:
EA_BASES_16BIT \
EA_BASES_32BIT \
EA_BASES_64BIT

Definition at line 538 of file X86DisassemblerDecoder.h.

◆ ALL_REGS

#define ALL_REGS
Value:
REGS_8BIT \
REGS_16BIT \
REGS_32BIT \
REGS_64BIT \
REGS_MMX \
REGS_XMM \
REGS_YMM \
REGS_ZMM \
REGS_MASKS \
REGS_MASK_PAIRS \
REGS_SEGMENT \
REGS_DEBUG \
REGS_CONTROL \
REGS_TMM \
ENTRY(RIP)

Definition at line 547 of file X86DisassemblerDecoder.h.

◆ ALL_SIB_BASES

#define ALL_SIB_BASES
Value:
REGS_32BIT \
REGS_64BIT

Definition at line 543 of file X86DisassemblerDecoder.h.

◆ b2FromEVEX2of4

#define b2FromEVEX2of4 (   evex)    bitFromOffset3(evex)

Definition at line 96 of file X86DisassemblerDecoder.h.

◆ b2FromREX2

#define b2FromREX2 (   rex2)    bitFromOffset4(rex2)

Definition at line 63 of file X86DisassemblerDecoder.h.

◆ baseFromSIB

#define baseFromSIB (   sib)    threeBitsFromOffset0(sib)

Definition at line 53 of file X86DisassemblerDecoder.h.

◆ bFromEVEX2of4

#define bFromEVEX2of4 (   evex)    invertedBitFromOffset5(evex)

Definition at line 94 of file X86DisassemblerDecoder.h.

◆ bFromEVEX4of4

#define bFromEVEX4of4 (   evex)    bitFromOffset4(evex)

Definition at line 106 of file X86DisassemblerDecoder.h.

◆ bFromREX

#define bFromREX (   rex)    bitFromOffset0(rex)

Definition at line 58 of file X86DisassemblerDecoder.h.

◆ bFromREX2

#define bFromREX2 (   rex2)    bitFromOffset0(rex2)

Definition at line 67 of file X86DisassemblerDecoder.h.

◆ bFromVEX2of3

#define bFromVEX2of3 (   vex)    invertedBitFromOffset5(vex)

Definition at line 85 of file X86DisassemblerDecoder.h.

◆ bFromXOP2of3

#define bFromXOP2of3 (   xop)    invertedBitFromOffset5(xop)

Definition at line 71 of file X86DisassemblerDecoder.h.

◆ bitFromOffset0

#define bitFromOffset0 (   val)    ((val) & 0x1)

Definition at line 24 of file X86DisassemblerDecoder.h.

◆ bitFromOffset1

#define bitFromOffset1 (   val)    (((val) >> 1) & 0x1)

Definition at line 25 of file X86DisassemblerDecoder.h.

◆ bitFromOffset2

#define bitFromOffset2 (   val)    (((val) >> 2) & 0x1)

Definition at line 26 of file X86DisassemblerDecoder.h.

◆ bitFromOffset3

#define bitFromOffset3 (   val)    (((val) >> 3) & 0x1)

Definition at line 27 of file X86DisassemblerDecoder.h.

◆ bitFromOffset4

#define bitFromOffset4 (   val)    (((val) >> 4) & 0x1)

Definition at line 28 of file X86DisassemblerDecoder.h.

◆ bitFromOffset5

#define bitFromOffset5 (   val)    (((val) >> 5) & 0x1)

Definition at line 29 of file X86DisassemblerDecoder.h.

◆ bitFromOffset6

#define bitFromOffset6 (   val)    (((val) >> 6) & 0x1)

Definition at line 30 of file X86DisassemblerDecoder.h.

◆ bitFromOffset7

#define bitFromOffset7 (   val)    (((val) >> 7) & 0x1)

Definition at line 31 of file X86DisassemblerDecoder.h.

◆ EA_BASES_16BIT

#define EA_BASES_16BIT

Definition at line 151 of file X86DisassemblerDecoder.h.

◆ EA_BASES_32BIT

#define EA_BASES_32BIT

Definition at line 219 of file X86DisassemblerDecoder.h.

◆ EA_BASES_64BIT

#define EA_BASES_64BIT

Definition at line 287 of file X86DisassemblerDecoder.h.

◆ ENTRY [1/5]

#define ENTRY (   x)    EA_BASE_##x,

Definition at line 615 of file X86DisassemblerDecoder.h.

◆ ENTRY [2/5]

#define ENTRY (   x)    EA_REG_##x,

Definition at line 615 of file X86DisassemblerDecoder.h.

◆ ENTRY [3/5]

#define ENTRY (   x)    SIB_INDEX_##x,

Definition at line 615 of file X86DisassemblerDecoder.h.

◆ ENTRY [4/5]

#define ENTRY (   x)    SIB_BASE_##x,

Definition at line 615 of file X86DisassemblerDecoder.h.

◆ ENTRY [5/5]

#define ENTRY (   x)    MODRM_REG_##x,

Definition at line 615 of file X86DisassemblerDecoder.h.

◆ fiveBitsFromOffset0

#define fiveBitsFromOffset0 (   val)    ((val) & 0x1f)

Definition at line 38 of file X86DisassemblerDecoder.h.

◆ fourBitsFromOffset0

#define fourBitsFromOffset0 (   val)    ((val) & 0xf)

Definition at line 36 of file X86DisassemblerDecoder.h.

◆ fourBitsFromOffset3

#define fourBitsFromOffset3 (   val)    (((val) >> 3) & 0xf)

Definition at line 37 of file X86DisassemblerDecoder.h.

◆ indexFromSIB

#define indexFromSIB (   sib)    threeBitsFromOffset3(sib)

Definition at line 52 of file X86DisassemblerDecoder.h.

◆ invertedBitFromOffset2

#define invertedBitFromOffset2 (   val)    (((~(val)) >> 2) & 0x1)

Definition at line 39 of file X86DisassemblerDecoder.h.

◆ invertedBitFromOffset3

#define invertedBitFromOffset3 (   val)    (((~(val)) >> 3) & 0x1)

Definition at line 40 of file X86DisassemblerDecoder.h.

◆ invertedBitFromOffset4

#define invertedBitFromOffset4 (   val)    (((~(val)) >> 4) & 0x1)

Definition at line 41 of file X86DisassemblerDecoder.h.

◆ invertedBitFromOffset5

#define invertedBitFromOffset5 (   val)    (((~(val)) >> 5) & 0x1)

Definition at line 42 of file X86DisassemblerDecoder.h.

◆ invertedBitFromOffset6

#define invertedBitFromOffset6 (   val)    (((~(val)) >> 6) & 0x1)

Definition at line 43 of file X86DisassemblerDecoder.h.

◆ invertedBitFromOffset7

#define invertedBitFromOffset7 (   val)    (((~(val)) >> 7) & 0x1)

Definition at line 44 of file X86DisassemblerDecoder.h.

◆ invertedFourBitsFromOffset3

#define invertedFourBitsFromOffset3 (   val)    (((~(val)) >> 3) & 0xf)

Definition at line 45 of file X86DisassemblerDecoder.h.

◆ l2FromEVEX4of4

#define l2FromEVEX4of4 (   evex)    bitFromOffset6(evex)

Definition at line 104 of file X86DisassemblerDecoder.h.

◆ lFromEVEX4of4

#define lFromEVEX4of4 (   evex)    bitFromOffset5(evex)

Definition at line 105 of file X86DisassemblerDecoder.h.

◆ lFromVEX2of2

#define lFromVEX2of2 (   vex)    bitFromOffset2(vex)

Definition at line 80 of file X86DisassemblerDecoder.h.

◆ lFromVEX3of3

#define lFromVEX3of3 (   vex)    bitFromOffset2(vex)

Definition at line 89 of file X86DisassemblerDecoder.h.

◆ lFromXOP3of3

#define lFromXOP3of3 (   xop)    bitFromOffset2(xop)

Definition at line 75 of file X86DisassemblerDecoder.h.

◆ mFromREX2

#define mFromREX2 (   rex2)    bitFromOffset7(rex2)

Definition at line 60 of file X86DisassemblerDecoder.h.

◆ mmmFromEVEX2of4

#define mmmFromEVEX2of4 (   evex)    threeBitsFromOffset0(evex)

Definition at line 97 of file X86DisassemblerDecoder.h.

◆ mmmmmFromVEX2of3

#define mmmmmFromVEX2of3 (   vex)    fiveBitsFromOffset0(vex)

Definition at line 86 of file X86DisassemblerDecoder.h.

◆ mmmmmFromXOP2of3

#define mmmmmFromXOP2of3 (   xop)    fiveBitsFromOffset0(xop)

Definition at line 72 of file X86DisassemblerDecoder.h.

◆ modFromModRM

#define modFromModRM (   modRM)    twoBitsFromOffset6(modRM)

Definition at line 47 of file X86DisassemblerDecoder.h.

◆ nfFromEVEX4of4

#define nfFromEVEX4of4 (   evex)    bitFromOffset2(evex)

Definition at line 109 of file X86DisassemblerDecoder.h.

◆ oszcFromEVEX3of4

#define oszcFromEVEX3of4 (   evex)    fourBitsFromOffset3(evex)

Definition at line 102 of file X86DisassemblerDecoder.h.

◆ ppFromEVEX3of4

#define ppFromEVEX3of4 (   evex)    twoBitsFromOffset0(evex)

Definition at line 101 of file X86DisassemblerDecoder.h.

◆ ppFromVEX2of2

#define ppFromVEX2of2 (   vex)    twoBitsFromOffset0(vex)

Definition at line 81 of file X86DisassemblerDecoder.h.

◆ ppFromVEX3of3

#define ppFromVEX3of3 (   vex)    twoBitsFromOffset0(vex)

Definition at line 90 of file X86DisassemblerDecoder.h.

◆ ppFromXOP3of3

#define ppFromXOP3of3 (   xop)    twoBitsFromOffset0(xop)

Definition at line 76 of file X86DisassemblerDecoder.h.

◆ r2FromEVEX2of4

#define r2FromEVEX2of4 (   evex)    invertedBitFromOffset4(evex)

Definition at line 95 of file X86DisassemblerDecoder.h.

◆ r2FromREX2

#define r2FromREX2 (   rex2)    bitFromOffset6(rex2)

Definition at line 61 of file X86DisassemblerDecoder.h.

◆ regFromModRM

#define regFromModRM (   modRM)    threeBitsFromOffset3(modRM)

Definition at line 48 of file X86DisassemblerDecoder.h.

◆ REGS_16BIT

#define REGS_16BIT

Definition at line 185 of file X86DisassemblerDecoder.h.

◆ REGS_32BIT

#define REGS_32BIT

Definition at line 253 of file X86DisassemblerDecoder.h.

◆ REGS_64BIT

#define REGS_64BIT

Definition at line 321 of file X86DisassemblerDecoder.h.

◆ REGS_8BIT

#define REGS_8BIT

Definition at line 113 of file X86DisassemblerDecoder.h.

◆ REGS_CONTROL

#define REGS_CONTROL
Value:
ENTRY(CR0) \
ENTRY(CR1) \
ENTRY(CR2) \
ENTRY(CR3) \
ENTRY(CR4) \
ENTRY(CR5) \
ENTRY(CR6) \
ENTRY(CR7) \
ENTRY(CR8) \
ENTRY(CR9) \
ENTRY(CR10) \
ENTRY(CR11) \
ENTRY(CR12) \
ENTRY(CR13) \
ENTRY(CR14) \
ENTRY(CR15)
#define ENTRY(x)

Definition at line 509 of file X86DisassemblerDecoder.h.

◆ REGS_DEBUG

#define REGS_DEBUG
Value:
ENTRY(DR0) \
ENTRY(DR1) \
ENTRY(DR2) \
ENTRY(DR3) \
ENTRY(DR4) \
ENTRY(DR5) \
ENTRY(DR6) \
ENTRY(DR7) \
ENTRY(DR8) \
ENTRY(DR9) \
ENTRY(DR10) \
ENTRY(DR11) \
ENTRY(DR12) \
ENTRY(DR13) \
ENTRY(DR14) \
ENTRY(DR15)

Definition at line 491 of file X86DisassemblerDecoder.h.

◆ REGS_MASK_PAIRS

#define REGS_MASK_PAIRS
Value:
ENTRY(K0_K1) \
ENTRY(K2_K3) \
ENTRY(K4_K5) \
ENTRY(K6_K7)

Definition at line 477 of file X86DisassemblerDecoder.h.

◆ REGS_MASKS

#define REGS_MASKS
Value:
ENTRY(K0) \
ENTRY(K1) \
ENTRY(K2) \
ENTRY(K3) \
ENTRY(K4) \
ENTRY(K5) \
ENTRY(K6) \
ENTRY(K7)

Definition at line 467 of file X86DisassemblerDecoder.h.

◆ REGS_MMX

#define REGS_MMX
Value:
ENTRY(MM0) \
ENTRY(MM1) \
ENTRY(MM2) \
ENTRY(MM3) \
ENTRY(MM4) \
ENTRY(MM5) \
ENTRY(MM6) \
ENTRY(MM7)

Definition at line 355 of file X86DisassemblerDecoder.h.

◆ REGS_SEGMENT

#define REGS_SEGMENT
Value:
ENTRY(ES) \
ENTRY(CS) \
ENTRY(SS) \
ENTRY(DS) \
ENTRY(FS) \
ENTRY(GS)

Definition at line 483 of file X86DisassemblerDecoder.h.

◆ REGS_TMM

#define REGS_TMM
Value:
ENTRY(TMM0) \
ENTRY(TMM1) \
ENTRY(TMM2) \
ENTRY(TMM3) \
ENTRY(TMM4) \
ENTRY(TMM5) \
ENTRY(TMM6) \
ENTRY(TMM7)

Definition at line 528 of file X86DisassemblerDecoder.h.

◆ REGS_XMM

#define REGS_XMM

Definition at line 365 of file X86DisassemblerDecoder.h.

◆ REGS_YMM

#define REGS_YMM

Definition at line 399 of file X86DisassemblerDecoder.h.

◆ REGS_ZMM

#define REGS_ZMM

Definition at line 433 of file X86DisassemblerDecoder.h.

◆ rFromEVEX2of4

#define rFromEVEX2of4 (   evex)    invertedBitFromOffset7(evex)

Definition at line 92 of file X86DisassemblerDecoder.h.

◆ rFromREX

#define rFromREX (   rex)    bitFromOffset2(rex)

Definition at line 56 of file X86DisassemblerDecoder.h.

◆ rFromREX2

#define rFromREX2 (   rex2)    bitFromOffset2(rex2)

Definition at line 65 of file X86DisassemblerDecoder.h.

◆ rFromVEX2of2

#define rFromVEX2of2 (   vex)    invertedBitFromOffset7(vex)

Definition at line 78 of file X86DisassemblerDecoder.h.

◆ rFromVEX2of3

#define rFromVEX2of3 (   vex)    invertedBitFromOffset7(vex)

Definition at line 83 of file X86DisassemblerDecoder.h.

◆ rFromXOP2of3

#define rFromXOP2of3 (   xop)    invertedBitFromOffset7(xop)

Definition at line 69 of file X86DisassemblerDecoder.h.

◆ rmFromModRM

#define rmFromModRM (   modRM)    threeBitsFromOffset0(modRM)

Definition at line 49 of file X86DisassemblerDecoder.h.

◆ scaleFromSIB

#define scaleFromSIB (   sib)    twoBitsFromOffset6(sib)

Definition at line 51 of file X86DisassemblerDecoder.h.

◆ scFromEVEX4of4

#define scFromEVEX4of4 (   evex)    fourBitsFromOffset0(evex)

Definition at line 110 of file X86DisassemblerDecoder.h.

◆ threeBitsFromOffset0

#define threeBitsFromOffset0 (   val)    ((val) & 0x7)

Definition at line 34 of file X86DisassemblerDecoder.h.

◆ threeBitsFromOffset3

#define threeBitsFromOffset3 (   val)    (((val) >> 3) & 0x7)

Definition at line 35 of file X86DisassemblerDecoder.h.

◆ twoBitsFromOffset0

#define twoBitsFromOffset0 (   val)    ((val) & 0x3)

Definition at line 32 of file X86DisassemblerDecoder.h.

◆ twoBitsFromOffset6

#define twoBitsFromOffset6 (   val)    (((val) >> 6) & 0x3)

Definition at line 33 of file X86DisassemblerDecoder.h.

◆ uFromEVEX3of4

#define uFromEVEX3of4 (   evex)    invertedBitFromOffset2(evex)

Definition at line 100 of file X86DisassemblerDecoder.h.

◆ v2FromEVEX4of4

#define v2FromEVEX4of4 (   evex)    invertedBitFromOffset3(evex)

Definition at line 107 of file X86DisassemblerDecoder.h.

◆ vvvvFromEVEX3of4

#define vvvvFromEVEX3of4 (   evex)    invertedFourBitsFromOffset3(evex)

Definition at line 99 of file X86DisassemblerDecoder.h.

◆ vvvvFromVEX2of2

#define vvvvFromVEX2of2 (   vex)    invertedFourBitsFromOffset3(vex)

Definition at line 79 of file X86DisassemblerDecoder.h.

◆ vvvvFromVEX3of3

#define vvvvFromVEX3of3 (   vex)    invertedFourBitsFromOffset3(vex)

Definition at line 88 of file X86DisassemblerDecoder.h.

◆ vvvvFromXOP3of3

#define vvvvFromXOP3of3 (   xop)    invertedFourBitsFromOffset3(xop)

Definition at line 74 of file X86DisassemblerDecoder.h.

◆ wFromEVEX3of4

#define wFromEVEX3of4 (   evex)    bitFromOffset7(evex)

Definition at line 98 of file X86DisassemblerDecoder.h.

◆ wFromREX

#define wFromREX (   rex)    bitFromOffset3(rex)

Definition at line 55 of file X86DisassemblerDecoder.h.

◆ wFromREX2

#define wFromREX2 (   rex2)    bitFromOffset3(rex2)

Definition at line 64 of file X86DisassemblerDecoder.h.

◆ wFromVEX3of3

#define wFromVEX3of3 (   vex)    bitFromOffset7(vex)

Definition at line 87 of file X86DisassemblerDecoder.h.

◆ wFromXOP3of3

#define wFromXOP3of3 (   xop)    bitFromOffset7(xop)

Definition at line 73 of file X86DisassemblerDecoder.h.

◆ x2FromREX2

#define x2FromREX2 (   rex2)    bitFromOffset5(rex2)

Definition at line 62 of file X86DisassemblerDecoder.h.

◆ xFromEVEX2of4

#define xFromEVEX2of4 (   evex)    invertedBitFromOffset6(evex)

Definition at line 93 of file X86DisassemblerDecoder.h.

◆ xFromREX

#define xFromREX (   rex)    bitFromOffset1(rex)

Definition at line 57 of file X86DisassemblerDecoder.h.

◆ xFromREX2

#define xFromREX2 (   rex2)    bitFromOffset1(rex2)

Definition at line 66 of file X86DisassemblerDecoder.h.

◆ xFromVEX2of3

#define xFromVEX2of3 (   vex)    invertedBitFromOffset6(vex)

Definition at line 84 of file X86DisassemblerDecoder.h.

◆ xFromXOP2of3

#define xFromXOP2of3 (   xop)    invertedBitFromOffset6(xop)

Definition at line 70 of file X86DisassemblerDecoder.h.

◆ zFromEVEX4of4

#define zFromEVEX4of4 (   evex)    bitFromOffset7(evex)

Definition at line 103 of file X86DisassemblerDecoder.h.