mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-01 13:17:19 +08:00
x86-64: Fix FMA4 detection in ifunc [BZ #26534]
A typo in commit 107e6a3c22
causes the
FMA4 code path to be taken on systems that support FMA, even if they do
not support FMA4. Fix this to detect FMA4.
This commit is contained in:
parent
323592fdc9
commit
23af890b3f
@ -32,7 +32,7 @@ IFUNC_SELECTOR (void)
|
||||
&& CPU_FEATURE_USABLE_P (cpu_features, AVX2))
|
||||
return OPTIMIZE (fma);
|
||||
|
||||
if (CPU_FEATURE_USABLE_P (cpu_features, FMA))
|
||||
if (CPU_FEATURE_USABLE_P (cpu_features, FMA4))
|
||||
return OPTIMIZE (fma4);
|
||||
|
||||
return OPTIMIZE (sse2);
|
||||
|
Loading…
Reference in New Issue
Block a user