Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/utils/TableGen/
H A 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()
108 (((modRM & 0x38) >> 3) == NNN)); in accepts()
121 ExactFilter(uint8_t modRM) : in ExactFilter() argument
123 ModRM(modRM) { in ExactFilter()
126 bool accepts(uint8_t modRM) const override { in accepts() argument
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/X86/Disassembler/
H A DX86DisassemblerDecoder.h26 #define modFromModRM(modRM) (((modRM) & 0xc0) >> 6) argument
27 #define regFromModRM(modRM) (((modRM) & 0x38) >> 3) argument
28 #define rmFromModRM(modRM) ((modRM) & 0x7) argument
610 uint8_t modRM; member
H A DX86DisassemblerDecoder.cpp128 uint8_t modRM) { in decode() argument
165 if (modFromModRM(modRM) == 0x3) in decode()
169 if (modFromModRM(modRM) == 0x3) in decode()
173 if (modFromModRM(modRM) == 0x3) in decode()
177 return modRMTable[dec->instructionIDs+modRM]; in decode()
790 insn->modRM); in getIDWithAttrMask()
1204 switch (modFromModRM(insn->modRM)) { in readSIB()
1290 if (consumeByte(insn, &insn->modRM)) in readModRM()
1294 mod = modFromModRM(insn->modRM); in readModRM()
1295 rm = rmFromModRM(insn->modRM); in readModRM()
[all …]
H A DX86Disassembler.cpp991 translateFPRegister(mcInst, insn.modRM & 7); in translateOperand()
/freebsd-12.1/contrib/gcc/config/i386/
H A Dpredicates.md825 ;; by the modRM array.
H A Di386.md20044 ;; represented using a modRM byte. The XOR replacement is long decoded,