This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Arg pointer and SSE code
Richard Henderson <rth@redhat.com> writes:
> On Wed, Feb 21, 2001 at 08:52:20PM +0100, Jan Hubicka wrote:
> > Enabling -msse makes gcc to always use register 4 for arg pointer
> > (if I am not mistaken) independently whether TImodes are used or not.
>
> Yes, this is a major problem.
>
> > Question remains, how to determine if we need the alignment code.
>
> cfun->stack_alignment_needed? That might change through
> different rounds of reload, as TImode values get spilled,
> but elimination is prepared for that sort of thing.
Is this taking into account the fact that we need the alignment code
anytime we want to use movaps?
I never saw it get set in that case, which is one of the reasons we just always
outputted both entry points in all cases, and just used the aligned
one if it was in the same file.
Or are we talkiing about different alignment code.
--Dan
>
>
> r~