]> git.feebdaed.xyz Git - 0xmirror/glibc.git/commit
x86: Use -mavx instead of -msse2avx
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 10 Nov 2025 13:28:58 +0000 (10:28 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 17 Nov 2025 14:17:07 +0000 (11:17 -0300)
commitedd4dc7dc830a4e3ba52058c75fc5eda9e800f17
treecfe5ccb156beba2b26cb0567c6d1b4548d7acef4
parent13cfd77bf5679e8a888a63e233fb60529177b278
x86: Use -mavx instead of -msse2avx

clang supports -msse2avx from version 19 and onwards, but it should
be gated as an option to assembler (either with -Wa or -Xassembler).

The -DSSE2AVX option was used because there were asm statements with
SSE-only instructions which was fixed by commit ff8be6152bc.

Now we can simply use -mavx.

Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
sysdeps/x86_64/fpu/multiarch/Makefile