This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Save and restore SSE registers in _dl_runtime_resolve.
On Tue, May 11, 2010 at 10:23:45AM -0700, Richard Henderson wrote:
> On 05/11/2010 09:26 AM, Joe Damato wrote:
> > Hi,
> >
> > It seems that _dl_runtime_resolve should be saving and restoring the
> > SSE registers to comply with the amd64 ABI, unless I am reading it
> > incorrectly (and I very well could be).
>
> We only need to do that if the dynamic linker clobbers
> those registers, and it should not.
Can we be sure, with modern gcc and auto-parallelization? Or are we
taking some countermeasures against this that I'm not seeing?
Petr "Pasky" Baudis