/external/valgrind/VEX/priv/ |
D | ir_inject.c | 195 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 …]
|
D | host_s390_defs.h | 343 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);
|
D | host_s390_isel.c | 1236 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 …]
|
D | guest_s390_helpers.c | 1025 #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 …]
|
D | guest_s390_toIR.c | 9054 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 …]
|
D | host_s390_defs.c | 5668 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/ |
D | APFloat.cpp | 1116 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/ |
D | APFloat.cpp | 1221 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/ |
D | valgrind.c | 50 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()
|
D | main.c | 67 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()
|
D | vtest.h | 205 unsigned rounding_mode; member
|
/external/valgrind/none/tests/mips64/ |
D | Makefile.am | 64 const.h macro_fpu.h macro_int.h macro_load_store.h rounding_mode.h
|
D | Makefile.in | 773 const.h macro_fpu.h macro_int.h macro_load_store.h rounding_mode.h
|
/external/v8/src/s390/ |
D | macro-assembler-s390.h | 746 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);
|
D | macro-assembler-s390.cc | 692 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/ |
D | libvex.h | 895 UInt rounding_mode; member
|
/external/vixl/src/aarch64/ |
D | logic-aarch64.cc | 4434 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()
|
D | simulator-aarch64.h | 2472 FPRounding rounding_mode); 2477 FPRounding rounding_mode); 2837 FPRounding rounding_mode, 2842 FPRounding rounding_mode, 2847 FPRounding rounding_mode,
|
/external/v8/src/ppc/ |
D | macro-assembler-ppc.cc | 776 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()
|
D | macro-assembler-ppc.h | 414 FPRoundingMode rounding_mode = kRoundToZero); 422 FPRoundingMode rounding_mode = kRoundToZero);
|
/external/v8/src/arm/ |
D | disasm-arm.cc | 2358 int rounding_mode = instr->Bits(17, 16); in DecodeSpecialCondition() local 2359 switch (rounding_mode) { in DecodeSpecialCondition()
|
D | simulator-arm.cc | 5382 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/ |
D | macro-assembler-mips.h | 913 void EmitFPUTruncate(FPURoundingMode rounding_mode,
|
D | macro-assembler-mips.cc | 2393 void MacroAssembler::EmitFPUTruncate(FPURoundingMode rounding_mode, in EmitFPUTruncate() argument 2428 switch (rounding_mode) { in EmitFPUTruncate()
|
/external/v8/src/mips64/ |
D | macro-assembler-mips64.h | 966 void EmitFPUTruncate(FPURoundingMode rounding_mode,
|