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.c10044 IRRoundingMode irrm = 8; /*impossible*/ in dis_AdvSIMD_scalar_two_reg_misc() local
10047 case 1: ch = 'n'; irrm = Irrm_NEAREST; break; in dis_AdvSIMD_scalar_two_reg_misc()
10048 case 2: ch = 'm'; irrm = Irrm_NegINF; break; in dis_AdvSIMD_scalar_two_reg_misc()
10049 case 3: ch = 'a'; irrm = Irrm_NEAREST; break; /* kludge? */ in dis_AdvSIMD_scalar_two_reg_misc()
10050 case 4: ch = 'p'; irrm = Irrm_PosINF; break; in dis_AdvSIMD_scalar_two_reg_misc()
10051 case 5: ch = 'z'; irrm = Irrm_ZERO; break; in dis_AdvSIMD_scalar_two_reg_misc()
10063 assign(res, binop(cvt, mkU32(irrm), mkexpr(src))); in dis_AdvSIMD_scalar_two_reg_misc()
12277 IRTemp irrm = newTemp(Ity_I32); in dis_AdvSIMD_two_reg_misc() local
12279 case 1: ch = 'n'; assign(irrm, mkU32(Irrm_NEAREST)); break; in dis_AdvSIMD_two_reg_misc()
12280 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.c415 HReg irrm = iselIntExpr_R(env, mode); in set_FPCR_rounding_mode() local
430 addInstr(env, ARM64Instr_Shift(tL, irrm, ARM64RI6_I6(1), ARM64sh_SHL)); in set_FPCR_rounding_mode()
431 addInstr(env, ARM64Instr_Shift(tR, irrm, ARM64RI6_I6(1), ARM64sh_SHR)); in set_FPCR_rounding_mode()
1668 UInt irrm = arg1con->Ico.U32; in iselIntExpr_R_wrk() local
1671 switch (irrm) { in iselIntExpr_R_wrk()
Dguest_s390_toIR.c7152 IRExpr *irrm; in get_rounding_mode_from_gr0() local
7158 irrm = mkite(binop(Iop_CmpEQ32, s390rm, mkU32(0x1)), in get_rounding_mode_from_gr0()
7185 return irrm; in get_rounding_mode_from_gr0()
7245 IRExpr *irrm; in s390_irgen_PFPO() local
7259 irrm = get_rounding_mode_from_gr0(); in s390_irgen_PFPO()
7287 assign(dst1, binop(Iop_F32toD32, irrm, mkexpr(src1))); in s390_irgen_PFPO()
7295 assign(dst2, binop(Iop_F32toD64, irrm, mkexpr(src2))); in s390_irgen_PFPO()
7303 assign(dst3, binop(Iop_F32toD128, irrm, mkexpr(src3))); in s390_irgen_PFPO()
7311 assign(dst4, binop(Iop_F64toD32, irrm, mkexpr(src4))); in s390_irgen_PFPO()
7319 assign(dst5, binop(Iop_F64toD64, irrm, mkexpr(src5))); in s390_irgen_PFPO()
[all …]
Dhost_mips_isel.c285 HReg irrm = iselWordExpr_R(env, mode); in set_MIPS_rounding_mode() local
290 addInstr(env, MIPSInstr_Shft(Mshft_SLL, True, tmp, irrm, in set_MIPS_rounding_mode()
292 addInstr(env, MIPSInstr_Alu(Malu_XOR, tmp, irrm, MIPSRH_Reg(tmp))); in set_MIPS_rounding_mode()
293 addInstr(env, MIPSInstr_Alu(Malu_AND, irrm, tmp, MIPSRH_Imm(False, 3))); in set_MIPS_rounding_mode()
303 addInstr(env, MIPSInstr_MtFCSR(irrm)); 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()