Searched refs:modrm (Results 1 – 2 of 2) sorted by relevance
208 const ModRM& modrm = *(ModRM*)*pbuf; in decode_aux() local219 reg = getRegName(okind, opndDesc2.size, EXTEND_REG(modrm.reg, r)); in decode_aux()224 reg = getRegName(okind, opndDesc.size, EXTEND_REG(modrm.reg, r)); in decode_aux()305 const ModRM& modrm = *(ModRM*)*pbuf; in decode_aux() local306 if (modrm.reg != byte) { in decode_aux()463 const ModRM& modrm = *(ModRM*)*pbuf; in decodeModRM() local474 if (modrm.mod == 3) { in decodeModRM()478 RegName reg = getRegName(okind, opndDesc.size, EXTEND_REG(modrm.rm, b)); in decodeModRM()486 if (modrm.rm == 4) { in decodeModRM()498 if (sib.base != 5 || modrm.mod != 0) { in decodeModRM()[all …]
127 ModRM& modrm = *(ModRM*)stream; in encode_aux() local136 modrm.mod = 3; // 11 in encode_aux()137 modrm.rm = getHWRegIndex(opnds[memidx].reg()); in encode_aux()145 modrm.reg = getHWRegIndex(opnds[regidx].reg()); in encode_aux()163 ModRM& modrm = *(ModRM*)stream; in encode_aux() local170 modrm.mod = 3; // 11 in encode_aux()171 modrm.rm = getHWRegIndex(opnds[idx].reg()); in encode_aux()179 modrm.reg = (char)lowByte; in encode_aux()466 ModRM& modrm = *(ModRM*)stream; in encodeModRM() local484 modrm.mod = 0; // 00 - .. in encodeModRM()[all …]