- Update upstream patch for AVX testing (#801650)
This commit is contained in:
parent
d2e0d47266
commit
86a57e60b3
|
@ -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;
|
||||
|
|
|
@ -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 <law@redhat.com> - 2.15-39
|
||||
- Update upstream patch for AVX testing (#801650)
|
||||
|
||||
* Fri May 11 2012 Jeff Law <law@redhat.com> - 2.15-38
|
||||
- Upstream patch to fix AVX testing (#801650)
|
||||
|
||||
|
|
Loading…
Reference in New Issue