Home
last modified time | relevance | path

Searched refs:irrm (Results 1 – 7 of 7) sorted by relevance

/external/valgrind/VEX/priv/
Dhost_s390_isel.c651 set_bfp_rounding_mode_in_fpc(ISelEnv *env, IRExpr *irrm) in set_bfp_rounding_mode_in_fpc() argument
653 vassert(typeOfIRExpr(env->type_env, irrm) == Ity_I32); in set_bfp_rounding_mode_in_fpc()
658 irrm->tag == Iex_RdTmp && in set_bfp_rounding_mode_in_fpc()
659 env->previous_bfp_rounding_mode->Iex.RdTmp.tmp == irrm->Iex.RdTmp.tmp) { in set_bfp_rounding_mode_in_fpc()
665 env->previous_bfp_rounding_mode = irrm; in set_bfp_rounding_mode_in_fpc()
679 HReg ir = s390_isel_int_expr(env, irrm); in set_bfp_rounding_mode_in_fpc()
696 get_bfp_rounding_mode(ISelEnv *env, IRExpr *irrm) in get_bfp_rounding_mode() argument
698 if (irrm->tag == Iex_Const) { /* rounding mode is known */ in get_bfp_rounding_mode()
699 vassert(irrm->Iex.Const.con->tag == Ico_U32); in get_bfp_rounding_mode()
700 IRRoundingMode mode = irrm->Iex.Const.con->Ico.U32; in get_bfp_rounding_mode()
[all …]
Dguest_arm64_toIR.c10401 IRRoundingMode irrm = 8; /*impossible*/ in dis_AdvSIMD_scalar_two_reg_misc() local
10404 case 1: ch = 'n'; irrm = Irrm_NEAREST; break; in dis_AdvSIMD_scalar_two_reg_misc()
10405 case 2: ch = 'm'; irrm = Irrm_NegINF; break; in dis_AdvSIMD_scalar_two_reg_misc()
10406 case 3: ch = 'a'; irrm = Irrm_NEAREST; break; /* kludge? */ in dis_AdvSIMD_scalar_two_reg_misc()
10407 case 4: ch = 'p'; irrm = Irrm_PosINF; break; in dis_AdvSIMD_scalar_two_reg_misc()
10408 case 5: ch = 'z'; irrm = Irrm_ZERO; break; in dis_AdvSIMD_scalar_two_reg_misc()
10420 assign(res, binop(cvt, mkU32(irrm), mkexpr(src))); in dis_AdvSIMD_scalar_two_reg_misc()
12659 IRTemp irrm = newTemp(Ity_I32); in dis_AdvSIMD_two_reg_misc() local
12661 case 1: ch = 'n'; assign(irrm, mkU32(Irrm_NEAREST)); break; in dis_AdvSIMD_two_reg_misc()
12662 case 2: ch = 'm'; assign(irrm, mkU32(Irrm_NegINF)); break; in dis_AdvSIMD_two_reg_misc()
[all …]
Dguest_s390_helpers.c949 decode_bfp_rounding_mode(UInt irrm) in decode_bfp_rounding_mode() argument
951 switch (irrm) { in decode_bfp_rounding_mode()
1193 decode_dfp_rounding_mode(UInt irrm) in decode_dfp_rounding_mode() argument
1195 switch (irrm) { in decode_dfp_rounding_mode()
Dhost_arm64_isel.c413 HReg irrm = iselIntExpr_R(env, mode); in set_FPCR_rounding_mode() local
428 addInstr(env, ARM64Instr_Shift(tL, irrm, ARM64RI6_I6(1), ARM64sh_SHL)); in set_FPCR_rounding_mode()
429 addInstr(env, ARM64Instr_Shift(tR, irrm, ARM64RI6_I6(1), ARM64sh_SHR)); in set_FPCR_rounding_mode()
1696 UInt irrm = arg1con->Ico.U32; in iselIntExpr_R_wrk() local
1699 switch (irrm) { in iselIntExpr_R_wrk()
Dguest_s390_toIR.c7162 IRExpr *irrm; in get_rounding_mode_from_gr0() local
7168 irrm = mkite(binop(Iop_CmpEQ32, s390rm, mkU32(0x1)), in get_rounding_mode_from_gr0()
7195 return irrm; in get_rounding_mode_from_gr0()
7255 IRExpr *irrm; in s390_irgen_PFPO() local
7269 irrm = get_rounding_mode_from_gr0(); in s390_irgen_PFPO()
7297 assign(dst1, binop(Iop_F32toD32, irrm, mkexpr(src1))); in s390_irgen_PFPO()
7305 assign(dst2, binop(Iop_F32toD64, irrm, mkexpr(src2))); in s390_irgen_PFPO()
7313 assign(dst3, binop(Iop_F32toD128, irrm, mkexpr(src3))); in s390_irgen_PFPO()
7321 assign(dst4, binop(Iop_F64toD32, irrm, mkexpr(src4))); in s390_irgen_PFPO()
7329 assign(dst5, binop(Iop_F64toD64, irrm, mkexpr(src5))); in s390_irgen_PFPO()
[all …]
Dhost_mips_isel.c279 HReg irrm = iselWordExpr_R(env, mode); in set_MIPS_rounding_mode() local
284 addInstr(env, MIPSInstr_Shft(Mshft_SLL, True, tmp, irrm, in set_MIPS_rounding_mode()
286 addInstr(env, MIPSInstr_Alu(Malu_XOR, tmp, irrm, MIPSRH_Reg(tmp))); in set_MIPS_rounding_mode()
Dhost_arm_isel.c322 HReg irrm = iselIntExpr_R(env, mode); in set_VFP_rounding_mode() local
334 addInstr(env, ARMInstr_Shift(ARMsh_SHL, tL, irrm, ARMRI5_I5(1))); in set_VFP_rounding_mode()
335 addInstr(env, ARMInstr_Shift(ARMsh_SHR, tR, irrm, ARMRI5_I5(1))); in set_VFP_rounding_mode()