diff options
| author | Aurelien Jarno <aurelien@aurel32.net> | 2025-04-19 20:45:07 +0200 |
|---|---|---|
| committer | Aurelien Jarno <aurelien@aurel32.net> | 2025-04-23 23:08:42 +0200 |
| commit | 5cb575ca9a3da045bc3e2f0dda81ad5804bde1e6 (patch) | |
| tree | cc0cc4e6abe692638df78958d992a16207ea4b98 /.gitattributes | |
| parent | 046b33800c3e8c7ac21b48e3ce5dbed8901f7e37 (diff) | |
| download | glibc-release/2.41/master.tar.xz glibc-release/2.41/master.zip | |
elf: tst-audit10: split AVX512F code into dedicated functions [BZ #32882]release/2.41/master
"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>
(cherry picked from commit e78caeb4ff812ae19d24d65f4d4d48508154277b)
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions
