* doc/rtl.texi (const_double): Document as sign-extending.
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 4 Apr 2012 20:27:17 +0000 (20:27 +0000)
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 4 Apr 2012 20:27:17 +0000 (20:27 +0000)
commitdb20fb4785ee648ca9ff51a2530bf5d1e9d06427
treedbe6160ad6febabb7998df1b736a4d686b578623
parentf450da21479a2fae2c1acab5409a603541fca144
* doc/rtl.texi (const_double): Document as sign-extending.
* expmed.c (expand_mult): Ensure we don't use shift
incorrectly.
* emit-rtl.c (immed_double_int_const): Refine to state the
value is signed.
* simplify-rtx.c (mode_signbit_p): Add a fixme for wider than
CONST_DOUBLE integers.
(simplify_const_unary_operation, UNSIGNED_FLOAT): Ensure no
negative values are converted.  Fix conversions bigger than
HOST_BITS_PER_WIDE_INT.
(simplify_binary_operation_1): Ensure we don't use shift
incorrectly.
(simplify_immed_subreg): Sign-extend CONST_DOUBLEs.
* explow.c (plus_constant_mode): Add.
(plus_constant): Implement with plus_constant_mode.
* rtl.h (plus_constant_mode): Add.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186147 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/doc/rtl.texi
gcc/emit-rtl.c
gcc/explow.c
gcc/expmed.c
gcc/rtl.h
gcc/simplify-rtx.c