This is the mail archive of the gcc-bugs@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: c/859: sparc-specific pessimal code for simple loop



Richard Henderson <rth@redhat.com> writes:

> On Wed, Nov 22, 2000 at 01:00:27PM -0800, Jim Wilson wrote:
> > No.  The old 32-bit ABI only guarantees a max of 4-byte alignment.
> 
> Phooey.
> 
> Perhaps the solution, then, is to adjust the predicates
> such that we only accept offsettable memory operands,
> which would make the e/o alternatives match, which would
> prevent some of the silly reloads we're getting.

[I tried to comment on this earlier, but got a bounce message...]

Note that I had to add code to sparc.c to copy varargs arguments
through an aligned temporary, so it might be now that
you can assume all things are 8-byte-aligned.

-- 
- 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]