From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 451AF385734A; Wed, 5 Jul 2023 07:49:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 451AF385734A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1688543376; bh=7bM46ElZdNMkf6TiLCc90v55Tb/NeD+5+25br2F07Xg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=trVftKPPKmK+1Lntr6Pu/d9g8aLDJMLCTAyIT0FNz3VM4269yB/GAh8cNmp5Q62R1 MiqmBVpEdZuI+R8AISOq5pVmMecUhExlR3joYaCxST+HWqbg8VnxSBw1vvcMU6xSzi GyUQCtb+j337TTwHAnX1N8MttnnCQ9ToKMXj3Pyg= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/100711] Miss optimization for pandn Date: Wed, 05 Jul 2023 07:49:35 +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: 12.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D100711 --- Comment #14 from CVS Commits --- The master branch has been updated by Jan Beulich : https://gcc.gnu.org/g:fa58c2871a1235cb5ba475303a2bd11ae90416d5 commit r14-2313-gfa58c2871a1235cb5ba475303a2bd11ae90416d5 Author: Jan Beulich Date: Wed Jul 5 09:48:47 2023 +0200 x86: further PR target/100711-like splitting With respective two-operand bitwise operations now expressable by a single VPTERNLOG, add splitters to also deal with ior and xor counterparts of the original and-only case. Note that the splitters need to be separate, as the placement of "not" differs in the final insns (*iornot3, *xnor3) which are intended to pick up one half of the result. gcc/ PR target/100711 * config/i386/sse.md: New splitters to simplify not;vec_duplicate;{ior,xor} as vec_duplicate;{iornot,xnor}. gcc/testsuite/ PR target/100711 * gcc.target/i386/pr100711-4.c: New test. * gcc.target/i386/pr100711-5.c: New test.=