]> git.ipfire.org Git - thirdparty/glibc.git/commit
Disable x87 inline functions for SSE2 math
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 29 Jan 2014 15:51:41 +0000 (07:51 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 29 Jan 2014 21:03:31 +0000 (13:03 -0800)
commite9586e58a55ea2a22b899bbb3adb5364f4b6596b
tree4ae71826560e475ffabea0b70f44f96c7c449dca
parentc972bcc9ebdb5c2601b6b34001c7450e7a0b5ea3
Disable x87 inline functions for SSE2 math

When i386 and x86-64 mathinline.h was merged into a single mathinline.h,
"gcc -m32" enables x87 inline functions on x86-64 even when -mfpmath=sse
and SSE2 is enabled.  It is a regression on x86-64.  We should check
__SSE2_MATH__ instead of __x86_64__ when disabling x87 inline functions.

(cherry picked from commit 409e00bd69b8d8dd74d7327085351d26769ea6fc)

Conflicts:
ChangeLog
NEWS
sysdeps/x86/fpu/bits/mathinline.h
ChangeLog
NEWS
sysdeps/x86/fpu/bits/mathinline.h