public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-2916] Fix: AVX512VP2INTERSECT should imply AVX512DQ.
@ 2020-08-28 7:47 hongtao Liu
0 siblings, 0 replies; only message in thread
From: hongtao Liu @ 2020-08-28 7:47 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:6ba09730375b47c0442b3638d02d75fb3430425c
commit r11-2916-g6ba09730375b47c0442b3638d02d75fb3430425c
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 bb14305ad7b..5305145a8c9 100644
--- a/gcc/common/config/i386/i386-common.c
+++ b/gcc/common/config/i386/i386-common.c
@@ -906,8 +906,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-08-28 7:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-28 7:47 [gcc r11-2916] Fix: AVX512VP2INTERSECT should imply AVX512DQ hongtao Liu
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).