[Bug libc/14059] HAS_FMA4 check needs to also check for AVX

carlos_odonell at mentor dot com sourceware-bugzilla@sourceware.org
Thu May 17 14:11:00 GMT 2012


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

Carlos O'Donell <carlos_odonell at mentor dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |carlos_odonell at mentor
                   |                            |dot com
         Resolution|                            |FIXED
         AssignedTo|unassigned at sourceware    |carlos_odonell at mentor
                   |dot org                     |dot com

--- Comment #7 from Carlos O'Donell <carlos_odonell at mentor dot com> 2012-05-17 14:10:55 UTC ---
Fixed with this commit:

http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=1a0994f5356214e8af8a1c1cc33fbf74a7ac8993

We've cleaned this up considerably, since technically FMA4 doesn't depend on
AVX, it just depends on YMM/XMM state being usable (saved and restored by the
OS) and the feature being present.

We also fix the AVX detection with this patch.

Tested on AVX-enabled and non-AVX-enabled hosts, and for good measure we now
have a regression test for this.

I'm going to backport this to 2.15.1 to fix the mess there, see BZ313753 for
the backport request.

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



More information about the Glibc-bugs mailing list