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]

Re: ABI change for ports with byte-aligned functions.


On May  6, 2001, Geoff Keating <geoffk@geoffk.org> wrote:

> 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 :-).

Then you'll probably break ARM/Thumb.  The fact that code must have
certain alignment properties doesn't necessarily say something about
properties of pointers to code.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


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