Home
last modified time | relevance | path

Searched refs:mkU8 (Results 1 – 17 of 17) sorted by relevance

/external/valgrind/VEX/priv/
Dguest_tilegx_toIR.c98 static IRExpr *mkU8 ( UInt i ) in mkU8() function
240 (binop(Iop_Sar64, binop(Iop_Shl64, _e, mkU8(63 - (_n))), mkU8(63 - (_n))))))
606 mkU8(imm0)), in disInstr_TILEGX_WRK()
616 mkU8(imm)), in disInstr_TILEGX_WRK()
619 mkU8(64 - imm))), in disInstr_TILEGX_WRK()
640 mkU8(imm)), in disInstr_TILEGX_WRK()
643 mkU8(64 - imm))), in disInstr_TILEGX_WRK()
666 mkU8(imm)), in disInstr_TILEGX_WRK()
669 mkU8(64 - imm)))); in disInstr_TILEGX_WRK()
899 mkU8(3))); in disInstr_TILEGX_WRK()
[all …]
Dguest_mips_toIR.c523 putIReg(rd, binop(op, getIReg(rt), mkU8(sa)));
543 binop(Iop_Shr32, getFCSR(), mkU8(23)), \
544 binop(Iop_Shr32, getFCSR(), mkU8(24+cc))), \
850 static IRExpr *mkU8(UInt i) in mkU8() function
944 return binop(Iop_Or32, binop(Iop_Shl32, src, mkU8(32 - rot)), in genROR32()
945 binop(Iop_Shr32, src, mkU8(rot))); in genROR32()
954 assign(t1, binop(Iop_Sub8, mkU8(32), mkexpr(t0))); in genRORV32()
1096 binop(Iop_Shr64, getIReg(reg), mkU8(pos)), in getByteFromReg()
1100 binop(Iop_Shr32, getIReg(reg), mkU8(pos)), in getByteFromReg()
1479 putFCSR(binop(Iop_Or32, getFCSR(), binop(Iop_Shl32, e, mkU8(23)))); in setFPUCondCode()
[all …]
Dguest_ppc_toIR.c631 static IRExpr* mkU8 ( UChar i ) in mkU8() function
703 assign( ones8x16, unop(Iop_Dup8x16, mkU8(0x1)) ); in expand8Ux16()
706 binop(Iop_ShrV128, vIn, mkU8(8))) ); in expand8Ux16()
721 assign( ones8x16, unop(Iop_Dup8x16, mkU8(0x1)) ); in expand8Sx16()
724 binop(Iop_ShrV128, vIn, mkU8(8))) ); in expand8Sx16()
742 binop(Iop_ShrV128, vIn, mkU8(16))) ); in expand16Ux8()
760 binop(Iop_ShrV128, vIn, mkU8(16))) ); in expand16Sx8()
906 binop( Iop_Sar32, mkexpr(lo32), mkU8(31))), in mkQNarrow64Sto32()
911 binop(Iop_Shr32, mkexpr(hi32), mkU8(31)))); in mkQNarrow64Sto32()
971 binop(Iop_ShrV128, expr_vA, mkU8(8)), \
[all …]
Dguest_arm_helpers.c562 # define mkU8(_n) IRExpr_Const(IRConst_U8(_n)) in guest_arm_spechelper() macro
690 binop(Iop_Shr32, cc_dep1, mkU8(31)), in guest_arm_spechelper()
697 binop(Iop_Shr32, cc_dep1, mkU8(31)), in guest_arm_spechelper()
708 mkU8(ARMG_CC_SHIFT_Z)), in guest_arm_spechelper()
716 mkU8(ARMG_CC_SHIFT_Z)), in guest_arm_spechelper()
726 mkU8(ARMG_CC_SHIFT_N)), in guest_arm_spechelper()
734 mkU8(ARMG_CC_SHIFT_N)), in guest_arm_spechelper()
742 IRExpr* n = binop(Iop_Shr32, cc_dep1, mkU8(ARMG_CC_SHIFT_N)); in guest_arm_spechelper()
743 IRExpr* v = binop(Iop_Shr32, cc_dep1, mkU8(ARMG_CC_SHIFT_V)); in guest_arm_spechelper()
744 IRExpr* z = binop(Iop_Shr32, cc_dep1, mkU8(ARMG_CC_SHIFT_Z)); in guest_arm_spechelper()
[all …]
Dguest_arm_toIR.c287 static IRExpr* mkU8 ( UInt i ) in mkU8() function
399 binop(Iop_Shl32, mkexpr(src), mkU8(32 - rot)), in genROR32()
400 binop(Iop_Shr32, mkexpr(src), mkU8(rot))); in genROR32()
989 assign(masked, binop(Iop_Shr32, e, mkU8(lowbits_to_ignore))); in put_GEFLAG32()
1075 binop(Iop_Shr32, IRExpr_Get(OFFB_FPSCR, Ity_I32), mkU8(22))); in mk_get_IR_rounding_mode()
1080 binop(Iop_Shl32, mkexpr(armEncd), mkU8(1)), in mk_get_IR_rounding_mode()
1083 binop(Iop_Shr32, mkexpr(armEncd), mkU8(1)), in mk_get_IR_rounding_mode()
1257 args1 = mkIRExprVec_4 ( binop(Iop_GetElem32x4, resL, mkU8(0)), in mk_armg_calculate_flag_qc()
1258 binop(Iop_GetElem32x4, resL, mkU8(1)), in mk_armg_calculate_flag_qc()
1259 binop(Iop_GetElem32x4, resR, mkU8(0)), in mk_armg_calculate_flag_qc()
[all …]
Dguest_x86_toIR.c663 static IRExpr* mkU8 ( UInt i ) in mkU8() function
687 if (ty == Ity_I8) return mkU8(i); in mkU()
987 assign( guardB, binop(Iop_CmpNE8, mkexpr(guard), mkU8(0)) ); in setFlags_DEP1_DEP2_shift()
1611 mkU8(scale))))); in disAMode()
1623 binop(Iop_Shl32, getIReg(4,index_r), mkU8(scale)), in disAMode()
1679 getIReg(4,index_r), mkU8(scale))), in disAMode()
1720 getIReg(4,index_r), mkU8(scale))), in disAMode()
2487 assign( shift_amt, binop(Iop_And8, shift_expr, mkU8(31)) ); in dis_Grp2()
2502 mkexpr(shift_amt), mkU8(1)), in dis_Grp2()
2503 mkU8(31))) ); in dis_Grp2()
[all …]
Dguest_amd64_helpers.c999 # define mkU8(_n) IRExpr_Const(IRConst_U8(_n)) in guest_amd64_spechelper() macro
1057 mkU8(31)), in guest_amd64_spechelper()
1078 mkU8(63)); in guest_amd64_spechelper()
1134 mkU8(63)); in guest_amd64_spechelper()
1143 mkU8(63)), in guest_amd64_spechelper()
1200 mkU8(31)), in guest_amd64_spechelper()
1270 mkU8(31)), in guest_amd64_spechelper()
1282 mkU8(31)), in guest_amd64_spechelper()
1352 binop(Iop_Shl64, cc_dep1, mkU8(48)), in guest_amd64_spechelper()
1353 binop(Iop_Shl64, cc_dep2, mkU8(48)))); in guest_amd64_spechelper()
[all …]
Dguest_x86_helpers.c821 # define mkU8(_n) IRExpr_Const(IRConst_U8(_n)) in guest_x86_spechelper() macro
1003 binop(Iop_Shr32,cc_dep1,mkU8(7)), in guest_x86_spechelper()
1014 binop(Iop_Shr32,cc_dep1,mkU8(7)), in guest_x86_spechelper()
1053 binop(Iop_Shr32,cc_dep1,mkU8(31)), in guest_x86_spechelper()
1061 binop(Iop_Shr32,cc_dep1,mkU8(31)), in guest_x86_spechelper()
1079 binop(Iop_Shr32,cc_dep1,mkU8(15)), in guest_x86_spechelper()
1109 binop(Iop_Shr32,cc_dep1,mkU8(7)), in guest_x86_spechelper()
1117 binop(Iop_Shr32,cc_dep1,mkU8(7)), in guest_x86_spechelper()
1140 binop(Iop_Shl32,cc_dep1,mkU8(16)), in guest_x86_spechelper()
1151 binop(Iop_Shl32,cc_dep1,mkU8(16)), in guest_x86_spechelper()
[all …]
Dguest_amd64_toIR.c263 static IRExpr* mkU8 ( ULong i ) in mkU8() function
289 case Ity_I8: return mkU8(i); in mkU()
1864 assign( guardB, binop(Iop_CmpNE8, mkexpr(guard), mkU8(0)) ); in setFlags_DEP1_DEP2_shift()
2586 mkU8(scale))))); in disAMode()
2599 mkU8(scale)), in disAMode()
2662 getIReg64rexX(pfx,index_r), mkU8(scale))), in disAMode()
2709 getIReg64rexX(pfx,index_r), mkU8(scale))), in disAMode()
3644 assign( shift_amt, binop(Iop_And8, shift_expr, mkU8(mask)) ); in dis_Grp2()
3659 mkexpr(shift_amt), mkU8(1)), in dis_Grp2()
3660 mkU8(mask))) ); in dis_Grp2()
[all …]
Dguest_arm64_toIR.c264 static IRExpr* mkU8 ( UInt i ) in mkU8() function
1012 binop(mkSHL(ty), mkexpr(arg), mkU8(w - imm)), in mathROR()
1013 binop(mkSHR(ty), mkexpr(arg), mkU8(imm)) )); in mathROR()
1032 binop(mkSHL(ty), mkexpr(arg), mkU8(w - 1 - imm)), in mathREPLICATE()
1033 mkU8(w - 1))); in mathREPLICATE()
1661 binop(Iop_Shr32, IRExpr_Get(OFFB_FPCR, Ity_I32), mkU8(22))); in mk_get_IR_rounding_mode()
1666 binop(Iop_Shl32, mkexpr(armEncd), mkU8(1)), in mk_get_IR_rounding_mode()
1669 binop(Iop_Shr32, mkexpr(armEncd), mkU8(1)), in mk_get_IR_rounding_mode()
2049 mkU8(sh)), in math_SWAPHELPER()
2051 binop(Iop_Shl64,mkexpr(x),mkU8(sh)), in math_SWAPHELPER()
[all …]
Dir_inject.c38 #define mkU8(v) IRExpr_Const(IRConst_U8(v)) macro
217 opnd2 = mkU8(*((ULong *)iricb.opnd2)); in vex_inject_ir()
Dguest_arm64_helpers.c720 # define mkU8(_n) IRExpr_Const(IRConst_U8(_n)) in guest_arm64_spechelper() macro
945 mkU8(ARM64G_CC_SHIFT_Z)), in guest_arm64_spechelper()
953 mkU8(ARM64G_CC_SHIFT_Z)), in guest_arm64_spechelper()
1129 # undef mkU8 in guest_arm64_spechelper()
Dguest_s390_toIR.c182 mkU8(UInt value) in mkU8() function
1611 mkU8(4))); in get_dfp_rounding_mode_from_fpc()
1618 binop(Iop_Shl32, rm_s390, mkU8(1)), in get_dfp_rounding_mode_from_fpc()
1697 assign(b2, binop(Iop_And32, binop(Iop_Shr32, mkexpr(vex_cc), mkU8(2)), in convert_vex_bfpcc_to_s390()
1699 assign(b6, binop(Iop_And32, binop(Iop_Shr32, mkexpr(vex_cc), mkU8(6)), in convert_vex_bfpcc_to_s390()
1709 return binop(Iop_Or32, mkexpr(cc0), binop(Iop_Shl32, mkexpr(cc1), mkU8(1))); in convert_vex_bfpcc_to_s390()
3178 assign(carry_in, binop(Iop_Shr32, s390_call_calculate_cc(), mkU8(1))); in s390_irgen_ALCR()
3198 mkU8(1)))); in s390_irgen_ALCGR()
3217 assign(carry_in, binop(Iop_Shr32, s390_call_calculate_cc(), mkU8(1))); in s390_irgen_ALC()
3237 mkU8(1)))); in s390_irgen_ALCG()
[all …]
Dguest_s390_helpers.c1812 #define mkU8(v) IRExpr_Const(IRConst_U8(v)) macro
1966 return unop(Iop_64to32, binop(Iop_Shr64, cc_dep1, mkU8(63))); in guest_s390x_spechelper()
1980 binop(Iop_Shr64, cc_dep1, mkU8(63)), in guest_s390x_spechelper()
2072 word = binop(Iop_Sar32, binop(Iop_Shl32, word, mkU8(shift)), in guest_s390x_spechelper()
2073 mkU8(shift)); in guest_s390x_spechelper()
/external/valgrind/coregrind/
Dm_translate.c999 static IRExpr* mkU8 ( UChar n ) { in mkU8() function
1087 mkU8(8 * VG_WORDSIZE - 1) in gen_PUSH()
1169 mkU8(8 * VG_WORDSIZE - 1) in gen_POP()
/external/valgrind/memcheck/
Dmc_translate.c441 #define mkU8(_n) IRExpr_Const(IRConst_U8(_n)) macro
1147 binop(opSHR, xxhash, mkU8(width-1))), in doCmpORD()
1148 mkU8(3) in doCmpORD()
3683 at = assignNew('V', mce, Ity_V128, binop(Iop_ShlN32x4, at, mkU8(16))); in expr2vbits_Binop()
3684 at = assignNew('V', mce, Ity_V128, binop(Iop_SarN32x4, at, mkU8(16))); in expr2vbits_Binop()
3693 at = assignNew('V', mce, Ity_V128, binop(Iop_ShlN16x8, at, mkU8(8))); in expr2vbits_Binop()
3694 at = assignNew('V', mce, Ity_V128, binop(Iop_SarN16x8, at, mkU8(8))); in expr2vbits_Binop()
3703 at = assignNew('V', mce, Ity_V128, binop(Iop_ShlN64x2, at, mkU8(32))); in expr2vbits_Binop()
3704 at = assignNew('V', mce, Ity_V128, binop(Iop_SarN64x2, at, mkU8(32))); in expr2vbits_Binop()
5845 elemSzB = 1; zero = mkU8(0); in do_shadow_CAS_double()
/external/valgrind/VEX/useful/
Dtest_main.c738 #define mkU8(_n) IRExpr_Const(IRConst_U8(_n)) macro
845 binop(Iop_Sub8, mkU8(0), a1) ))); in mkLeft8()
992 tmp1 = assignNew(mce, Ity_I1, binop(Iop_CmpNE8, vbits, mkU8(0))); in mkPCastTo()