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 math/18740] math/test-float-vlen4 fails on non SSE4.1 machines


https://sourceware.org/bugzilla/show_bug.cgi?id=18740

Andrew Senkevich <andrew.n.senkevich at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #2 from Andrew Senkevich <andrew.n.senkevich at gmail dot com> ---
(In reply to H.J. Lu from comment #1)
> There are
> 
> double-vlen2-arch-ext-cflags = -msse4
> double-vlen4-arch-ext-cflags = -mavx
> double-vlen4-arch-ext2-cflags = -mavx2
> double-vlen8-arch-ext-cflags = -mavx512f
> 
> float-vlen4-arch-ext-cflags = -msse4
> float-vlen8-arch-ext-cflags = -mavx
> float-vlen8-arch-ext2-cflags = -mavx2
> float-vlen16-arch-ext-cflags = -mavx512f
> 
> We must check SSE4 at run-time.

We can simply build these with -msse2. There are ifunc in vector function
itself to select sse2 or sse4 version.

-- 
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]