mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 19:30:10 +00:00
i686: Add missing IS_IN (libc) guards to vectorized strcspn
Since commit d957c4d3fa
(i386: Compile
rtld-*.os with -mno-sse -mno-mmx -mfpmath=387), vector intrinsics can
no longer be used in ld.so, even if the compiled code never makes it
into the final ld.so link. This commit adds the missing IS_IN (libc)
guard to the SSE 4.2 strcspn implementation, so that it can be used from
ld.so in the future.
This commit is contained in:
parent
fd860eaaa8
commit
69052a3a95
@ -1,3 +1,8 @@
|
||||
2017-06-14 Florian Weimer <fweimer@redhat.com>
|
||||
|
||||
* sysdeps/i386/i686/multiarch/strcspn-c.c: Add IS_IN (libc) guard.
|
||||
* sysdeps/i386/i686/multiarch/varshift.c: Likewise.
|
||||
|
||||
2017-06-14 Zack Weinberg <zackw@panix.com>
|
||||
|
||||
* stdlib/errno.h: Remove __need_Emath and __need_error_t logic.
|
||||
|
@ -1,2 +1,4 @@
|
||||
#define __strcspn_sse2 __strcspn_ia32
|
||||
#include <sysdeps/x86_64/multiarch/strcspn-c.c>
|
||||
#if IS_IN (libc)
|
||||
# define __strcspn_sse2 __strcspn_ia32
|
||||
# include <sysdeps/x86_64/multiarch/strcspn-c.c>
|
||||
#endif
|
||||
|
@ -1 +1,3 @@
|
||||
#include <sysdeps/x86_64/multiarch/varshift.c>
|
||||
#if IS_IN (libc)
|
||||
# include <sysdeps/x86_64/multiarch/varshift.c>
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user