Searched refs:rmode (Results 1 - 25 of 27) sorted by relevance

12

/haiku-buildtools/gcc/libgcc/config/libbid/
H A Dbid64_quantize.c52 unsigned rmode, status; local
136 rmode = rnd_mode;
137 if (sign_x && (unsigned) (rmode - 1) < 2)
138 rmode = 3 - rmode;
140 rmode = 0;
143 rmode = 0;
145 coefficient_x += round_const_table[rmode][extra_digits];
182 switch (rmode) {
194 //if(!C64 && rmode
[all...]
H A Dbid_inline_add.h86 unsigned rmode, status; local
248 rmode = rounding_mode;
249 if (sign_s && (unsigned) (rmode - 1) < 2)
250 rmode = 3 - rmode;
252 rmode = 0;
255 rmode = 0;
257 coefficient_a += round_const_table[rmode][extra_digits];
273 rmode = rounding_mode;
274 if (sign_s && (unsigned) (rmode
477 int amount, rmode; local
516 int amount, amount2, rmode, status = 0; local
640 int amount, amount2, rmode, status = uf_status; local
813 int extra_dx, diff_dec2, bin_expon_cx, digits_x, rmode; local
1157 int digits_z, bin_expon, scale, rmode; local
[all...]
H A Dbid32_to_bid64.c83 int exponent_x, bin_expon_cx, extra_digits, rmode = 0, amount;
129 rmode = rnd_mode;
130 if (sign_x && (unsigned) (rmode - 1) < 2)
131 rmode = 3 - rmode;
133 rmode = 0;
136 rmode = 0;
143 if (coefficient_x + round_const_table[rmode][extra_digits] >=
149 coefficient_x += round_const_table[rmode][extra_digits];
160 if (rmode
[all...]
H A Dbid128_quantize.c34 int expon_diff, total_digits, bin_expon_cx, rmode, status; variable
138 rmode = rnd_mode;
139 if (sign_x && (unsigned) (rmode - 1) < 2)
140 rmode = 3 - rmode;
142 rmode = 0;
145 rmode = 0;
149 __add_128_128 (CX, CX, round_const_table_128[rmode][extra_digits]);
202 switch (rmode) {
253 rmode
[all...]
H A Dbid64_to_bid128.c82 unsigned rmode, status, uf_check = 0;
138 rmode = rnd_mode;
139 if (sign_x && (unsigned) (rmode - 1) < 2)
140 rmode = 3 - rmode;
142 rmode = 0;
145 rmode = 0;
153 T128 = round_const_table_128[rmode][extra_digits];
166 rmode = ROUNDING_TO_ZERO;
169 T128 = round_const_table_128[rmode][extra_digit
[all...]
H A Dbid32_to_bid128.c84 unsigned rmode, status;
139 rmode = rnd_mode;
140 if (sign_x && (unsigned) (rmode - 1) < 2)
141 rmode = 3 - rmode;
143 rmode = 0;
146 rmode = 0;
155 T128 = round_const_table_128[rmode][extra_digits];
168 rmode = ROUNDING_TO_ZERO;
171 T128 = round_const_table_128[rmode][extra_digit
[all...]
H A Dbid64_mul.c67 int rmode, digits_p, bp, amount, amount2, final_exponent, round_up; local
208 rmode = rnd_mode;
209 if (sign_x ^ sign_y && (unsigned) (rmode - 1) < 2)
210 rmode = 3 - rmode;
212 rmode = 0;
215 rmode = 0;
226 if (rmode == ROUNDING_UP)
233 __add_128_64 (PU, P, round_const_table[rmode][extra_digits]);
284 __add_128_64 (P, P, round_const_table[rmode][extra_digit
[all...]
H A Dbid64_add.c132 unsigned rmode, status; local
391 rmode = rnd_mode;
392 if (sign_s && (unsigned) (rmode - 1) < 2)
393 rmode = 3 - rmode;
395 rmode = 0;
398 rmode = 0;
400 coefficient_a += round_const_table[rmode][extra_digits];
416 rmode = rnd_mode;
417 if (sign_s && (unsigned) (rmode
[all...]
H A Dbid128_scalb.c37 int exponent_x, rmode; variable
91 rmode = rnd_mode;
92 get_BID128 (&res, sign_x, exponent_x, CX, (unsigned int *) &rmode,
H A Dbid64_scalb.c47 int exponent_x, rmode; local
101 rmode = rnd_mode;
102 res = get_BID64 (sign_x, exponent_x, coefficient_x, rmode, pfpsf);
H A Dbid_internal.h829 get_BID64 (UINT64 sgn, int expon, UINT64 coeff, int rmode, argument
851 if (rmode == ROUNDING_DOWN && sgn)
853 if (rmode == ROUNDING_UP && !sgn)
862 if (sgn && (unsigned) (rmode - 1) < 2)
863 rmode = 3 - rmode;
868 coeff += round_const_table[rmode][extra_digits];
881 if (rmode == 0) //ROUNDING_TO_NEAREST
912 switch (rmode) {
961 switch (rmode) {
1055 fast_get_BID64_check_OF(UINT64 sgn, int expon, UINT64 coeff, int rmode, unsigned *fpsc) argument
1176 get_BID64_UF(UINT64 sgn, int expon, UINT64 coeff, UINT64 R, int rmode, unsigned *fpsc) argument
1303 get_BID64_small_mantissa(UINT64 sgn, int expon, UINT64 coeff, int rmode, unsigned *fpsc) argument
1486 unsigned rmode, status; local
1631 unsigned rmode, status; local
2070 unsigned rmode = 0, status; local
2189 get_BID32(UINT32 sgn, int expon, UINT64 coeff, int rmode, unsigned *fpsc) argument
[all...]
H A Dbid64_fma.c76 bin_expon_product, rmode; local
431 rmode = rnd_mode;
432 if (sign_z && (unsigned) (rmode - 1) < 2)
433 rmode = 3 - rmode;
434 //__add_128_64(PU, CT, round_const_table[rmode][extra_digits]);
438 || (rmode == ROUNDING_DOWN)
439 || (rmode == ROUNDING_TO_ZERO))
442 if ((rmode == ROUNDING_UP)) {
458 remainder_y += round_const_table[rmode][1
[all...]
H A Dbid64_div.c94 int rmode, amount; local
463 rmode = rnd_mode;
464 if (sign_x ^ sign_y && (unsigned) (rmode - 1) < 2)
465 rmode = 3 - rmode;
466 switch (rmode) {
476 R -= ((Q | (rmode >> 2)) & 1);
507 rmode = rnd_mode;
509 get_BID64_UF (sign_x ^ sign_y, diff_expon, Q, R, rmode, pfpsf);
530 unsigned rmode; local
944 unsigned rmode; variable
[all...]
H A Dbid128_div.c47 unsigned rmode; variable
417 rmode = rnd_mode;
418 if (sign_x ^ sign_y && (unsigned) (rmode - 1) < 2)
419 rmode = 3 - rmode;
420 switch (rmode) {
498 unsigned rmode;
881 rmode = rnd_mode;
882 if (sign_x ^ sign_y && (unsigned) (rmode - 1) < 2)
883 rmode
[all...]
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/
H A Dpr32293.c28 get_BID32 (UINT32 sgn, int expon, UINT64 coeff, int rmode, argument
34 switch (rmode) {
/haiku-buildtools/gcc/gcc/config/mep/
H A Dmep.c2752 machine_mode rmode;
2762 rmode = DImode;
2764 rmode = SImode;
2770 mem = gen_rtx_MEM (rmode,
2773 maybe_dead_p = rtx_equal_p (mem, has_hard_reg_initial_val (rmode, i));
2776 F(maybe_dead_move (mem, gen_rtx_REG (rmode, i), maybe_dead_p));
2777 else if (rmode == DImode)
2803 gen_rtx_REG (rmode, i)));
2814 maybe_dead_move (gen_rtx_REG (rmode, REGSAVE_CONTROL_TEMP),
2815 gen_rtx_REG (rmode,
2744 machine_mode rmode; local
2984 machine_mode rmode; local
[all...]
/haiku-buildtools/gcc/gcc/
H A Dbuiltins.c4992 machine_mode fmode, imode, rmode;
5004 rmode = TYPE_MODE (TREE_TYPE (exp));
5066 if (bitpos < GET_MODE_BITSIZE (rmode))
5068 wide_int mask = wi::set_bit_in_zero (bitpos, GET_MODE_PRECISION (rmode));
5070 if (GET_MODE_SIZE (imode) > GET_MODE_SIZE (rmode))
5071 temp = gen_lowpart (rmode, temp);
5072 temp = expand_binop (rmode, and_optab, temp,
5073 immed_wide_int_const (mask, rmode),
5082 temp = gen_lowpart (rmode, temp);
5083 temp = expand_binop (rmode, and_opta
4991 machine_mode fmode, imode, rmode; local
11852 REAL_VALUE_TYPE rmode; local
[all...]
H A Dsimplify-rtx.c1362 machine_mode rmode = GET_MODE (rhs);
1373 bits += GET_MODE_PRECISION (rmode) - INTVAL (XEXP (rhs, 1));
1383 simplify_gen_unary (SIGN_EXTEND, mode, rhs, rmode));
1484 machine_mode rmode = GET_MODE (rhs);
1495 bits += GET_MODE_PRECISION (rmode) - INTVAL (XEXP (rhs, 1));
1505 simplify_gen_unary (ZERO_EXTEND, mode, rhs, rmode));
1354 machine_mode rmode = GET_MODE (rhs); local
1476 machine_mode rmode = GET_MODE (rhs); local
H A Dexpr.c4678 machine_mode rmode;
4684 &roffset, &rmode, &unsignedp, &volatilep, false);
7849 machine_mode rmode;
7875 rmode = GET_MODE (result);
7876 if (rmode == VOIDmode)
7877 rmode = tmode;
7878 if (rmode != tmode)
4666 machine_mode rmode; local
7829 machine_mode rmode; local
/haiku-buildtools/gcc/libdecnumber/
H A DdecBasic.c3780 /* rmode is the rounding mode to use */
3789 enum rounding rmode, Flag exact, Flag unsign) {
3811 set->round=rmode; /* set mode */
3871 /* rmode is the rounding mode to use */
3876 decContext *set, enum rounding rmode,
3903 set->round=rmode; /* set mode */
3788 decToInt32(const decFloat *df, decContext *set, enum rounding rmode, Flag exact, Flag unsign) argument
3875 decToIntegral(decFloat *result, const decFloat *df, decContext *set, enum rounding rmode, Flag exact) argument
/haiku-buildtools/legacy/binutils/gas/config/
H A Dtc-i370.c875 as_tsktsk ("rmode ignored");
2702 { "rmode", i370_rmode, 0 },
/haiku-buildtools/binutils/gas/config/
H A Dtc-i370.c874 as_tsktsk ("rmode ignored");
2658 { "rmode", i370_rmode, 0 },
/haiku-buildtools/legacy/gcc/gcc/
H A Dfold-const.c2736 enum machine_mode lmode, rmode, lnmode, rnmode = VOIDmode;
2757 rinner = get_inner_reference (rhs, &rbitsize, &rbitpos, &offset, &rmode,
2715 enum machine_mode lmode, rmode, lnmode, rnmode = VOIDmode; local
/haiku-buildtools/gcc/gcc/config/i386/
H A Di386.c36814 machine_mode rmode = VOIDmode; local
[all...]
/haiku-buildtools/gcc/gcc/config/arm/
H A Darm.c5606 machine_mode rmode = pcum->aapcs_vfp_rmode;
5611 if (rmode == V2SImode)
5612 rmode = DImode;
5613 else if (rmode == V4SImode)
5615 rmode = DImode;
5623 rtx tmp = gen_rtx_REG (rmode,
5627 GEN_INT (i * GET_MODE_SIZE (rmode)));
5599 machine_mode rmode = pcum->aapcs_vfp_rmode; local

Completed in 604 milliseconds

12