logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: amd64 alignment problem - gcc's fault or libpthread's?: msg#00034

Subject: Re: amd64 alignment problem - gcc's fault or libpthread's?
fvdl@xxxxxxxxxx said:
> Yes, the ABI requires a 16-byte stack alignment.

So it seems I have to retract my gcc PR...

> The stack setup in libpthread is.. well. I don't like it.

I'm not sure I understand all the details, but the appended patch
helps for me.

> The movaps instruction is used to save the float arguments pased
> to the varargs function (passed in %rax).

Yes, the way this is done -- computed goto or so - is
interesting too...

best regards
Matthias


Attachment: mc.txt
Description: mc.txt

<Prev in Thread] Current Thread [Next in Thread>