From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B515A3882177; Tue, 18 Jun 2024 08:39:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B515A3882177 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1718699974; bh=Ai+qeHQ9RiJzc4qncPbBaz/U52Qk44xeZxp8LgehGIg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ZYcxb9bJjAzxIZTnK+fGUtuliMLMEjjYZ690LmlCldUhJD4/DowCExdrva3/5MT1z XESPtj3zaB6lNrHAsQwX/Et7BULsigPixfeKAbqY+UvTOOW8hZ10w2H1LXHFXLms4e 9rNkLQiDqgolHRh7qjkXj9/7lVE+nhB22LE/QTOY= From: "liuhongt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/115517] Fix x86 regressions after dropping uses of vcond{,u,eq}_optab Date: Tue, 18 Jun 2024 08:39:33 +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: 15.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: liuhongt at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: 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=3D115517 --- Comment #2 from Hongtao Liu --- (In reply to Richard Biener from comment #1) > Btw, I had opened PR115490 with my results for this already. Some mitiga= tion > should be from optimizing ISEL expansion to vcond_mask and I'd start with > looking at some of the fallout from that side (note that might require > the backend reject not natively implemented vec_cmp via its operand 1 > predicate) w/o AVX512, vector integer comparison only supports EQ/GT, others comparison rtx_cost is transformed to that. (.i.e GTU is emulated with us_minus + eq + negative the vector mask) If we restrict the predicate of operand 1, would middle-end reject vectorization (or lower it to scalar version)?=