commit cebc01cbfd6c257f329e818b68bb1b2eef2afe09 Author: Ondřej Hošek Date: Wed Aug 26 04:26:50 2020 +0200 x86-64: Fix FMA4 detection in ifunc [BZ #26534] A typo in commit 107e6a3c2212ba7a3a4ec7cae8d82d73f7c95d0b 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. (cherry picked from commit 23af890b3f04e80da783ba64e6b6d94822e01d54) diff --git a/sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h b/sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h index 7659758972..e5fd5ac9cb 100644 --- a/sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h +++ b/sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h @@ -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); commit 386543bc4495f658dcce6cd4d11e4ba6574a46f5 Author: H.J. Lu Date: Wed Aug 26 04:26:50 2020 +0200 NEWS: Update for [BZ #26534] fix diff --git a/NEWS b/NEWS index 485b8ddffa..a141de93dd 100644 --- a/NEWS +++ b/NEWS @@ -5,6 +5,11 @@ See the end for copying conditions. Please send GNU C library bug reports via using `glibc' in the "product" field. +The following bugs are resolved with this release: + + [26534] libm.so 2.32 SIGILL in pow() due to FMA4 instruction on non-FMA4 + system + Version 2.32 Major new features: