diff options
author | Haochen Jiang <haochen.jiang@intel.com> | 2023-08-17 14:15:43 +0800 |
---|---|---|
committer | Haochen Jiang <haochen.jiang@intel.com> | 2023-08-17 14:16:57 +0800 |
commit | 26a820dc136b00b4dc37609429576b6a914cb572 (patch) | |
tree | 796b42be994510f012867a3a2134b542b09ad6ed /libgomp/allocator.c | |
parent | 0288ab14732a16b3787546cdd159941eb7306cf3 (diff) | |
download | gcc-26a820dc136b00b4dc37609429576b6a914cb572.zip gcc-26a820dc136b00b4dc37609429576b6a914cb572.tar.gz gcc-26a820dc136b00b4dc37609429576b6a914cb572.tar.bz2 |
Emit a warning when AVX10 options conflict in vector width
gcc/ChangeLog:
* common/config/i386/i386-common.cc
(ix86_check_avx10_vector_width): New function to check isa_flags
to emit a warning when there is a conflict in AVX10 options for
vector width.
(ix86_handle_option): Add check for avx10.1-256 and avx10.1-512.
* config/i386/driver-i386.cc (host_detect_local_cpu):
Do not append -mno-avx10-max-512bit for -march=native.
gcc/testsuite/ChangeLog:
* gcc.target/i386/avx10_1-15.c: New test.
* gcc.target/i386/avx10_1-16.c: Ditto.
* gcc.target/i386/avx10_1-17.c: Ditto.
* gcc.target/i386/avx10_1-18.c: Ditto.
Diffstat (limited to 'libgomp/allocator.c')
0 files changed, 0 insertions, 0 deletions