Searched defs:modRM (Results 1 - 3 of 3) sorted by relevance

/external/llvm/utils/TableGen/
H A DX86ModRMFilters.h46 virtual bool accepts(uint8_t modRM) const = 0;
59 bool accepts(uint8_t modRM) const override {
82 bool accepts(uint8_t modRM) const override {
83 return (R == ((modRM & 0xc0) == 0xc0));
105 bool accepts(uint8_t modRM) const override {
106 return (((R && ((modRM & 0xc0) == 0xc0)) ||
107 (!R && ((modRM & 0xc0) != 0xc0))) &&
108 (((modRM & 0x38) >> 3) == NNN));
120 /// \param modRM The required value of the full ModR/M byte.
121 ExactFilter(uint8_t modRM) argument
[all...]
/external/llvm/lib/Target/X86/Disassembler/
H A DX86DisassemblerDecoder.cpp120 * @param modRM - The ModR/M byte if required, or any value if not.
126 uint8_t modRM) {
160 if (modFromModRM(modRM) == 0x3)
164 if (modFromModRM(modRM) == 0x3)
165 return modRMTable[dec->instructionIDs+((modRM & 0x38) >> 3)+8];
166 return modRMTable[dec->instructionIDs+((modRM & 0x38) >> 3)];
168 if (modFromModRM(modRM) == 0x3)
169 return modRMTable[dec->instructionIDs+(modRM & 0x3f)+8];
170 return modRMTable[dec->instructionIDs+((modRM & 0x38) >> 3)];
172 return modRMTable[dec->instructionIDs+modRM];
123 decode(OpcodeType type, InstructionContext insnContext, uint8_t opcode, uint8_t modRM) argument
[all...]
H A DX86DisassemblerDecoder.h26 #define modFromModRM(modRM) (((modRM) & 0xc0) >> 6)
27 #define regFromModRM(modRM) (((modRM) & 0x38) >> 3)
28 #define rmFromModRM(modRM) ((modRM) & 0x7)
586 uint8_t modRM; member in struct:llvm::X86Disassembler::InternalInstruction

Completed in 75 milliseconds