Searched refs:modRM (Results 1 – 7 of 7) sorted by relevance
45 virtual bool accepts(uint8_t modRM) const = 0;57 bool accepts(uint8_t modRM) const { in accepts() argument80 bool accepts(uint8_t modRM) const { in accepts() argument81 if (R == ((modRM & 0xc0) == 0xc0)) in accepts()110 bool accepts(uint8_t modRM) const { in accepts() argument111 if ((C0_FF && modRM >= 0xc0 && (modRM == NNN_or_ModRM)) || in accepts()112 (!C0_FF && modRM < 0xc0 && ((modRM & 0x38) >> 3) == NNN_or_ModRM)) in accepts()131 AddRegEscapeFilter(uint8_t modRM) : ModRM(modRM) { in AddRegEscapeFilter() argument134 bool accepts(uint8_t modRM) const { in accepts() argument135 if (modRM >= ModRM && modRM < ModRM + 8) in accepts()[all …]
46 virtual bool accepts(uint8_t modRM) const = 0;59 bool accepts(uint8_t modRM) const override { in accepts() argument82 bool accepts(uint8_t modRM) const override { in accepts() argument83 return (R == ((modRM & 0xc0) == 0xc0)); in accepts()105 bool accepts(uint8_t modRM) const override { in accepts() argument106 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() argument123 ModRM(modRM) { in ExactFilter()[all …]
37 #define modFromModRM(modRM) (((modRM) & 0xc0) >> 6) argument38 #define regFromModRM(modRM) (((modRM) & 0x38) >> 3) argument39 #define rmFromModRM(modRM) ((modRM) & 0x7) argument495 uint8_t modRM; member
105 uint8_t modRM) { in decode() argument139 if (modFromModRM(modRM) == 0x3) in decode()144 return dec->instructionIDs[modRM]; in decode()668 insn->modRM); in getIDWithAttrMask()968 switch (modFromModRM(insn->modRM)) { in readSIB()1055 if (consumeByte(insn, &insn->modRM)) in readModRM()1059 mod = modFromModRM(insn->modRM); in readModRM()1060 rm = rmFromModRM(insn->modRM); in readModRM()1061 reg = regFromModRM(insn->modRM); in readModRM()1327 insn->opcodeModifier = insn->modRM - insn->spec->modifierBase; in readOpcodeModifier()
26 #define modFromModRM(modRM) (((modRM) & 0xc0) >> 6) argument27 #define regFromModRM(modRM) (((modRM) & 0x38) >> 3) argument28 #define rmFromModRM(modRM) ((modRM) & 0x7) argument606 uint8_t modRM; member
125 uint8_t modRM) { in decode() argument159 if (modFromModRM(modRM) == 0x3) in decode()163 if (modFromModRM(modRM) == 0x3) in decode()164 return modRMTable[dec->instructionIDs+((modRM & 0x38) >> 3)+8]; in decode()165 return modRMTable[dec->instructionIDs+((modRM & 0x38) >> 3)]; in decode()167 if (modFromModRM(modRM) == 0x3) in decode()168 return modRMTable[dec->instructionIDs+(modRM & 0x3f)+8]; in decode()169 return modRMTable[dec->instructionIDs+((modRM & 0x38) >> 3)]; in decode()171 return modRMTable[dec->instructionIDs+modRM]; in decode()810 insn->modRM); in getIDWithAttrMask()[all …]
1010 translateFPRegister(mcInst, insn.modRM & 7); in translateOperand()