Lines Matching refs:d32
1347 IRJumpKind kind, Addr32 d32 ) in jmp_lit() argument
1355 stmt( IRStmt_Put( OFFB_EIP, mkU32(d32) ) ); in jmp_lit()
2284 Int am_sz, Int d_sz, Int sz, UInt d32 ) in dis_Grp1() argument
2310 assign(src, mkU(ty,d32 & mask)); in dis_Grp1()
2331 DIP("%s%c $0x%x, %s\n", nameGrp1(gregOfRM(modrm)), nameISize(sz), d32, in dis_Grp1()
2337 assign(src, mkU(ty,d32 & mask)); in dis_Grp1()
2379 d32, dis_buf); in dis_Grp1()
2804 UInt d32; in dis_Grp3() local
2826 delta++; d32 = getUDisp(sz, delta); delta += sz; in dis_Grp3()
2830 mkU(ty,d32))); in dis_Grp3()
2832 DIP("test%c $0x%x, %s\n", nameISize(sz), d32, in dis_Grp3()
2897 d32 = getUDisp(sz, delta); delta += sz; in dis_Grp3()
2900 mkexpr(t1), mkU(ty,d32))); in dis_Grp3()
2902 DIP("test%c $0x%x, %s\n", nameISize(sz), d32, dis_buf); in dis_Grp3()
3368 Int d32, alen; in dis_imul_I_E_G() local
3386 d32 = getSDisp(litsize,delta); in dis_imul_I_E_G()
3389 if (size == 1) d32 &= 0xFF; in dis_imul_I_E_G()
3390 if (size == 2) d32 &= 0xFFFF; in dis_imul_I_E_G()
3392 assign(tl, mkU(ty,d32)); in dis_imul_I_E_G()
3400 DIP("imul %d, %s, %s\n", d32, in dis_imul_I_E_G()
6952 void dis_ret ( /*MOD*/DisResult* dres, UInt d32 ) in dis_ret() argument
6958 putIReg(4, R_ESP,binop(Iop_Add32, mkexpr(t1), mkU32(4+d32))); in dis_ret()
8086 UInt d32; in disInstr_X86_WRK() local
12568 d32 = (UInt)insn[3+1]; in disInstr_X86_WRK()
12570 DIP("palignr $%d,%s,%s\n", (Int)d32, in disInstr_X86_WRK()
12576 d32 = (UInt)insn[3+alen]; in disInstr_X86_WRK()
12578 DIP("palignr $%d%s,%s\n", (Int)d32, in disInstr_X86_WRK()
12583 if (d32 == 0) { in disInstr_X86_WRK()
12586 else if (d32 >= 1 && d32 <= 7) { in disInstr_X86_WRK()
12589 binop(Iop_Shr64, mkexpr(sV), mkU8(8*d32)), in disInstr_X86_WRK()
12590 binop(Iop_Shl64, mkexpr(dV), mkU8(8*(8-d32)) in disInstr_X86_WRK()
12593 else if (d32 == 8) { in disInstr_X86_WRK()
12596 else if (d32 >= 9 && d32 <= 15) { in disInstr_X86_WRK()
12597 assign( res, binop(Iop_Shr64, mkexpr(dV), mkU8(8*(d32-8))) ); in disInstr_X86_WRK()
12599 else if (d32 >= 16 && d32 <= 255) { in disInstr_X86_WRK()
12626 d32 = (UInt)insn[3+1]; in disInstr_X86_WRK()
12628 DIP("palignr $%d,%s,%s\n", (Int)d32, in disInstr_X86_WRK()
12635 d32 = (UInt)insn[3+alen]; in disInstr_X86_WRK()
12637 DIP("palignr $%d,%s,%s\n", (Int)d32, in disInstr_X86_WRK()
12647 if (d32 == 0) { in disInstr_X86_WRK()
12651 else if (d32 >= 1 && d32 <= 7) { in disInstr_X86_WRK()
12652 assign( rHi, dis_PALIGNR_XMM_helper(dLo, sHi, d32) ); in disInstr_X86_WRK()
12653 assign( rLo, dis_PALIGNR_XMM_helper(sHi, sLo, d32) ); in disInstr_X86_WRK()
12655 else if (d32 == 8) { in disInstr_X86_WRK()
12659 else if (d32 >= 9 && d32 <= 15) { in disInstr_X86_WRK()
12660 assign( rHi, dis_PALIGNR_XMM_helper(dHi, dLo, d32-8) ); in disInstr_X86_WRK()
12661 assign( rLo, dis_PALIGNR_XMM_helper(dLo, sHi, d32-8) ); in disInstr_X86_WRK()
12663 else if (d32 == 16) { in disInstr_X86_WRK()
12667 else if (d32 >= 17 && d32 <= 23) { in disInstr_X86_WRK()
12668 assign( rHi, binop(Iop_Shr64, mkexpr(dHi), mkU8(8*(d32-16))) ); in disInstr_X86_WRK()
12669 assign( rLo, dis_PALIGNR_XMM_helper(dHi, dLo, d32-16) ); in disInstr_X86_WRK()
12671 else if (d32 == 24) { in disInstr_X86_WRK()
12675 else if (d32 >= 25 && d32 <= 31) { in disInstr_X86_WRK()
12677 assign( rLo, binop(Iop_Shr64, mkexpr(dHi), mkU8(8*(d32-24))) ); in disInstr_X86_WRK()
12679 else if (d32 >= 32 && d32 <= 255) { in disInstr_X86_WRK()
13005 d32 = (((Addr32)guest_EIP_bbstart)+delta+1) + getSDisp8(delta); in disInstr_X86_WRK()
13010 IRConst_U32(d32), in disInstr_X86_WRK()
13013 DIP("jcxz 0x%x\n", d32); in disInstr_X86_WRK()
13032 d32 = getUDisp16(delta); in disInstr_X86_WRK()
13034 dis_ret(&dres, d32); in disInstr_X86_WRK()
13035 DIP("ret %d\n", (Int)d32); in disInstr_X86_WRK()
13068 d32 = getUDisp32(delta); delta += 4; in disInstr_X86_WRK()
13069 d32 += (guest_EIP_bbstart+delta); in disInstr_X86_WRK()
13071 if (d32 == guest_EIP_bbstart+delta && getIByte(delta) >= 0x58 in disInstr_X86_WRK()
13083 DIP("call 0x%x ; popl %s\n",d32,nameIReg(4,archReg)); in disInstr_X86_WRK()
13090 if (resteerOkFn( callback_opaque, (Addr32)d32 )) { in disInstr_X86_WRK()
13093 dres.continueAt = (Addr32)d32; in disInstr_X86_WRK()
13095 jmp_lit(&dres, Ijk_Call, d32); in disInstr_X86_WRK()
13098 DIP("call 0x%x\n",d32); in disInstr_X86_WRK()
13196 d32 = getIByte(delta); delta++; in disInstr_X86_WRK()
13197 if (sz != 4 || d32 != 10) goto decode_failure; in disInstr_X86_WRK()
13346 d32 = getIByte(delta); delta++; in disInstr_X86_WRK()
13361 if (d32 >= 0x3F && d32 <= 0x4F) { in disInstr_X86_WRK()
13364 DIP("int $0x%x\n", (Int)d32); in disInstr_X86_WRK()
13372 if (d32 == 0x80) { in disInstr_X86_WRK()
13380 if (d32 == 0x81) { in disInstr_X86_WRK()
13388 if (d32 == 0x82) { in disInstr_X86_WRK()
13403 d32 = (((Addr32)guest_EIP_bbstart)+delta+1) + getSDisp8(delta); in disInstr_X86_WRK()
13405 if (resteerOkFn( callback_opaque, (Addr32)d32) ) { in disInstr_X86_WRK()
13407 dres.continueAt = (Addr32)d32; in disInstr_X86_WRK()
13409 jmp_lit(&dres, Ijk_Boring, d32); in disInstr_X86_WRK()
13412 DIP("jmp-8 0x%x\n", d32); in disInstr_X86_WRK()
13417 d32 = (((Addr32)guest_EIP_bbstart)+delta+sz) + getSDisp(sz,delta); in disInstr_X86_WRK()
13419 if (resteerOkFn( callback_opaque, (Addr32)d32) ) { in disInstr_X86_WRK()
13421 dres.continueAt = (Addr32)d32; in disInstr_X86_WRK()
13423 jmp_lit(&dres, Ijk_Boring, d32); in disInstr_X86_WRK()
13426 DIP("jmp 0x%x\n", d32); in disInstr_X86_WRK()
13449 d32 = (((Addr32)guest_EIP_bbstart)+delta+1) + jmpDelta; in disInstr_X86_WRK()
13453 && (Addr32)d32 != (Addr32)guest_EIP_bbstart in disInstr_X86_WRK()
13455 && resteerOkFn( callback_opaque, (Addr32)d32) ) { in disInstr_X86_WRK()
13468 dres.continueAt = (Addr32)d32; in disInstr_X86_WRK()
13474 && (Addr32)d32 != (Addr32)guest_EIP_bbstart in disInstr_X86_WRK()
13485 IRConst_U32(d32), in disInstr_X86_WRK()
13495 (Addr32)(guest_EIP_bbstart+delta), d32); in disInstr_X86_WRK()
13498 DIP("j%s-8 0x%x %s\n", name_X86Condcode(opc - 0x70), d32, comment); in disInstr_X86_WRK()
13504 d32 = (((Addr32)guest_EIP_bbstart)+delta+1) + getSDisp8(delta); in disInstr_X86_WRK()
13509 IRConst_U32(d32), in disInstr_X86_WRK()
13512 DIP("jecxz 0x%x\n", d32); in disInstr_X86_WRK()
13528 d32 = (((Addr32)guest_EIP_bbstart)+delta+1) + getSDisp8(delta); in disInstr_X86_WRK()
13551 stmt( IRStmt_Exit(cond, Ijk_Boring, IRConst_U32(d32), OFFB_EIP) ); in disInstr_X86_WRK()
13553 DIP("loop%s 0x%x\n", xtra, d32); in disInstr_X86_WRK()
13612 d32 = getUDisp32(delta); delta += 4; in disInstr_X86_WRK()
13615 assign( addr, handleSegOverride(sorb, mkU32(d32)) ); in disInstr_X86_WRK()
13618 d32, nameIReg(sz,R_EAX)); in disInstr_X86_WRK()
13625 d32 = getUDisp32(delta); delta += 4; in disInstr_X86_WRK()
13628 assign( addr, handleSegOverride(sorb, mkU32(d32)) ); in disInstr_X86_WRK()
13631 sorbTxt(sorb), d32); in disInstr_X86_WRK()
13642 d32 = getIByte(delta); delta += 1; in disInstr_X86_WRK()
13643 putIReg(1, opc-0xB0, mkU8(d32)); in disInstr_X86_WRK()
13644 DIP("movb $0x%x,%s\n", d32, nameIReg(1,opc-0xB0)); in disInstr_X86_WRK()
13655 d32 = getUDisp(sz,delta); delta += sz; in disInstr_X86_WRK()
13656 putIReg(sz, opc-0xB8, mkU(szToITy(sz), d32)); in disInstr_X86_WRK()
13657 DIP("mov%c $0x%x,%s\n", nameISize(sz), d32, nameIReg(sz,opc-0xB8)); in disInstr_X86_WRK()
13671 d32 = getUDisp(sz,delta); delta += sz; in disInstr_X86_WRK()
13672 putIReg(sz, eregOfRM(modrm), mkU(szToITy(sz), d32)); in disInstr_X86_WRK()
13673 DIP("mov%c $0x%x, %s\n", nameISize(sz), d32, in disInstr_X86_WRK()
13678 d32 = getUDisp(sz,delta); delta += sz; in disInstr_X86_WRK()
13679 storeLE(mkexpr(addr), mkU(szToITy(sz), d32)); in disInstr_X86_WRK()
13680 DIP("mov%c $0x%x, %s\n", nameISize(sz), d32, dis_buf); in disInstr_X86_WRK()
14017 d32 = getUDisp(sz,delta); delta += sz; in disInstr_X86_WRK()
14020 d32 = getSDisp8(delta); delta += 1; in disInstr_X86_WRK()
14030 d32 &= 0xFFFF; in disInstr_X86_WRK()
14031 storeLE( mkexpr(t1), mkU(ty,d32) ); in disInstr_X86_WRK()
14032 DIP("push%c $0x%x\n", nameISize(sz), d32); in disInstr_X86_WRK()
14515 d32 = getUChar(delta + am_sz); in disInstr_X86_WRK()
14516 delta = dis_Grp1 ( sorb, pfx_lock, delta, modrm, am_sz, d_sz, sz, d32 ); in disInstr_X86_WRK()
14523 d32 = getUDisp(d_sz, delta + am_sz); in disInstr_X86_WRK()
14524 delta = dis_Grp1 ( sorb, pfx_lock, delta, modrm, am_sz, d_sz, sz, d32 ); in disInstr_X86_WRK()
14531 d32 = getSDisp8(delta + am_sz); in disInstr_X86_WRK()
14532 delta = dis_Grp1 ( sorb, pfx_lock, delta, modrm, am_sz, d_sz, sz, d32 ); in disInstr_X86_WRK()
14542 d32 = getUChar(delta + am_sz); in disInstr_X86_WRK()
14545 mkU8(d32 & 0xFF), NULL, &decode_OK ); in disInstr_X86_WRK()
14555 d32 = getUChar(delta + am_sz); in disInstr_X86_WRK()
14557 mkU8(d32 & 0xFF), NULL, &decode_OK ); in disInstr_X86_WRK()
14567 d32 = 1; in disInstr_X86_WRK()
14570 mkU8(d32), NULL, &decode_OK ); in disInstr_X86_WRK()
14580 d32 = 1; in disInstr_X86_WRK()
14582 mkU8(d32), NULL, &decode_OK ); in disInstr_X86_WRK()
14660 d32 = getSDisp8(delta + am_sz); in disInstr_X86_WRK()
14662 am_sz, sz, d32, &decode_OK ); in disInstr_X86_WRK()
15013 d32 = (((Addr32)guest_EIP_bbstart)+delta+4) + jmpDelta; in disInstr_X86_WRK()
15017 && (Addr32)d32 != (Addr32)guest_EIP_bbstart in disInstr_X86_WRK()
15019 && resteerOkFn( callback_opaque, (Addr32)d32) ) { in disInstr_X86_WRK()
15033 dres.continueAt = (Addr32)d32; in disInstr_X86_WRK()
15039 && (Addr32)d32 != (Addr32)guest_EIP_bbstart in disInstr_X86_WRK()
15050 IRConst_U32(d32), in disInstr_X86_WRK()
15060 (Addr32)(guest_EIP_bbstart+delta), d32); in disInstr_X86_WRK()
15063 DIP("j%s-32 0x%x %s\n", name_X86Condcode(opc - 0x80), d32, comment); in disInstr_X86_WRK()
15135 d32 = delta + lengthAMode(delta); in disInstr_X86_WRK()
15136 vex_sprintf(dis_buf, "$%d", getIByte(d32)); in disInstr_X86_WRK()
15139 mkU8(getIByte(d32)), True, /* literal */ in disInstr_X86_WRK()
15152 d32 = delta + lengthAMode(delta); in disInstr_X86_WRK()
15153 vex_sprintf(dis_buf, "$%d", getIByte(d32)); in disInstr_X86_WRK()
15156 mkU8(getIByte(d32)), True, /* literal */ in disInstr_X86_WRK()