c/859: sparc-specific pessimal code for simple loop

Geoff Keating geoffk@geoffk.org
Thu Nov 23 08:56:00 GMT 2000


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>


More information about the Gcc-bugs mailing list