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

[Bug libc/14461] __m128i_strloadu_tolower returns unaligned __m128i


http://sourceware.org/bugzilla/show_bug.cgi?id=14461

Andreas Jaeger <aj at suse dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aj at suse dot de

--- Comment #4 from Andreas Jaeger <aj at suse dot de> 2012-08-13 20:20:10 UTC ---
grep shows:
sysdeps/x86_64/multiarch/strcspn-c.c:          mask = _mm_loadu_si128 ((__m128i
*) a);
sysdeps/x86_64/multiarch/varshift.h:               _mm_loadu_si128 ((__m128i *)
(___m128i_shift_right
sysdeps/x86_64/multiarch/strspn-c.c:          mask = _mm_loadu_si128 ((__m128i
*) a);
sysdeps/x86_64/multiarch/strstr.c:  return _mm_loadu_si128 ((__m128i *) p);

And looking at the files, it's (except varshift.h) the input parameter that is
returned. In these cases the loadu is always needed.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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