aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/alpha/setfpucw.c
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2025-04-19 20:45:07 +0200
committerAurelien Jarno <aurelien@aurel32.net>2025-04-22 23:39:59 +0200
commite78caeb4ff812ae19d24d65f4d4d48508154277b (patch)
tree93f383fac56bce4a5346038d7deca4969efd34ba /sysdeps/unix/sysv/linux/alpha/setfpucw.c
parent4e24e4d936b57f6e7809032f55cc95a4cf4d2396 (diff)
downloadglibc-master.zip
glibc-master.tar.gz
glibc-master.tar.bz2
elf: tst-audit10: split AVX512F code into dedicated functions [BZ #32882]HEADmaster
"Recent" GCC versions (since commit fc62716fe8d1, backported to stable branches) emit a vzeroupper instruction at the end of functions containing AVX instructions. This causes the tst-audit10 test to fail on CPUs lacking AVX instructions, despite the AVX512F check. The crash occurs in the pltenter function of tst-auditmod10b.c. Fix that by moving the code guarded by the check_avx512 function into specific functions using the target ("avx512f") attribute. Note that since commit 5359c3bc91cc ("x86-64: Remove compiler -mavx512f check") it is safe to assume that the compiler has AVX512F support, thus the __AVX512F__ checks can be dropped. Tested on non-AVX, AVX2 and AVX512F machines. Reviewed-by: Florian Weimer <fweimer@redhat.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux/alpha/setfpucw.c')
0 files changed, 0 insertions, 0 deletions