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



"David S. Miller" <davem@redhat.com> writes:

>    Date: Tue, 21 Nov 2000 23:01:19 -0800
>    From: Richard Henderson <rth@redhat.com>
> 
>    This is a STRICT_ALIGNMENT machine, therefore DFmode and DImode
>    operands must be 8-byte aligned, thus the EXTRA_CONSTRAINT check
>    ought to be redundant, no?
> 
> I remember there were some issues with var-args, which could make
> "long long" and other DF/DI mode values go into the stack only 4-byte
> aligned.  This case needed to be handled, and I am pretty sure this is
> where all the wacky constraint stuff comes from.

Then all that code didn't work, because I recently changed the sparc
varargs code to explicitly copy 8-byte values to a temporary because
multiple varargs testcases were failing.  So it can all probably go away.

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