This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Honor FLOAT_STORE_FLAG_VALUE in simplify_rtx


Roger Sayle <roger@eyesopen.com> writes:

> The following patch is another small step towards unification of
> GCC's RTL simplification routines.  This change adds support for
> FLOAT_STORE_FLAG_VALUE to both simplify_rtx and simplify_replace_rtx.
> It also adds the simplification of (lo_sum (high X) X) as X to
> simplify_rtx.  These changes should allow simplification of CSE,
> combine and the inliner by reusing simplify_rtx without loss of
> functionality.
> 
> The following patch has been tested on both i686-pc-linux-gnu and
> alphaev67-dec-osf5.1 (which defines FLOAT_STORE_FLAG_VALUE) with a
> full "make bootstrap", all languages except treelang (on both) and
> ada (on Tru64), and then regression tested with a top-level "make
> -k check" with no new failures.
> 
> Ok for mainline?

OK.

> 
> 2003-07-16  Roger Sayle  <roger@eyesopen.com>
> 
> 	* simplify-rtx.c (simplify_replace_rtx): Convert constant comparisons
> 	to MODE_FLOAT constants if FLOAT_STORE_FLAG_VALUE is defined.
> 	(simplify_rtx): Likewise.  Simplify (lo_sum (high X) X) as X.
-- 
- Geoffrey Keating <geoffk@geoffk.org>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]