]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/emit-rtl.c
rtl.texi (const_double): Document as sign-extending.
authorMike Stump <mikestump@comcast.net>
Wed, 4 Apr 2012 20:27:17 +0000 (20:27 +0000)
committerMike Stump <mrs@gcc.gnu.org>
Wed, 4 Apr 2012 20:27:17 +0000 (20:27 +0000)
commit929e10f4cf1e7f683d36b505e3a1aabc6e85dd57
treedbe6160ad6febabb7998df1b736a4d686b578623
parentb059fba46902f67bf76c5e80da28b423778ced1f
rtl.texi (const_double): Document as sign-extending.

* 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.

From-SVN: r186147
gcc/ChangeLog
gcc/doc/rtl.texi
gcc/emit-rtl.c
gcc/explow.c
gcc/expmed.c
gcc/rtl.h
gcc/simplify-rtx.c