Home
last modified time | relevance | path

Searched refs:modRM (Results 1 – 4 of 4) sorted by relevance

/external/llvm/utils/TableGen/
DX86ModRMFilters.h46 virtual bool accepts(uint8_t modRM) const = 0;
59 bool accepts(uint8_t modRM) const override { in accepts() argument
82 bool accepts(uint8_t modRM) const override { in accepts() argument
83 return (R == ((modRM & 0xc0) == 0xc0)); in accepts()
105 bool accepts(uint8_t modRM) const override { in accepts() argument
106 return (((R && ((modRM & 0xc0) == 0xc0)) || in accepts()
107 (!R && ((modRM & 0xc0) != 0xc0))) && in accepts()
108 (((modRM & 0x38) >> 3) == NNN)); in accepts()
121 ExactFilter(uint8_t modRM) : in ExactFilter() argument
123 ModRM(modRM) { in ExactFilter()
[all …]
/external/llvm/lib/Target/X86/Disassembler/
DX86DisassemblerDecoder.h26 #define modFromModRM(modRM) (((modRM) & 0xc0) >> 6) argument
27 #define regFromModRM(modRM) (((modRM) & 0x38) >> 3) argument
28 #define rmFromModRM(modRM) ((modRM) & 0x7) argument
599 uint8_t modRM; member
DX86DisassemblerDecoder.cpp126 uint8_t modRM) { in decode() argument
160 if (modFromModRM(modRM) == 0x3) in decode()
164 if (modFromModRM(modRM) == 0x3) in decode()
165 return modRMTable[dec->instructionIDs+((modRM & 0x38) >> 3)+8]; in decode()
166 return modRMTable[dec->instructionIDs+((modRM & 0x38) >> 3)]; in decode()
168 if (modFromModRM(modRM) == 0x3) in decode()
169 return modRMTable[dec->instructionIDs+(modRM & 0x3f)+8]; in decode()
170 return modRMTable[dec->instructionIDs+((modRM & 0x38) >> 3)]; in decode()
172 return modRMTable[dec->instructionIDs+modRM]; in decode()
813 insn->modRM); in getIDWithAttrMask()
[all …]
DX86Disassembler.cpp946 translateFPRegister(mcInst, insn.modRM & 7); in translateOperand()