Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DX86ModRMFilters.h46 virtual bool accepts(uint8_t modRM) const = 0;
58 bool accepts(uint8_t modRM) const override { return true; } in accepts() argument
77 bool accepts(uint8_t modRM) const override { in accepts() argument
78 return (R == ((modRM & 0xc0) == 0xc0)); in accepts()
97 bool accepts(uint8_t modRM) const override { in accepts() argument
99 ((R && ((modRM & 0xc0) == 0xc0)) || (!R && ((modRM & 0xc0) != 0xc0))) && in accepts()
100 (((modRM & 0x38) >> 3) == NNN)); in accepts()
119 bool accepts(uint8_t modRM) const override { in accepts() argument
120 return ((R && ((modRM & 0xc0) == 0xc0)) && ((modRM & 0x7) == NNN)); in accepts()
133 ExactFilter(uint8_t modRM) : ModRM(modRM) {} in ExactFilter() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/Disassembler/
H A DX86Disassembler.cpp124 uint8_t opcode, uint8_t modRM) { in decode() argument
174 if (modFromModRM(modRM) == 0x3) in decode()
178 if (modFromModRM(modRM) == 0x3) in decode()
179 return modRMTable[dec->instructionIDs + ((modRM & 0x38) >> 3) + 8]; in decode()
180 return modRMTable[dec->instructionIDs + ((modRM & 0x38) >> 3)]; in decode()
182 if (modFromModRM(modRM) == 0x3) in decode()
183 return modRMTable[dec->instructionIDs + (modRM & 0x3f) + 8]; in decode()
184 return modRMTable[dec->instructionIDs + ((modRM & 0x38) >> 3)]; in decode()
186 return modRMTable[dec->instructionIDs + modRM]; in decode()
584 switch (modFromModRM(insn->modRM)) { in readSIB()
[all …]
H A DX86DisassemblerDecoder.h47 #define modFromModRM(modRM) twoBitsFromOffset6(modRM) argument
48 #define regFromModRM(modRM) threeBitsFromOffset3(modRM) argument
49 #define rmFromModRM(modRM) threeBitsFromOffset0(modRM) argument
754 uint8_t modRM; member