From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4998F3841466; Tue, 21 Jun 2022 06:59:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4998F3841466 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/105965] [10/11/12 Regression] x86: single-element vectors don't have scalar FMA insns used anymore Date: Tue, 21 Jun 2022 06:59:00 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 12.1.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.4 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: Tue, 21 Jun 2022 06:59:00 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D105965 --- Comment #6 from rguenther at suse dot de --- On Tue, 21 Jun 2022, pinskia at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D105965 >=20 > Andrew Pinski changed: >=20 > What |Removed |Added > -------------------------------------------------------------------------= --- > Component|target |tree-optimization > See Also| |https://gcc.gnu.org/bugz= ill > | |a/show_bug.cgi?id=3D1015= 40 >=20 > --- Comment #5 from Andrew Pinski --- > (In reply to Richard Biener from comment #2) > > that means we are at least missing a match.pd pattern to simplify > >=20 > > _1 =3D {_10}; > > _11 =3D VIEW_CONVERT_EXPR(_1); >=20 > I had an alternative patch which I had submitted in November: > https://gcc.gnu.org/pipermail/gcc-patches/2021-November/585597.html >=20 > I never followed up and such. Sorry about that. Hmm, that's actually the opposite case where we want a vector type. But sure, when we replace _1 =3D {_10} with _1 =3D V_C_E <..> (_10); then the V_C_E series should fold away (hopefully ;))=