[PATCH] Move stuff to simplify-rtx.c, 9/13 - IOR
Paolo Bonzini
paolo.bonzini@lu.unisi.ch
Wed Dec 14 07:26:00 GMT 2005
This patch is the one I had already sent, split into thirteen pieces. I
hope it's easier to review it. This one moves IOR simplifications to
simplify-rtx.c, one of which was strangely enough under "case AND" of
simplify_logical. There is a non-trivial change, for the simplification
of (ior (ashiftrt (plus REG (const-int M)) K) (const-int N)) to (ashift
RT (plus REG (const-int C) K) where C = M+(N<<K). Modifying the code to
not use SUBST is a bit complicated, but using plus_constant makes it easier.
The patch set was bootstrapped and regtested all in one, on
powerpc-apple-darwin8.3.0 and i686-pc-linux-gnu.
Paolo
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: combine-ior.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20051214/189550c8/attachment.ksh>
More information about the Gcc-patches
mailing list