Lines Matching refs:modrm
127 ModRM& modrm = *(ModRM*)stream; in encode_aux() local
136 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() local
170 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() local
484 modrm.mod = 0; // 00 - .. in encodeModRM()
485 modrm.rm = 4; // 100 - have SIB in encodeModRM()
493 modrm.mod = 0; in encodeModRM()
494 modrm.rm = 5; in encodeModRM()
513 modrm.mod = 0; // mod=00, no disp et all in encodeModRM()
516 modrm.mod = 1; // mod=01, use disp8 in encodeModRM()
522 modrm.mod = 2; // mod=10, use disp32 in encodeModRM()
527 modrm.rm = getHWRegIndex(op.base()); in encodeModRM()
546 modrm.rm = 4; // r/m = 100, means 'we have SIB here' in encodeModRM()
552 modrm.mod = 0; // mod=00 - here it means 'no base, but disp32' in encodeModRM()
574 modrm.mod = 0; // mod=00, no disp in encodeModRM()
577 modrm.mod = 1; // mod=01, use disp8 in encodeModRM()
583 modrm.mod = 2; // mod=10, use disp32 in encodeModRM()