Searched refs:sgn (Results 1 - 25 of 48) sorted by relevance

12

/haiku-buildtools/gcc/gcc/testsuite/gcc.target/i386/
H A Dcmov7.c13 sgn (double __x) function
H A Dpr17390.c4 double sgn (double __x) function
/haiku-buildtools/binutils/gas/testsuite/gas/tic54x/
H A Dmath.s27 .int $sgn(-1.0)
28 .int $sgn(0)
29 .int $sgn(1)
/haiku-buildtools/legacy/binutils/gas/testsuite/gas/tic54x/
H A Dmath.s27 .int $sgn(-1.0)
28 .int $sgn(0)
29 .int $sgn(1)
/haiku-buildtools/gcc/gcc/
H A Dwide-int-print.h30 extern void print_dec (const wide_int_ref &wi, char *buf, signop sgn);
31 extern void print_dec (const wide_int_ref &wi, FILE *file, signop sgn);
H A Dwide-int-print.cc37 print_dec (const wide_int_ref &wi, char *buf, signop sgn) argument
39 if (sgn == SIGNED)
46 print_dec (const wide_int_ref &wi, FILE *file, signop sgn) argument
48 if (sgn == SIGNED)
H A Dwide-int.h533 SHIFT_FUNCTION rshift (const T1 &, const T2 &, signop sgn);
970 signop sgn);
1071 signop sgn)
1075 x.precision, precision, sgn));
1207 fixed_wide_int_storage <N>::from (const wide_int_ref &x, signop sgn) argument
1211 x.precision, N, sgn));
1464 signop sgn; member in struct:wi::hwi_with_prec
1478 : val (v), precision (p), sgn (s)
1553 if (x.sgn == SIGNED || x.val >= 0 || precision <= HOST_BITS_PER_WIDE_INT)
1682 wi::neg_p (const T &x, signop sgn) argument
1070 from(const wide_int_ref &x, unsigned int precision, signop sgn) argument
1807 lt_p(const T1 &x, const T2 &y, signop sgn) argument
1834 le_p(const T1 &x, const T2 &y, signop sgn) argument
1861 gt_p(const T1 &x, const T2 &y, signop sgn) argument
1888 ge_p(const T1 &x, const T2 &y, signop sgn) argument
1979 cmp(const T1 &x, const T2 &y, signop sgn) argument
2077 ext(const T &x, unsigned int offset, signop sgn) argument
2104 min(const T1 &x, const T2 &y, signop sgn) argument
2135 max(const T1 &x, const T2 &y, signop sgn) argument
2313 add(const T1 &x, const T2 &y, signop sgn, bool *overflow) argument
2386 sub(const T1 &x, const T2 &y, signop sgn, bool *overflow) argument
2436 mul(const T1 &x, const T2 &y, signop sgn, bool *overflow) argument
2470 mul_high(const T1 &x, const T2 &y, signop sgn) argument
2487 div_trunc(const T1 &x, const T2 &y, signop sgn, bool *overflow) argument
2522 div_floor(const T1 &x, const T2 &y, signop sgn, bool *overflow) argument
2564 div_ceil(const T1 &x, const T2 &y, signop sgn, bool *overflow) argument
2589 div_round(const T1 &x, const T2 &y, signop sgn, bool *overflow) argument
2631 divmod_trunc(const T1 &x, const T2 &y, signop sgn, WI_BINARY_RESULT (T1, T2) *remainder_ptr) argument
2656 mod_trunc(const T1 &x, const T2 &y, signop sgn, bool *overflow) argument
2695 mod_floor(const T1 &x, const T2 &y, signop sgn, bool *overflow) argument
2731 mod_ceil(const T1 &x, const T2 &y, signop sgn, bool *overflow) argument
2757 mod_round(const T1 &x, const T2 &y, signop sgn, bool *overflow) argument
2799 multiple_of_p(const T1 &x, const T2 &y, signop sgn) argument
2808 multiple_of_p(const T1 &x, const T2 &y, signop sgn, WI_BINARY_RESULT (T1, T2) *res) argument
2946 rshift(const T1 &x, const T2 &y, signop sgn) argument
3028 min_precision(const T &x, signop sgn) argument
[all...]
H A Dwide-int.cc203 wi::to_mpz (const wide_int_ref &x, mpz_t result, signop sgn) argument
209 if (wi::neg_p (x, sgn))
312 wi::max_value (unsigned int precision, signop sgn) argument
315 if (sgn == UNSIGNED)
326 wi::min_value (unsigned int precision, signop sgn) argument
329 if (sgn == UNSIGNED)
350 unsigned int precision, signop sgn)
362 if (sgn == UNSIGNED)
393 unsigned int index, signop sgn)
398 else if (index < blocks_needed || sgn
348 force_to_size(HOST_WIDE_INT *val, const HOST_WIDE_INT *xval, unsigned int xlen, unsigned int xprecision, unsigned int precision, signop sgn) argument
1124 add_large(HOST_WIDE_INT *val, const HOST_WIDE_INT *op0, unsigned int op0len, const HOST_WIDE_INT *op1, unsigned int op1len, unsigned int prec, signop sgn, bool *overflow) argument
[all...]
H A Dtree-ssa-ccp.c1226 signop sgn; local
1229 sgn = TYPE_SIGN (rtype);
1230 *mask = wi::ext (rmask, TYPE_PRECISION (rtype), sgn);
1231 *val = wi::ext (rval, TYPE_PRECISION (rtype), sgn);
1234 sgn = TYPE_SIGN (type);
1235 *mask = wi::ext (*mask, TYPE_PRECISION (type), sgn);
1236 *val = wi::ext (*val, TYPE_PRECISION (type), sgn);
1257 signop sgn = TYPE_SIGN (type); local
1347 *mask = wi::rshift (wi::ext (r1mask, width, sgn), shift, sgn);
[all...]
H A Dtree-affine.c494 widest_int off, sgn; local
513 sgn = -1;
518 sgn = 1;
520 return add_elt_to_tree (expr, type, wide_int_to_tree (type1, off), sgn,
872 signop sgn = TYPE_SIGN (val->type); local
874 sgn = SIGNED;
878 print_dec (val->offset, file, sgn);
888 print_dec (val->elts[i].coef, file, sgn);
H A Dfixed-value.c170 signop sgn = UNSIGNED_FIXED_POINT_MODE_P (f_orig->mode) ? UNSIGNED : SIGNED; local
174 GET_MODE_PRECISION (f_orig->mode), sgn),
175 sgn);
1116 signop sgn = UNSIGNED_FIXED_POINT_MODE_P (f->mode) ? UNSIGNED : SIGNED; local
1120 sgn), sgn);
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/
H A Dpr32293.c28 get_BID32 (UINT32 sgn, int expon, UINT64 coeff, int rmode, argument
33 r = sgn | 0x78000000ul;
36 if (sgn)
37 r = sgn | 0x77f8967f;
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/debug/
H A Dra1.C42 signop sgn; member in struct:hwi_with_prec
50 if (x.sgn == SIGNED || x.val >= 0 || precision <= sizeof (long) * 8)
74 x.sgn = (signop) tree_class_check (type, tcc_type, 2)->base.unsigned_flag;
/haiku-buildtools/isl/
H A Disl_dim_map.c20 int sgn; member in struct:isl_dim_map_entry
39 dim_map->m[0].sgn = 1;
41 dim_map->m[1 + i].sgn = 0;
59 dim_map->m[d].sgn = sign;
76 dim_map->m[1 + dst_pos + i].sgn = 1;
99 dim_map->m[1 + dst_pos + i].sgn = 1;
109 dim_map->m[i].sgn, dim_map->m[i].pos);
119 if (dim_map->m[i].sgn == 0)
121 else if (dim_map->m[i].sgn > 0)
202 res->m[dim_map->len + i].sgn
[all...]
H A Disl_tab.c643 * (sgn > 0) or a decrease (sgn < 0) of the corresponding variable.
651 * Only rows with x_r >= 0 and with the sign of a_ri opposite to "sgn"
659 * where -sign(a_jc) is equal to "sgn".
662 struct isl_tab_var *var, int sgn, int c)
675 if (sgn * isl_int_sgn(tab->mat->row[j][off + c]) >= 0)
681 tsgn = sgn * row_cmp(tab, r, j, c, t);
690 /* Find a pivot (row and col) that will increase (sgn > 0) or decrease
691 * (sgn < 0) the value of row variable var.
699 * we need to find a column such that the sign of a_ri is equal to "sgn"
661 pivot_row(struct isl_tab *tab, struct isl_tab_var *var, int sgn, int c) argument
706 find_pivot(struct isl_tab *tab, struct isl_tab_var *var, struct isl_tab_var *skip_var, int sgn, int *row, int *col) argument
1102 int sgn; local
1782 int sgn; local
1970 int sgn; local
2332 int sgn; local
2486 int sgn; local
2690 int sgn; local
2837 int sgn = sign_of_min(tab, var); local
3064 int sgn = restore_row(tab, var); local
[all...]
H A Disl_fold.c252 int sgn = 0; local
266 sgn = 1;
273 sgn = -1;
278 return sgn;
311 int sgn = 0; local
370 sgn = isl_qpolynomial_sign(set, r);
372 sgn = isl_qpolynomial_sign(set, q);
378 sgn = sgn_r;
391 return sgn;
439 int sgn; local
1112 int sgn; local
[all...]
/haiku-buildtools/gcc/libgcc/config/libbid/
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)
858 return sgn;
862 if (sgn && (unsigned) (rmode - 1) < 2)
949 return sgn | C64;
960 r = sgn | INFINITY_MASK64;
963 if (!sgn)
967 r = sgn | LARGEST_BID64;
971 if (sgn)
1016 fast_get_BID64(UINT64 sgn, int expon, UINT64 coeff) argument
1055 fast_get_BID64_check_OF(UINT64 sgn, int expon, UINT64 coeff, int rmode, unsigned *fpsc) argument
1132 very_fast_get_BID64(UINT64 sgn, int expon, UINT64 coeff) argument
1161 very_fast_get_BID64_small_mantissa(UINT64 sgn, int expon, UINT64 coeff) 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
1481 handle_UF_128_rem(UINT128 * pres, UINT64 sgn, int expon, UINT128 CQ, UINT64 R, unsigned *prounding_mode, unsigned *fpsc) argument
1626 handle_UF_128(UINT128 * pres, UINT64 sgn, int expon, UINT128 CQ, unsigned *prounding_mode, unsigned *fpsc) argument
1881 get_BID128_very_fast_OF(UINT128 * pres, UINT64 sgn, int expon, UINT128 coeff, unsigned *prounding_mode, unsigned *fpsc) argument
1945 get_BID128_very_fast(UINT128 * pres, UINT64 sgn, int expon, UINT128 coeff) argument
1961 get_BID128_fast(UINT128 * pres, UINT64 sgn, int expon, UINT128 coeff) argument
1985 get_BID128(UINT128 * pres, UINT64 sgn, int expon, UINT128 coeff, unsigned *prounding_mode, unsigned *fpsc) argument
2067 get_BID128_string(UINT128 * pres, UINT64 sgn, int expon, UINT128 coeff) argument
2189 get_BID32(UINT32 sgn, int expon, UINT64 coeff, int rmode, unsigned *fpsc) argument
2358 very_fast_get_BID32(UINT32 sgn, int expon, UINT32 coeff) argument
[all...]
/haiku-buildtools/binutils/gas/testsuite/gas/ppc/
H A Dxcoff-br16-1.d8 vaddr sgn mod sz type symndx symbol
H A Dxcoff-br16-2.d8 vaddr sgn mod sz type symndx symbol
/haiku-buildtools/gcc/mpfr/tests/
H A Dtsubnormal.c97 const char *sgn = s ? "-" : ""; local
100 sgn, tab[i].in, sgn, tab[i].out);
/haiku-buildtools/gcc/libsanitizer/sanitizer_common/
H A Dsanitizer_libc.cc205 int sgn = 1; local
210 sgn = 1;
213 sgn = -1;
226 if (sgn > 0) {
/haiku-buildtools/gcc/gmp/demos/perl/
H A Dtest.pl2105 # GMP::sgn
2107 ok (sgn(-123) == -1);
2108 ok (sgn(0) == 0);
2109 ok (sgn(123) == 1);
2111 ok (sgn($uv_max) == 1);
2113 ok (sgn(-123.0) == -1);
2114 ok (sgn(0.0) == 0);
2115 ok (sgn(123.0) == 1);
2117 ok (sgn('-123') == -1);
2118 ok (sgn('
[all...]
/haiku-buildtools/gcc/gmp/tests/cxx/
H A Dt-ops.cc77 // sgn
80 int b = sgn(a); ASSERT_ALWAYS(b == 1);
84 int b = sgn(a); ASSERT_ALWAYS(b == 0);
88 int b = sgn(a); ASSERT_ALWAYS(b == -1);
447 // sgn
450 int b = sgn(a); ASSERT_ALWAYS(b == 1);
454 int b = sgn(a); ASSERT_ALWAYS(b == 0);
458 int b = sgn(a); ASSERT_ALWAYS(b == -1);
617 // sgn
620 int b = sgn(
[all...]
/haiku-buildtools/gcc/libquadmath/math/
H A Djnq.c73 int32_t i, ix, sgn; local
104 sgn = (n & 1) & (se >> 31); /* even n -- 0, odd n -- sign(x) */
289 if (sgn == 1)
/haiku-buildtools/gcc/mpfr/src/
H A Dgamma.c291 int underflow = 0, sgn, ck; local
319 sgn = mpfr_sgn (tmp);
344 return mpfr_underflow (gamma, (rnd_mode == MPFR_RNDN) ? MPFR_RNDZ : rnd_mode, -sgn);

Completed in 432 milliseconds

12