aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorMike Stump <mikestump@comcast.net>2012-04-04 20:27:17 +0000
committerMike Stump <mrs@gcc.gnu.org>2012-04-04 20:27:17 +0000
commit929e10f4cf1e7f683d36b505e3a1aabc6e85dd57 (patch)
treedbe6160ad6febabb7998df1b736a4d686b578623 /gcc/rtl.h
parentb059fba46902f67bf76c5e80da28b423778ced1f (diff)
downloadgcc-929e10f4cf1e7f683d36b505e3a1aabc6e85dd57.zip
gcc-929e10f4cf1e7f683d36b505e3a1aabc6e85dd57.tar.gz
gcc-929e10f4cf1e7f683d36b505e3a1aabc6e85dd57.tar.bz2
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
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 30931b7..915ef13 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -1644,6 +1644,7 @@ extern int ceil_log2 (unsigned HOST_WIDE_INT);
/* In explow.c */
extern HOST_WIDE_INT trunc_int_for_mode (HOST_WIDE_INT, enum machine_mode);
extern rtx plus_constant (rtx, HOST_WIDE_INT);
+extern rtx plus_constant_mode (enum machine_mode, rtx, HOST_WIDE_INT);
/* In rtl.c */
extern rtx rtx_alloc_stat (RTX_CODE MEM_STAT_DECL);