public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/omp/gcc-10] Fix: AVX512VP2INTERSECT should imply AVX512DQ.
@ 2020-09-01 10:00 Tobias Burnus
0 siblings, 0 replies; only message in thread
From: Tobias Burnus @ 2020-09-01 10:00 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:a41439a06901dfff7c01d2455cb881ff939b57b5
commit a41439a06901dfff7c01d2455cb881ff939b57b5
Author: liuhongt <hongtao.liu@intel.com>
Date: Fri Aug 28 15:01:18 2020 +0800
Fix: AVX512VP2INTERSECT should imply AVX512DQ.
gcc/ChangeLog
* common/config/i386/i386-common.c (ix86_handle_option): Set
AVX512DQ when AVX512VP2INTERSECT exists.
Diff:
---
gcc/common/config/i386/i386-common.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/common/config/i386/i386-common.c b/gcc/common/config/i386/i386-common.c
index 02b19f1bb54..8e4cd64542d 100644
--- a/gcc/common/config/i386/i386-common.c
+++ b/gcc/common/config/i386/i386-common.c
@@ -889,8 +889,8 @@ ix86_handle_option (struct gcc_options *opts,
opts->x_ix86_isa_flags2 |= OPTION_MASK_ISA2_AVX512VP2INTERSECT_SET;
opts->x_ix86_isa_flags2_explicit |=
OPTION_MASK_ISA2_AVX512VP2INTERSECT_SET;
- opts->x_ix86_isa_flags |= OPTION_MASK_ISA_AVX512F_SET;
- opts->x_ix86_isa_flags_explicit |= OPTION_MASK_ISA_AVX512F_SET;
+ opts->x_ix86_isa_flags |= OPTION_MASK_ISA_AVX512DQ_SET;
+ opts->x_ix86_isa_flags_explicit |= OPTION_MASK_ISA_AVX512DQ_SET;
}
else
{
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-09-01 10:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-01 10:00 [gcc/devel/omp/gcc-10] Fix: AVX512VP2INTERSECT should imply AVX512DQ Tobias Burnus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).