Home
last modified time | relevance | path

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

/netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/libbid/
H A Dbid_flag_operations.c224 getDecimalRoundingDirection (_IDEC_round * rounding_mode in getDecimalRoundingDirection()
227 *rounding_mode = *prnd_mode; in getDecimalRoundingDirection()
233 getDecimalRoundingDirection (_IDEC_round * rounding_mode in getDecimalRoundingDirection()
236 *rounding_mode = rnd_mode; in getDecimalRoundingDirection()
262 setDecimalRoundingDirection (_IDEC_round * rounding_mode in setDecimalRoundingDirection()
265 if (*rounding_mode == ROUNDING_TO_NEAREST || in setDecimalRoundingDirection()
266 *rounding_mode == ROUNDING_DOWN || in setDecimalRoundingDirection()
267 *rounding_mode == ROUNDING_UP || in setDecimalRoundingDirection()
268 *rounding_mode == ROUNDING_TO_ZERO || in setDecimalRoundingDirection()
269 *rounding_mode == ROUNDING_TIES_AWAY) { in setDecimalRoundingDirection()
[all …]
H A Dbid_inline_add.h77 int rounding_mode, unsigned *fpsc) { in get_add64() argument
116 return get_BID64 (sign_b, exponent_b, coefficient_b, rounding_mode, in get_add64()
148 if (((rounding_mode) & 3) && coefficient_b) // not ROUNDING_TO_NEAREST in get_add64()
150 switch (rounding_mode) { in get_add64()
198 rounding_mode, fpsc); in get_add64()
227 if (rounding_mode == ROUNDING_DOWN && (!coefficient_a) in get_add64()
233 rounding_mode, fpsc); in get_add64()
248 rmode = rounding_mode; in get_add64()
273 rmode = rounding_mode; in get_add64()
463 rounding_mode, fpsc); in get_add64()
[all …]
H A Dbid_functions.h330 unsigned int rounding_mode:3; member
1944 rounding_mode _RND_MODE_PARAM);
1947 rounding_mode _RND_MODE_PARAM);
3216 rounding_mode
3219 void setDecimalRoundingDirection (_IDEC_round rounding_mode);
/netbsd-src/external/gpl3/gcc/dist/libgcc/config/libbid/
H A Dbid_flag_operations.c224 getDecimalRoundingDirection (_IDEC_round * rounding_mode in getDecimalRoundingDirection()
227 *rounding_mode = *prnd_mode; in getDecimalRoundingDirection()
233 getDecimalRoundingDirection (_IDEC_round * rounding_mode in getDecimalRoundingDirection()
236 *rounding_mode = rnd_mode; in getDecimalRoundingDirection()
262 setDecimalRoundingDirection (_IDEC_round * rounding_mode in setDecimalRoundingDirection()
265 if (*rounding_mode == ROUNDING_TO_NEAREST || in setDecimalRoundingDirection()
266 *rounding_mode == ROUNDING_DOWN || in setDecimalRoundingDirection()
267 *rounding_mode == ROUNDING_UP || in setDecimalRoundingDirection()
268 *rounding_mode == ROUNDING_TO_ZERO || in setDecimalRoundingDirection()
269 *rounding_mode == ROUNDING_TIES_AWAY) { in setDecimalRoundingDirection()
[all …]
H A Dbid_inline_add.h77 int rounding_mode, unsigned *fpsc) { in get_add64() argument
116 return get_BID64 (sign_b, exponent_b, coefficient_b, rounding_mode, in get_add64()
148 if (((rounding_mode) & 3) && coefficient_b) // not ROUNDING_TO_NEAREST in get_add64()
150 switch (rounding_mode) { in get_add64()
198 rounding_mode, fpsc); in get_add64()
227 if (rounding_mode == ROUNDING_DOWN && (!coefficient_a) in get_add64()
233 rounding_mode, fpsc); in get_add64()
248 rmode = rounding_mode; in get_add64()
273 rmode = rounding_mode; in get_add64()
463 rounding_mode, fpsc); in get_add64()
[all …]
H A Dbid_functions.h330 unsigned int rounding_mode:3; member
1944 rounding_mode _RND_MODE_PARAM);
1947 rounding_mode _RND_MODE_PARAM);
3216 rounding_mode
3219 void setDecimalRoundingDirection (_IDEC_round rounding_mode);
/netbsd-src/external/gpl3/gcc/dist/gcc/config/m68k/
H A Dmath-68881.h369 int rounding_mode, round_up; in ceil() local
373 : "=dm" (rounding_mode) in ceil()
375 round_up = rounding_mode | 0x30; in ceil()
384 : "dmi" (rounding_mode)); in ceil()
391 int rounding_mode, round_down; in floor() local
395 : "=dm" (rounding_mode) in floor()
397 round_down = (rounding_mode & ~0x10) in floor()
407 : "dmi" (rounding_mode)); in floor()
414 int rounding_mode, round_nearest; in rint() local
418 : "=dm" (rounding_mode) in rint()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/m68k/
H A Dmath-68881.h369 int rounding_mode, round_up; in ceil() local
373 : "=dm" (rounding_mode) in ceil()
375 round_up = rounding_mode | 0x30; in ceil()
384 : "dmi" (rounding_mode)); in ceil()
391 int rounding_mode, round_down; in floor() local
395 : "=dm" (rounding_mode) in floor()
397 round_down = (rounding_mode & ~0x10) in floor()
407 : "dmi" (rounding_mode)); in floor()
414 int rounding_mode, round_nearest; in rint() local
418 : "=dm" (rounding_mode) in rint()
[all …]
/netbsd-src/external/gpl3/gdb/dist/sim/testsuite/common/
H A Dfpu-tst.c72 sim_fpu_round rounding_mode; variable
80 rounding_mode = sim_fpu_round_near; in syst_float_set_rounding_mode()
83 rounding_mode = sim_fpu_round_down; in syst_float_set_rounding_mode()
86 rounding_mode = sim_fpu_round_up; in syst_float_set_rounding_mode()
89 rounding_mode = sim_fpu_round_zero; in syst_float_set_rounding_mode()
100 flags |= sim_fpu_i32to (&s, a, rounding_mode); in syst_int32_to_float32()
101 flags |= sim_fpu_round_32 (&s, rounding_mode, 0); in syst_int32_to_float32()
111 flags |= sim_fpu_i32to (&s, a, rounding_mode); in syst_int32_to_float64()
132 flags |= sim_fpu_round_64 (&s, rounding_mode, 0); in syst_float32_to_float64()
153 flags |= sim_fpu_round_32 (&ans, rounding_mode, 0); in syst_float32_add()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DAPFloat.cpp1293 IEEEFloat::opStatus IEEEFloat::handleOverflow(roundingMode rounding_mode) { in handleOverflow() argument
1295 if (rounding_mode == rmNearestTiesToEven || in handleOverflow()
1296 rounding_mode == rmNearestTiesToAway || in handleOverflow()
1297 (rounding_mode == rmTowardPositive && !sign) || in handleOverflow()
1298 (rounding_mode == rmTowardNegative && sign)) { in handleOverflow()
1317 bool IEEEFloat::roundAwayFromZero(roundingMode rounding_mode, in roundAwayFromZero() argument
1326 switch (rounding_mode) { in roundAwayFromZero()
1355 IEEEFloat::opStatus IEEEFloat::normalize(roundingMode rounding_mode, in normalize() argument
1375 return handleOverflow(rounding_mode); in normalize()
1421 if (roundAwayFromZero(rounding_mode, lost_fraction, 0)) { in normalize()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libquadmath/printf/
H A Dprintf_fphex.c344 int rounding_mode = get_rounding_mode (); in __quadmath_printf_fphex() local
347 rounding_mode); in __quadmath_printf_fphex()
H A Dprintf_fp.c964 int rounding_mode = get_rounding_mode (); in __quadmath_printf_fp() local
966 more_bits, rounding_mode)) in __quadmath_printf_fp()
/netbsd-src/external/gpl3/gcc.old/dist/libquadmath/printf/
H A Dprintf_fphex.c343 int rounding_mode = get_rounding_mode (); in __quadmath_printf_fphex() local
346 rounding_mode); in __quadmath_printf_fphex()
H A Dprintf_fp.c964 int rounding_mode = get_rounding_mode (); in __quadmath_printf_fp() local
966 more_bits, rounding_mode)) in __quadmath_printf_fp()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/fortran/
H A Dtrans-intrinsic.c137 enum rounding_mode { RND_ROUND, RND_TRUNC, RND_CEIL, RND_FLOOR }; enum
412 enum rounding_mode op) in build_fix_expr()
444 gfc_conv_intrinsic_aint (gfc_se * se, gfc_expr * expr, enum rounding_mode op) in gfc_conv_intrinsic_aint()
519 gfc_conv_intrinsic_int (gfc_se * se, gfc_expr * expr, enum rounding_mode op) in gfc_conv_intrinsic_int()
/netbsd-src/external/gpl3/gcc/dist/gcc/fortran/
H A Dtrans-intrinsic.cc140 enum rounding_mode { RND_ROUND, RND_TRUNC, RND_CEIL, RND_FLOOR }; enum
420 enum rounding_mode op) in build_fix_expr()
452 gfc_conv_intrinsic_aint (gfc_se * se, gfc_expr * expr, enum rounding_mode op) in gfc_conv_intrinsic_aint()
527 gfc_conv_intrinsic_int (gfc_se * se, gfc_expr * expr, enum rounding_mode op) in gfc_conv_intrinsic_int()
H A DChangeLog-2006682 * trans-intrinsic.c (enum rounding_mode): New enum.
/netbsd-src/external/gpl3/gdb/dist/sim/mips/
H A DChangeLog-20211437 (rounding_mode): New function.