[Bug target/112643] [14 regression] including x86intrin.h is broken for -march=native (which adds -mno-avx10.1-256 )
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Nov 24 02:02:29 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112643
--- Comment #27 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Haochen Jiang <jianghc@gcc.gnu.org>:
https://gcc.gnu.org/g:a1f8e65dee2d9e929cd083f36501d08bdc9c8072
commit r14-5809-ga1f8e65dee2d9e929cd083f36501d08bdc9c8072
Author: Haochen Jiang <haochen.jiang@intel.com>
Date: Thu Nov 23 10:03:17 2023 +0800
i386: Fix AVX512 and AVX10 option issues
gcc/ChangeLog:
PR target/112643
* config/i386/driver-i386.cc (check_avx10_avx512_features):
Renamed to ...
(check_avx512_features): this and remove avx10 check.
(host_detect_local_cpu): Never append -mno-avx10.1-{256,512} to
avoid emitting warnings when building GCC with native arch.
* config/i386/i386-builtin.def (BDESC): Add missing AVX512VL for
128/256 bit builtin for AVX512VP2INTERSECT.
* config/i386/i386-options.cc (ix86_option_override_internal):
Also check whether the AVX512 flags is set when trying to reset.
* config/i386/i386.h
(PTA_SKYLAKE_AVX512): Add missing PTA_EVEX512.
(PTA_ZNVER4): Ditto.
More information about the Gcc-bugs
mailing list