diff options
author | Haochen Jiang <haochen.jiang@intel.com> | 2023-08-17 14:13:28 +0800 |
---|---|---|
committer | Haochen Jiang <haochen.jiang@intel.com> | 2023-08-17 14:14:35 +0800 |
commit | 0288ab14732a16b3787546cdd159941eb7306cf3 (patch) | |
tree | 1e5e3ad58283738f11be19b5a7dcb7526091c0ca /libgomp | |
parent | 11ad44da01dd1c91c96e45802fd8b1c50e88703f (diff) | |
download | gcc-0288ab14732a16b3787546cdd159941eb7306cf3.zip gcc-0288ab14732a16b3787546cdd159941eb7306cf3.tar.gz gcc-0288ab14732a16b3787546cdd159941eb7306cf3.tar.bz2 |
Emit a warning when disabling AVX512 with AVX10 enabled or disabling AVX10 with AVX512 enabled
gcc/ChangeLog:
* common/config/i386/i386-common.cc
(ix86_check_avx10): New function to check isa_flags and
isa_flags_explicit to emit warning when AVX10 is enabled
by "-m" option.
(ix86_check_avx512): New function to check isa_flags and
isa_flags_explicit to emit warning when AVX512 is enabled
by "-m" option.
(ix86_handle_option): Do not change the flags when warning
is emitted.
* config/i386/driver-i386.cc (host_detect_local_cpu):
Do not append -mno-avx10.1 for -march=native.
gcc/testsuite/ChangeLog:
* gcc.target/i386/avx10_1-11.c: New test.
* gcc.target/i386/avx10_1-12.c: Ditto.
* gcc.target/i386/avx10_1-13.c: Ditto.
* gcc.target/i386/avx10_1-14.c: Ditto.
Diffstat (limited to 'libgomp')
0 files changed, 0 insertions, 0 deletions