From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4A467386F442; Thu, 27 Aug 2020 08:52:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4A467386F442 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1598518326; bh=8Lcq35ZWz5c42isCli5eDb3vnzjHPyXkhz5bfUaSN4U=; h=From:To:Subject:Date:In-Reply-To:References:From; b=fMZxjj9eD6eIbEceRnA5+zq7ICu9gu35j92L9alLO5XXnQs7X1ve3ndc/a6ClXYbb J3FJc8xJLGc7rBq/a6GrVBDLfj2Bcn5xSF6b84oXBBvqmW0y9J5VqsqbwUokLoy4CY yd4e4zGlf0AkX2sCptAjVrEZl0+x3DAhUIVc4b64= From: "crazylht at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/96744] [11 Regression] FAIL: gcc.target/i386/avx512bitalgvl-vpopcntb-1.c execution test Date: Thu, 27 Aug 2020 08:52:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: crazylht at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2020 08:52:06 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96744 --- Comment #9 from Hongtao.liu --- (In reply to Hongtao.liu from comment #7) > (In reply to Uro=C5=A1 Bizjak from comment #5) > > (In reply to Hongtao.liu from comment #2) > >=20 > > > Need to add define_insn for movp2qi/movp2hi? > >=20 > > Yes, this is needed to cover some corner cases. Please see attachment 4= 9114 [details] > > [details]. > >=20 > > However, the patch assumes that avx512vp2intersect implies mavx512dq, >=20 > Let me check this part. Confirmed, avx512vp2intersect implies avx512dq. Should bellow in the same patch with attachment 49114, or a separate patch? --- 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 |=3D OPTION_MASK_ISA2_AVX512VP2INTERSECT_= SET; opts->x_ix86_isa_flags2_explicit |=3D OPTION_MASK_ISA2_AVX512VP2INTERSECT_SET; - opts->x_ix86_isa_flags |=3D OPTION_MASK_ISA_AVX512F_SET; - opts->x_ix86_isa_flags_explicit |=3D OPTION_MASK_ISA_AVX512F_SET; + opts->x_ix86_isa_flags |=3D OPTION_MASK_ISA_AVX512DQ_SET; + opts->x_ix86_isa_flags_explicit |=3D OPTION_MASK_ISA_AVX512DQ_SET; } else { ---=