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/tree.c | |
parent | e3c888eb0e3923981bcb914f818c29a054843d9e (diff) | |
download | gcc-49ab6098eefb9414d849b79df3f27cfc82c3ffe6.zip gcc-49ab6098eefb9414d849b79df3f27cfc82c3ffe6.tar.gz gcc-49ab6098eefb9414d849b79df3f27cfc82c3ffe6.tar.bz2 |
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/tree.c')
-rw-r--r-- | gcc/tree.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1872,7 +1872,7 @@ integer_pow2p (const_tree expr) /* First clear all bits that are beyond the type's precision in case we've been sign extended. */ - if (prec == 2 * HOST_BITS_PER_WIDE_INT) + if (prec == HOST_BITS_PER_DOUBLE_INT) ; else if (prec > HOST_BITS_PER_WIDE_INT) high &= ~((HOST_WIDE_INT) (-1) << (prec - HOST_BITS_PER_WIDE_INT)); @@ -1936,7 +1936,7 @@ tree_log2 (const_tree expr) /* First clear all bits that are beyond the type's precision in case we've been sign extended. */ - if (prec == 2 * HOST_BITS_PER_WIDE_INT) + if (prec == HOST_BITS_PER_DOUBLE_INT) ; else if (prec > HOST_BITS_PER_WIDE_INT) high &= ~((HOST_WIDE_INT) (-1) << (prec - HOST_BITS_PER_WIDE_INT)); @@ -1973,7 +1973,7 @@ tree_floor_log2 (const_tree expr) we've been sign extended. Ignore if type's precision hasn't been set since what we are doing is setting it. */ - if (prec == 2 * HOST_BITS_PER_WIDE_INT || prec == 0) + if (prec == HOST_BITS_PER_DOUBLE_INT || prec == 0) ; else if (prec > HOST_BITS_PER_WIDE_INT) high &= ~((HOST_WIDE_INT) (-1) << (prec - HOST_BITS_PER_WIDE_INT)); @@ -10201,7 +10201,7 @@ widest_int_cst_value (const_tree x) unsigned HOST_WIDEST_INT val = TREE_INT_CST_LOW (x); #if HOST_BITS_PER_WIDEST_INT > HOST_BITS_PER_WIDE_INT - gcc_assert (HOST_BITS_PER_WIDEST_INT >= 2 * HOST_BITS_PER_WIDE_INT); + gcc_assert (HOST_BITS_PER_WIDEST_INT >= HOST_BITS_PER_DOUBLE_INT); val |= (((unsigned HOST_WIDEST_INT) TREE_INT_CST_HIGH (x)) << HOST_BITS_PER_WIDE_INT); #else @@ -10319,7 +10319,7 @@ upper_bound_in_type (tree outer, tree inner) else { high.high = ((~(unsigned HOST_WIDE_INT) 0) - >> (2 * HOST_BITS_PER_WIDE_INT - prec)); + >> (HOST_BITS_PER_DOUBLE_INT - prec)); high.low = ~(unsigned HOST_WIDE_INT) 0; } |