]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
HACK FIX: reinline __m128i_strloadu
authorAllan McRae <allan@archlinux.org>
Mon, 19 Aug 2013 05:08:05 +0000 (15:08 +1000)
committerAllan McRae <allan@archlinux.org>
Mon, 19 Aug 2013 05:08:05 +0000 (15:08 +1000)
After f1d70dad, glibc build for i686-pc-linux-gnu with -O2 experiences
sefaults in __strstr_sse42.

https://bugs.archlinux.org/task/36556
http://sourceware.org/bugzilla/show_bug.cgi?id=15845

Readding the inline "fixes" the issue until a correct solution is found.

sysdeps/x86_64/multiarch/strstr.c

index cd63b68c01e88d7bfe4eda77a65e370d8a417b86..03d8b9a8f449f1c44018b1afc690c01b0ed09a5d 100644 (file)
@@ -86,7 +86,7 @@
 /* Simple replacement of movdqu to address 4KB boundary cross issue.
    If EOS occurs within less than 16B before 4KB boundary, we don't
    cross to next page.  */
-static __m128i
+static inline __m128i
 __m128i_strloadu (const unsigned char * p, __m128i zero)
 {
   if (__builtin_expect ((int) ((size_t) p & 0xfff) > 0xff0, 0))