Home
last modified time | relevance | path

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

/external/valgrind/main/VEX/priv/
Dir_inject.c194 IRExpr *data, *rounding_mode, *opnd1, *opnd2, *opnd3, *opnd4; in vex_inject_ir() local
196 rounding_mode = NULL; in vex_inject_ir()
197 if (iricb.rounding_mode != NO_ROUNDING_MODE) { in vex_inject_ir()
198 rounding_mode = mkU32(iricb.rounding_mode); in vex_inject_ir()
204 if (rounding_mode) in vex_inject_ir()
205 data = binop(iricb.op, rounding_mode, opnd1); in vex_inject_ir()
221 if (rounding_mode) in vex_inject_ir()
222 data = triop(iricb.op, rounding_mode, opnd1, opnd2); in vex_inject_ir()
231 if (rounding_mode) in vex_inject_ir()
232 data = qop(iricb.op, rounding_mode, opnd1, opnd2, opnd3); in vex_inject_ir()
[all …]
Dhost_s390_isel.c1233 s390_bfp_round_t rounding_mode; in s390_isel_int_expr_wrk() local
1238 rounding_mode = get_bfp_rounding_mode(env, arg1); in s390_isel_int_expr_wrk()
1240 rounding_mode)); in s390_isel_int_expr_wrk()
1245 s390_bfp_round_t rounding_mode; in s390_isel_int_expr_wrk() local
1259 rounding_mode = get_bfp_rounding_mode(env, arg1); in s390_isel_int_expr_wrk()
1262 rounding_mode)); in s390_isel_int_expr_wrk()
1267 s390_dfp_round_t rounding_mode; in s390_isel_int_expr_wrk() local
1272 rounding_mode = get_dfp_rounding_mode(env, arg1); in s390_isel_int_expr_wrk()
1274 rounding_mode)); in s390_isel_int_expr_wrk()
1279 s390_dfp_round_t rounding_mode; in s390_isel_int_expr_wrk() local
[all …]
Dguest_s390_helpers.c1023 #define S390_CC_FOR_BFP_CONVERT_AUX(opcode,cc_dep1,rounding_mode) \ argument
1026 opcode " 0," #rounding_mode ",%[op]\n\t" \
1055 #define S390_CC_FOR_BFP_UCONVERT_AUX(opcode,cc_dep1,rounding_mode) \ argument
1058 opcode ",0,%[op]," #rounding_mode ",0\n\t" \
1087 #define S390_CC_FOR_BFP128_CONVERT_AUX(opcode,hi,lo,rounding_mode) \ argument
1092 opcode " 0," #rounding_mode ",4\n\t" \
1124 #define S390_CC_FOR_BFP128_UCONVERT_AUX(opcode,hi,lo,rounding_mode) \ argument
1129 opcode ",0,4," #rounding_mode ",0\n\t" \
1264 #define S390_CC_FOR_DFP_CONVERT_AUX(opcode,cc_dep1,rounding_mode) \ argument
1267 opcode ",0,%[op]," #rounding_mode ",0\n\t" \
[all …]
Dhost_s390_defs.h338 s390_dfp_round_t rounding_mode; member
349 s390_dfp_round_t rounding_mode; member
505 s390_bfp_round_t rounding_mode; member
538 s390_dfp_round_t rounding_mode; member
556 s390_dfp_round_t rounding_mode; member
672 s390_dfp_round_t rounding_mode);
690 s390_dfp_round_t rounding_mode);
Dguest_s390_toIR.c8946 IRTemp rounding_mode = encode_bfp_rounding_mode(S390_BFP_ROUND_PER_FPC); in s390_irgen_AEBR() local
8950 assign(result, triop(Iop_AddF32, mkexpr(rounding_mode), mkexpr(op1), in s390_irgen_AEBR()
8964 IRTemp rounding_mode = encode_bfp_rounding_mode(S390_BFP_ROUND_PER_FPC); in s390_irgen_ADBR() local
8968 assign(result, triop(Iop_AddF64, mkexpr(rounding_mode), mkexpr(op1), in s390_irgen_ADBR()
8982 IRTemp rounding_mode = encode_bfp_rounding_mode(S390_BFP_ROUND_PER_FPC); in s390_irgen_AEB() local
8986 assign(result, triop(Iop_AddF32, mkexpr(rounding_mode), mkexpr(op1), in s390_irgen_AEB()
9000 IRTemp rounding_mode = encode_bfp_rounding_mode(S390_BFP_ROUND_PER_FPC); in s390_irgen_ADB() local
9004 assign(result, triop(Iop_AddF64, mkexpr(rounding_mode), mkexpr(op1), in s390_irgen_ADB()
9148 IRTemp rounding_mode = encode_bfp_rounding_mode(m3); in s390_irgen_CLFEBR() local
9151 assign(result, binop(Iop_F32toI32U, mkexpr(rounding_mode), in s390_irgen_CLFEBR()
[all …]
Dhost_s390_defs.c5755 s390_bfp_round_t rounding_mode) in s390_insn_bfp_convert() argument
5768 insn->variant.bfp_convert.rounding_mode = rounding_mode; in s390_insn_bfp_convert()
5858 s390_bfp_round_t rounding_mode) in s390_insn_bfp128_convert() argument
5878 insn->variant.bfp_convert.rounding_mode = rounding_mode; in s390_insn_bfp128_convert()
5890 s390_bfp_round_t rounding_mode = S390_BFP_ROUND_NEAREST_EVEN; in s390_insn_bfp128_convert_to() local
5893 INVALID_HREG, rounding_mode); in s390_insn_bfp128_convert_to()
5900 s390_bfp_round_t rounding_mode) in s390_insn_bfp128_convert_from() argument
5903 rounding_mode); in s390_insn_bfp128_convert_from()
5909 HReg op3, s390_dfp_round_t rounding_mode) in s390_insn_dfp_binop() argument
5927 dfp_binop->rounding_mode = rounding_mode; in s390_insn_dfp_binop()
[all …]
/external/llvm/lib/Support/
DAPFloat.cpp1186 APFloat::handleOverflow(roundingMode rounding_mode) in handleOverflow() argument
1189 if (rounding_mode == rmNearestTiesToEven || in handleOverflow()
1190 rounding_mode == rmNearestTiesToAway || in handleOverflow()
1191 (rounding_mode == rmTowardPositive && !sign) || in handleOverflow()
1192 (rounding_mode == rmTowardNegative && sign)) { in handleOverflow()
1212 APFloat::roundAwayFromZero(roundingMode rounding_mode, in roundAwayFromZero() argument
1222 switch (rounding_mode) { in roundAwayFromZero()
1249 APFloat::normalize(roundingMode rounding_mode, in normalize() argument
1270 return handleOverflow(rounding_mode); in normalize()
1316 if (roundAwayFromZero(rounding_mode, lost_fraction, 0)) { in normalize()
[all …]
/external/valgrind/main/memcheck/tests/vbit-test/
Dvalgrind.c26 cb.rounding_mode = data->rounding_mode; in new_iricb()
108 if (data->rounding_mode != NO_ROUNDING_MODE) in valgrind_execute_test()
109 printf("rounding mode %u\n", data->rounding_mode); in valgrind_execute_test()
Dmain.c43 data->rounding_mode = Irrm_NEAREST; // same as Irrm_DFP_NEAREST in new_test_data()
45 data->rounding_mode = NO_ROUNDING_MODE; in new_test_data()
Dvtest.h97 unsigned rounding_mode; member
/external/valgrind/main/none/tests/mips64/
DMakefile.am55 const.h macro_fpu.h macro_int.h macro_load_store.h rounding_mode.h
DMakefile.in546 const.h macro_fpu.h macro_int.h macro_load_store.h rounding_mode.h
/external/valgrind/main/VEX/pub/
Dlibvex.h867 UInt rounding_mode; member
/external/chromium_org/v8/src/mips/
Dmacro-assembler-mips.h789 void EmitFPUTruncate(FPURoundingMode rounding_mode,
Dmacro-assembler-mips.cc1593 void MacroAssembler::EmitFPUTruncate(FPURoundingMode rounding_mode, in EmitFPUTruncate() argument
1628 switch (rounding_mode) { in EmitFPUTruncate()
/external/chromium_org/v8/src/mips64/
Dmacro-assembler-mips64.h815 void EmitFPUTruncate(FPURoundingMode rounding_mode,
Dmacro-assembler-mips64.cc1642 void MacroAssembler::EmitFPUTruncate(FPURoundingMode rounding_mode, in EmitFPUTruncate() argument
1677 switch (rounding_mode) { in EmitFPUTruncate()