aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>1999-07-22 18:21:31 -0700
committerRichard Henderson <rth@gcc.gnu.org>1999-07-22 18:21:31 -0700
commit7e4ce834b2867f4c7bb2b44e434f5d2778e23ca3 (patch)
treedcae196cb9448ce862621b3d77db8a0bae222ce2 /gcc/rtl.h
parent27b8d0cd535f663df34c8264ee48e3034a663c38 (diff)
downloadgcc-7e4ce834b2867f4c7bb2b44e434f5d2778e23ca3.zip
gcc-7e4ce834b2867f4c7bb2b44e434f5d2778e23ca3.tar.gz
gcc-7e4ce834b2867f4c7bb2b44e434f5d2778e23ca3.tar.bz2
explow.c (trunc_int_for_mode): New function.
* explow.c (trunc_int_for_mode): New function. (plus_constant_wide): Use it. * combine.c (simplify_and_const_int): Likewise. (merge_outer_ops): Likewise. (simplify_shift_const): Likewise. * cse.c (simplify_unary_operation): Likewise. (simplify_binary_operation): Likewise. * emit-rtl.c (operand_subword): Likewise. * rtl.h: Declare it. From-SVN: r28222
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 8eba5ea..520fa82 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -909,6 +909,8 @@ extern int ceil_log2 PROTO((unsigned HOST_WIDE_INT));
plus_constant_for_output_wide (X, (HOST_WIDE_INT) (C))
/* In explow.c */
+extern HOST_WIDE_INT trunc_int_for_mode PROTO((HOST_WIDE_INT,
+ enum machine_mode));
extern rtx plus_constant_wide PROTO((rtx, HOST_WIDE_INT));
extern rtx plus_constant_for_output_wide PROTO((rtx, HOST_WIDE_INT));
extern void optimize_save_area_alloca PROTO((rtx));