diff options
author | Kenneth Zadeck <zadeck@naturalbridge.com> | 2012-06-02 16:08:39 +0000 |
---|---|---|
committer | Kenneth Zadeck <zadeck@gcc.gnu.org> | 2012-06-02 16:08:39 +0000 |
commit | 49ab6098eefb9414d849b79df3f27cfc82c3ffe6 (patch) | |
tree | 54bcdf56261e3cfcb1001f1f939e53c80efd210e /gcc/double-int.c | |
parent | e3c888eb0e3923981bcb914f818c29a054843d9e (diff) | |
download | gcc-49ab6098eefb9414d849b79df3f27cfc82c3ffe6.tar.gz |
2012-06-2 Kenneth Zadeck <zadeck@naturalbridge.com>
* expmed.c (expand_mult, choose_multiplier): Change "2 *
HOST_BITS_PER_WIDE_INT" to "HOST_BITS_PER_DOUBLE_INT".
* expr.c (convert_modes): Likewise.
* explow.c (plus_constant): Likewise.
* fixed-value.c (fixed_saturate1, fixed_saturate2)
(do_fixed_add, do_fixed_multiply, do_fixed_multiply)
(do_fixed_multiply, do_fixed_multiply, do_fixed_divide)
(do_fixed_divide, do_fixed_divide, do_fixed_divide)
(do_fixed_divide, do_fixed_divide, do_fixed_shift, do_fixed_shift)
(do_fixed_shift, fixed_convert, fixed_convert)
(fixed_convert_from_int, fixed_convert_from_int)
(fixed_convert_from_real): Likewise.
* fold-const.c (fold_convert_const_int_from_fixed, sign_bit_p)
(native_interpret_int, fold_binary_loc, fold_ternary_loc): Likewise.
* varasm.c (output_constructor_bitfield): Likewise.
* tree-vrp.c (register_edge_assert_for_2): Likewise.
* double-int.c (rshift_double, lshift_double): Likewise.
* double-int.h (double_int_fits_in_uhwi_p, double_int, double_int): Likewise.
* simplify-rtx.c (mode_signbit_p)
(simplify_const_unary_operation, simplify_binary_operation_1)
(simplify_immed_subreg): Likewise.
* builtins.c (c_readstr, fold_builtin_bitop): Likewise.
* tree-vect-generic.c (build_replicated_const): Likewise.
* dbxout.c (stabstr_O): Likewise.
* emit-rtl.c (immed_double_int_const, immed_double_const)
(gen_lowpart_common, init_emit_once): Likewise.
* tree.c (integer_pow2p, tree_log2, tree_floor_log2)
(widest_int_cst_value, upper_bound_in_type): Likewise.
* stor-layout.c (initialize_sizetypes, fixup_signed_type)
(fixup_unsigned_type): Likewise.
* real.c (real_to_integer2, real_from_integer): Likewise.
* dwarf2out.c (size_of_loc_descr, size_of_die, output_die)
(clz_loc_descriptor, mem_loc_descriptor): Likewise.
From-SVN: r188139
Diffstat (limited to 'gcc/double-int.c')
-rw-r--r-- | gcc/double-int.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/double-int.c b/gcc/double-int.c index 3a51bd35d00..ff31c5c57e7 100644 --- a/gcc/double-int.c +++ b/gcc/double-int.c @@ -206,7 +206,7 @@ rshift_double (unsigned HOST_WIDE_INT l1, HOST_WIDE_INT h1, if (SHIFT_COUNT_TRUNCATED) count %= prec; - if (count >= 2 * HOST_BITS_PER_WIDE_INT) + if (count >= HOST_BITS_PER_DOUBLE_INT) { /* Shifting by the host word size is undefined according to the ANSI standard, so we must handle this as a special case. */ @@ -233,7 +233,7 @@ rshift_double (unsigned HOST_WIDE_INT l1, HOST_WIDE_INT h1, *hv = signmask; *lv = signmask; } - else if ((prec - count) >= 2 * HOST_BITS_PER_WIDE_INT) + else if ((prec - count) >= HOST_BITS_PER_DOUBLE_INT) ; else if ((prec - count) >= HOST_BITS_PER_WIDE_INT) { @@ -270,7 +270,7 @@ lshift_double (unsigned HOST_WIDE_INT l1, HOST_WIDE_INT h1, if (SHIFT_COUNT_TRUNCATED) count %= prec; - if (count >= 2 * HOST_BITS_PER_WIDE_INT) + if (count >= HOST_BITS_PER_DOUBLE_INT) { /* Shifting by the host word size is undefined according to the ANSI standard, so we must handle this as a special case. */ @@ -296,7 +296,7 @@ lshift_double (unsigned HOST_WIDE_INT l1, HOST_WIDE_INT h1, >> (prec - HOST_BITS_PER_WIDE_INT - 1)) : (*lv >> (prec - 1))) & 1); - if (prec >= 2 * HOST_BITS_PER_WIDE_INT) + if (prec >= HOST_BITS_PER_DOUBLE_INT) ; else if (prec >= HOST_BITS_PER_WIDE_INT) { |