diff --git a/glibc-rh801650.patch b/glibc-rh801650.patch index d3c8c60..d357cf2 100644 --- a/glibc-rh801650.patch +++ b/glibc-rh801650.patch @@ -92,12 +92,12 @@ diff -rup c/sysdeps/x86_64/multiarch/init-arch.c d/sysdeps/x86_64/multiarch/init + : "=a" (xcrlow), "=d" (xcrhigh) : "c" (0)); + (xcrlow & (bit_YMM_state | bit_XMM_state)) == + (bit_YMM_state | bit_XMM_state); })) -+ __cpu_features.feature[index_AVX_Usable] = 1; ++ __cpu_features.feature[index_AVX_Usable] |= bit_AVX_Usable; + } + + /* FMA4 depends on AVX support. */ + if ((__cpu_features.cpuid[COMMON_CPUID_INDEX_80000001].ecx & bit_FMA4) && __cpu_features.feature[index_AVX_Usable]) -+ __cpu_features.feature[index_FMA4_Usable] = 1; ++ __cpu_features.feature[index_FMA4_Usable] |= bit_FMA4_Usable; + __cpu_features.family = family; __cpu_features.model = model; diff --git a/glibc.spec b/glibc.spec index 9c1bd57..983a957 100644 --- a/glibc.spec +++ b/glibc.spec @@ -28,7 +28,7 @@ Summary: The GNU libc libraries Name: glibc Version: %{glibcversion} -Release: 38%{?dist} +Release: 39%{?dist} # GPLv2+ is used in a bunch of programs, LGPLv2+ is used for libraries. # Things that are linked directly into dynamically linked programs # and shared libraries (e.g. crt files, lib*_nonshared.a) have an additional @@ -1315,6 +1315,9 @@ rm -f *.filelist* %endif %changelog +* Mon May 14 2012 Jeff Law - 2.15-39 + - Update upstream patch for AVX testing (#801650) + * Fri May 11 2012 Jeff Law - 2.15-38 - Upstream patch to fix AVX testing (#801650)