Home
last modified time | relevance | path

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

12

/external/valgrind/VEX/priv/
Dir_inject.c195 IRExpr *data, *rounding_mode, *opnd1, *opnd2, *opnd3, *opnd4; in vex_inject_ir() local
197 rounding_mode = NULL; in vex_inject_ir()
198 if (iricb.rounding_mode != NO_ROUNDING_MODE) { in vex_inject_ir()
199 rounding_mode = mkU32(iricb.rounding_mode); in vex_inject_ir()
205 if (rounding_mode) in vex_inject_ir()
206 data = binop(iricb.op, rounding_mode, opnd1); in vex_inject_ir()
237 if (rounding_mode) in vex_inject_ir()
238 data = triop(iricb.op, rounding_mode, opnd1, opnd2); in vex_inject_ir()
268 if (rounding_mode) in vex_inject_ir()
269 data = qop(iricb.op, rounding_mode, opnd1, opnd2, opnd3); in vex_inject_ir()
[all …]
Dhost_s390_defs.h343 s390_dfp_round_t rounding_mode; member
354 s390_dfp_round_t rounding_mode; member
510 s390_bfp_round_t rounding_mode; member
543 s390_dfp_round_t rounding_mode; member
561 s390_dfp_round_t rounding_mode; member
666 s390_bfp_round_t rounding_mode);
680 s390_dfp_round_t rounding_mode);
698 s390_dfp_round_t rounding_mode);
Dhost_s390_isel.c1236 s390_bfp_round_t rounding_mode; in s390_isel_int_expr_wrk() local
1241 rounding_mode = get_bfp_rounding_mode(env, arg1); in s390_isel_int_expr_wrk()
1243 rounding_mode)); in s390_isel_int_expr_wrk()
1248 s390_bfp_round_t rounding_mode; in s390_isel_int_expr_wrk() local
1262 rounding_mode = get_bfp_rounding_mode(env, arg1); in s390_isel_int_expr_wrk()
1265 rounding_mode)); in s390_isel_int_expr_wrk()
1270 s390_dfp_round_t rounding_mode; in s390_isel_int_expr_wrk() local
1275 rounding_mode = get_dfp_rounding_mode(env, arg1); in s390_isel_int_expr_wrk()
1277 rounding_mode)); in s390_isel_int_expr_wrk()
1282 s390_dfp_round_t rounding_mode; in s390_isel_int_expr_wrk() local
[all …]
Dguest_s390_helpers.c1025 #define S390_CC_FOR_BFP_CONVERT_AUX(opcode,cc_dep1,rounding_mode) \ argument
1028 opcode " 0," #rounding_mode ",%[op]\n\t" \
1057 #define S390_CC_FOR_BFP_UCONVERT_AUX(opcode,cc_dep1,rounding_mode) \ argument
1060 opcode ",0,%[op]," #rounding_mode ",0\n\t" \
1089 #define S390_CC_FOR_BFP128_CONVERT_AUX(opcode,hi,lo,rounding_mode) \ argument
1094 opcode " 0," #rounding_mode ",4\n\t" \
1126 #define S390_CC_FOR_BFP128_UCONVERT_AUX(opcode,hi,lo,rounding_mode) \ argument
1131 opcode ",0,4," #rounding_mode ",0\n\t" \
1266 #define S390_CC_FOR_DFP_CONVERT_AUX(opcode,cc_dep1,rounding_mode) \ argument
1269 opcode ",0,%[op]," #rounding_mode ",0\n\t" \
[all …]
Dguest_s390_toIR.c9054 IRTemp rounding_mode = encode_bfp_rounding_mode(S390_BFP_ROUND_PER_FPC); in s390_irgen_AEBR() local
9058 assign(result, triop(Iop_AddF32, mkexpr(rounding_mode), mkexpr(op1), in s390_irgen_AEBR()
9072 IRTemp rounding_mode = encode_bfp_rounding_mode(S390_BFP_ROUND_PER_FPC); in s390_irgen_ADBR() local
9076 assign(result, triop(Iop_AddF64, mkexpr(rounding_mode), mkexpr(op1), in s390_irgen_ADBR()
9090 IRTemp rounding_mode = encode_bfp_rounding_mode(S390_BFP_ROUND_PER_FPC); in s390_irgen_AEB() local
9094 assign(result, triop(Iop_AddF32, mkexpr(rounding_mode), mkexpr(op1), in s390_irgen_AEB()
9108 IRTemp rounding_mode = encode_bfp_rounding_mode(S390_BFP_ROUND_PER_FPC); in s390_irgen_ADB() local
9112 assign(result, triop(Iop_AddF64, mkexpr(rounding_mode), mkexpr(op1), in s390_irgen_ADB()
9256 IRTemp rounding_mode = encode_bfp_rounding_mode(m3); in s390_irgen_CLFEBR() local
9259 assign(result, binop(Iop_F32toI32U, mkexpr(rounding_mode), in s390_irgen_CLFEBR()
[all …]
Dhost_s390_defs.c5668 s390_bfp_round_t rounding_mode) in s390_insn_bfp_convert() argument
5681 insn->variant.bfp_convert.rounding_mode = rounding_mode; in s390_insn_bfp_convert()
5771 s390_bfp_round_t rounding_mode) in s390_insn_bfp128_convert() argument
5792 insn->variant.bfp_convert.rounding_mode = rounding_mode; in s390_insn_bfp128_convert()
5804 s390_bfp_round_t rounding_mode = S390_BFP_ROUND_NEAREST_EVEN; in s390_insn_bfp128_convert_to() local
5807 INVALID_HREG, rounding_mode); in s390_insn_bfp128_convert_to()
5814 s390_bfp_round_t rounding_mode) in s390_insn_bfp128_convert_from() argument
5817 rounding_mode); in s390_insn_bfp128_convert_from()
5823 HReg op3, s390_dfp_round_t rounding_mode) in s390_insn_dfp_binop() argument
5841 dfp_binop->rounding_mode = rounding_mode; in s390_insn_dfp_binop()
[all …]
/external/swiftshader/third_party/LLVM/lib/Support/
DAPFloat.cpp1116 APFloat::handleOverflow(roundingMode rounding_mode) in handleOverflow() argument
1119 if (rounding_mode == rmNearestTiesToEven || in handleOverflow()
1120 rounding_mode == rmNearestTiesToAway || in handleOverflow()
1121 (rounding_mode == rmTowardPositive && !sign) || in handleOverflow()
1122 (rounding_mode == rmTowardNegative && sign)) { in handleOverflow()
1142 APFloat::roundAwayFromZero(roundingMode rounding_mode, in roundAwayFromZero() argument
1152 switch (rounding_mode) { in roundAwayFromZero()
1181 APFloat::normalize(roundingMode rounding_mode, in normalize() argument
1202 return handleOverflow(rounding_mode); in normalize()
1248 if (roundAwayFromZero(rounding_mode, lost_fraction, 0)) { in normalize()
[all …]
/external/llvm/lib/Support/
DAPFloat.cpp1221 APFloat::handleOverflow(roundingMode rounding_mode) in handleOverflow() argument
1224 if (rounding_mode == rmNearestTiesToEven || in handleOverflow()
1225 rounding_mode == rmNearestTiesToAway || in handleOverflow()
1226 (rounding_mode == rmTowardPositive && !sign) || in handleOverflow()
1227 (rounding_mode == rmTowardNegative && sign)) { in handleOverflow()
1247 APFloat::roundAwayFromZero(roundingMode rounding_mode, in roundAwayFromZero() argument
1257 switch (rounding_mode) { in roundAwayFromZero()
1284 APFloat::normalize(roundingMode rounding_mode, in normalize() argument
1305 return handleOverflow(rounding_mode); in normalize()
1351 if (roundAwayFromZero(rounding_mode, lost_fraction, 0)) { in normalize()
[all …]
/external/valgrind/memcheck/tests/vbit-test/
Dvalgrind.c50 cb.rounding_mode = data->rounding_mode; in new_iricb()
133 if (data->rounding_mode != NO_ROUNDING_MODE) in valgrind_execute_test()
134 printf("rounding mode %u\n", data->rounding_mode); in valgrind_execute_test()
Dmain.c67 data->rounding_mode = Irrm_NEAREST; // same as Irrm_DFP_NEAREST in new_test_data()
69 data->rounding_mode = NO_ROUNDING_MODE; in new_test_data()
Dvtest.h205 unsigned rounding_mode; member
/external/valgrind/none/tests/mips64/
DMakefile.am64 const.h macro_fpu.h macro_int.h macro_load_store.h rounding_mode.h
DMakefile.in773 const.h macro_fpu.h macro_int.h macro_load_store.h rounding_mode.h
/external/v8/src/s390/
Dmacro-assembler-s390.h746 FPRoundingMode rounding_mode = kRoundToZero);
755 FPRoundingMode rounding_mode = kRoundToZero);
760 FPRoundingMode rounding_mode);
764 FPRoundingMode rounding_mode = kRoundToZero);
771 FPRoundingMode rounding_mode = kRoundToZero);
775 FPRoundingMode rounding_mode = kRoundToZero);
Dmacro-assembler-s390.cc692 FPRoundingMode rounding_mode) { in ConvertFloat32ToInt64() argument
694 switch (rounding_mode) { in ConvertFloat32ToInt64()
724 FPRoundingMode rounding_mode) { in ConvertDoubleToInt64() argument
726 switch (rounding_mode) { in ConvertDoubleToInt64()
753 FPRoundingMode rounding_mode) { in ConvertFloat32ToInt32() argument
755 switch (rounding_mode) { in ConvertFloat32ToInt32()
782 const DoubleRegister double_dst, FPRoundingMode rounding_mode) { in ConvertFloat32ToUnsignedInt32() argument
784 switch (rounding_mode) { in ConvertFloat32ToUnsignedInt32()
812 const DoubleRegister double_dst, FPRoundingMode rounding_mode) { in ConvertFloat32ToUnsignedInt64() argument
814 switch (rounding_mode) { in ConvertFloat32ToUnsignedInt64()
[all …]
/external/valgrind/VEX/pub/
Dlibvex.h895 UInt rounding_mode; member
/external/vixl/src/aarch64/
Dlogic-aarch64.cc4434 FPRounding rounding_mode, in frint() argument
4440 float rounded = FPRoundInt(input, rounding_mode); in frint()
4450 double rounded = FPRoundInt(input, rounding_mode); in frint()
4464 FPRounding rounding_mode, in fcvts() argument
4470 dst.SetInt(vform, i, FPToInt32(op, rounding_mode)); in fcvts()
4476 dst.SetInt(vform, i, FPToInt64(op, rounding_mode)); in fcvts()
4486 FPRounding rounding_mode, in fcvtu() argument
4492 dst.SetUint(vform, i, FPToUInt32(op, rounding_mode)); in fcvtu()
4498 dst.SetUint(vform, i, FPToUInt64(op, rounding_mode)); in fcvtu()
Dsimulator-aarch64.h2472 FPRounding rounding_mode);
2477 FPRounding rounding_mode);
2837 FPRounding rounding_mode,
2842 FPRounding rounding_mode,
2847 FPRounding rounding_mode,
/external/v8/src/ppc/
Dmacro-assembler-ppc.cc776 FPRoundingMode rounding_mode) { in ConvertDoubleToInt64() argument
777 if (rounding_mode == kRoundToZero) { in ConvertDoubleToInt64()
780 SetRoundingMode(rounding_mode); in ConvertDoubleToInt64()
795 const DoubleRegister double_dst, FPRoundingMode rounding_mode) { in ConvertDoubleToUnsignedInt64() argument
796 if (rounding_mode == kRoundToZero) { in ConvertDoubleToUnsignedInt64()
799 SetRoundingMode(rounding_mode); in ConvertDoubleToUnsignedInt64()
Dmacro-assembler-ppc.h414 FPRoundingMode rounding_mode = kRoundToZero);
422 FPRoundingMode rounding_mode = kRoundToZero);
/external/v8/src/arm/
Ddisasm-arm.cc2358 int rounding_mode = instr->Bits(17, 16); in DecodeSpecialCondition() local
2359 switch (rounding_mode) { in DecodeSpecialCondition()
Dsimulator-arm.cc5382 int rounding_mode = instr->Bits(17, 16); in DecodeSpecialCondition() local
5383 switch (rounding_mode) { in DecodeSpecialCondition()
5408 int rounding_mode = instr->Bits(17, 16); in DecodeSpecialCondition() local
5409 switch (rounding_mode) { in DecodeSpecialCondition()
/external/v8/src/mips/
Dmacro-assembler-mips.h913 void EmitFPUTruncate(FPURoundingMode rounding_mode,
Dmacro-assembler-mips.cc2393 void MacroAssembler::EmitFPUTruncate(FPURoundingMode rounding_mode, in EmitFPUTruncate() argument
2428 switch (rounding_mode) { in EmitFPUTruncate()
/external/v8/src/mips64/
Dmacro-assembler-mips64.h966 void EmitFPUTruncate(FPURoundingMode rounding_mode,

12