This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Disable x87 inline functions when SSE math is enabled


On Thu, Jun 14, 2012 at 11:01 AM, Roland McGrath <roland@hack.frob.com> wrote:
> I think this is probably OK, but I just don't know that much about the area.
> Does this leave any function that previously had an inline and now has none?
>
> The GCC manual seems to indicate that -mfpath=sse -msse (without -msse2)
> will use x87 code for double-precision operations. ?So it seems appropriate
> that this mode have x87 inlines for double libm calls too.

It makes no difference for x86-64 since SSE2 is available.
But it will change ia32. I think it is too late for 2.16.

Here is the updated patch to only disable x87 inline functions for x86-64.
It makes -m32 and -m64 behave the same as before.  OK to install?

Thanks.


-- 
H.J.

Attachment: 0001-Disable-x87-inline-functions-for-x86-64.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]