This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: ABI change for ports with byte-aligned functions.
- To: geoffk at geoffk dot org
- Subject: Re: ABI change for ports with byte-aligned functions.
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Date: Sat, 12 May 01 06:58:22 EDT
- Cc: gcc-patches at gcc dot gnu dot org
On a machine where logical operations are faster, both the +1 and the
-1 can be converted into OR and AND respectively. I thought GCC did
the first of these, but apparently it can't propagate the information
about pointer alignment down into combine. (I'm half-tempted to fix
this just to prove my point :-).
There *was* code in combine to do just that. I wonder why it doesn't anymore.