This is the mail archive of the glibc-cvs@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]

GNU C Library master sources branch archlinux/2.18/master created. glibc-2.18-1-g642c873


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, archlinux/2.18/master has been created
        at  642c8732a111450a97e4ae41c12a920bc7f02ee0 (commit)

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=642c8732a111450a97e4ae41c12a920bc7f02ee0

commit 642c8732a111450a97e4ae41c12a920bc7f02ee0
Author: Allan McRae <allan@archlinux.org>
Date:   Mon Aug 19 15:08:05 2013 +1000

    HACK FIX: reinline __m128i_strloadu
    
    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.

diff --git a/sysdeps/x86_64/multiarch/strstr.c b/sysdeps/x86_64/multiarch/strstr.c
index cd63b68..03d8b9a 100644
--- a/sysdeps/x86_64/multiarch/strstr.c
+++ b/sysdeps/x86_64/multiarch/strstr.c
@@ -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))

-----------------------------------------------------------------------


hooks/post-receive
-- 
GNU C Library master sources


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