glibc/sysdeps
Siddhesh Poyarekar 508ce3acd9 Disable x87 inline functions for x86_64 and SSE [BZ #17262]
Since:

commit 409e00bd69
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Jan 29 07:51:41 2014 -0800

    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.

gcc-3.2 is unable to correctly compile x86_64 routines for llrint
since it gets redefined.  This is because gcc 3.2 does not set
__SSE2_MATH__ for x86_64, thus exposing the duplicate definition.

The correct fix ought to be to check for both __SSE2_MATH__ and
__x86_64__ and enable those bits only when neither are defined.

Tested fix with the reproducer for
409e00bd69 as well as with gcc-3.2.
2014-08-13 14:05:16 +05:30
..
aarch64 This patch adds new function libc_feholdsetround_noex_aarch64_ctx, enabling 2014-08-07 16:29:55 +00:00
alpha alpha: Fix exception raising from soft-fp 2014-08-05 13:36:36 -07:00
arm Fix performance issue in misaligned strcpy. 2014-08-07 14:30:31 +00:00
generic Add __safe_fatal and use it in __pthread_unwind forwarder fallback. 2014-07-31 14:00:33 -07:00
gnu Refactor handling of /lib64 etc. cases, move out of sysdeps/gnu/configure.ac. 2014-07-17 14:35:48 +00:00
hppa Move architecture shlib-versions files to Linux-specific directories. 2014-07-17 14:31:12 +00:00
i386 Enable AVX2 optimized memset only if -mavx2 works 2014-07-14 07:58:27 -07:00
ia64 IA64: Move NPTL public headers to sysdeps/ia64/nptl/. 2014-08-04 09:58:14 -04:00
ieee754 Fix missing <math_private.h> in ldbl-96 fma 2014-08-04 10:20:20 +02:00
init_array
m68k Move architecture shlib-versions files to Linux-specific directories. 2014-07-17 14:31:12 +00:00
mach
microblaze Move architecture shlib-versions files to Linux-specific directories. 2014-07-17 14:31:12 +00:00
mips Move architecture shlib-versions files to Linux-specific directories. 2014-07-17 14:31:12 +00:00
nptl Check value of futex before updating in __lll_timedlock 2014-08-12 12:57:27 +01:00
posix
powerpc Fix powerpc-nofpu __fe_enabled_env and __fe_nonieee_env (bug 17261). 2014-08-12 20:31:54 +00:00
pthread
s390 [PATCH] S390: Fix remaining ONE_DIRECTION warning messages 2014-07-31 20:10:47 +02:00
sh
sparc
tile Move architecture shlib-versions files to Linux-specific directories. 2014-07-17 14:31:12 +00:00
unix PowerPC: Fix termios definitions 2014-08-06 14:31:54 -04:00
wordsize-32
wordsize-64
x86 Disable x87 inline functions for x86_64 and SSE [BZ #17262] 2014-08-13 14:05:16 +05:30
x86_64 Replace cpuid asm statement with __cpuid_count 2014-08-12 17:02:51 -07:00