From b757b9f8b210b691f72fe418db8c0767bda54cb7 Mon Sep 17 00:00:00 2001 From: Pat Haugen Date: Mon, 18 Oct 2004 18:46:06 +0000 Subject: simplify-rtx.c (mode_signbit_p): Externalize function... 2004-10-18 Pat Haugen * simplify-rtx.c (mode_signbit_p): Externalize function... * rtl.h (mode_signbit_p): ... to here. * combine.c (simplify_shift_const): Recognize PLUS signbit as canonical form of XOR signbit and move to outer op. From-SVN: r89235 --- gcc/simplify-rtx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gcc/simplify-rtx.c') diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c index 7236bbf..4af468a 100644 --- a/gcc/simplify-rtx.c +++ b/gcc/simplify-rtx.c @@ -50,7 +50,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA ((((HOST_WIDE_INT) low) < 0) ? ((HOST_WIDE_INT) -1) : ((HOST_WIDE_INT) 0)) static rtx neg_const_int (enum machine_mode, rtx); -static bool mode_signbit_p (enum machine_mode, rtx); static int simplify_plus_minus_op_data_cmp (const void *, const void *); static rtx simplify_plus_minus (enum rtx_code, enum machine_mode, rtx, rtx, int); @@ -72,7 +71,7 @@ neg_const_int (enum machine_mode mode, rtx i) /* Test whether expression, X, is an immediate constant that represents the most significant bit of machine mode MODE. */ -static bool +bool mode_signbit_p (enum machine_mode mode, rtx x) { unsigned HOST_WIDE_INT val; -- cgit v1.1