diff options
author | Haochen Jiang <haochen.jiang@intel.com> | 2024-11-22 14:32:16 +0800 |
---|---|---|
committer | Haochen Jiang <haochen.jiang@intel.com> | 2024-11-25 10:54:15 +0800 |
commit | 832e963a477268e023b0fae4e8c59d29be8e7f42 (patch) | |
tree | a71ac5518e4ba11ca764e98dd94da7f944b9b6c8 /gcc/testsuite/lib | |
parent | e1ac811d5a724e6714465ad951703d334248bc83 (diff) | |
download | gcc-832e963a477268e023b0fae4e8c59d29be8e7f42.zip gcc-832e963a477268e023b0fae4e8c59d29be8e7f42.tar.gz gcc-832e963a477268e023b0fae4e8c59d29be8e7f42.tar.bz2 |
i386/testsuite: Do not append AVX10.2 option for check_effective_target
When -avx10.2 meet -march with AVX512 enabled, it will report warning
for vector size conflict. The warning will prevent the test to run on
GCC with arch native build on those platforms when
check_effective_target.
Remove AVX10.2 options since we are using inline asm ad it actually do
not need options. It will eliminate the warning.
gcc/testsuite/ChangeLog:
* lib/target-supports.exp (check_effective_target_avx10_2):
Remove AVX10.2 option.
(check_effective_target_avx10_2_512): Ditto.
Diffstat (limited to 'gcc/testsuite/lib')
-rw-r--r-- | gcc/testsuite/lib/target-supports.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 187a7e2..b8ac76d 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -10808,7 +10808,7 @@ proc check_effective_target_avx10_2 { } { __asm__ volatile ("vcvtph2ibs\t%ymm5, %ymm6"); __asm__ volatile ("vminmaxpd\t$123, %ymm4, %ymm5, %ymm6"); } - } "-mavx10.2" ] + } "" ] } # Return 1 if avx10.2-512 instructions can be compiled. @@ -10823,7 +10823,7 @@ proc check_effective_target_avx10_2_512 { } { __asm__ volatile ("vcvtph2ibs\t%zmm5, %zmm6"); __asm__ volatile ("vminmaxpd\t$123, %zmm4, %zmm5, %zmm6"); } - } "-mavx10.2-512" ] + } "" ] } # Return 1 if amx-avx512 instructions can be compiled. |