From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3D92D3858C56; Wed, 31 Aug 2022 11:38:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3D92D3858C56 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1661945922; bh=OE9judraqGnmJAa3MoUPnJesKFu78JdvtuSAypRMMAw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ZagFG5+5fxVaOOwolYOCI9rbZG8uY2m3cQrDR7Q8jSU1WyZ/DXvwPEeb40V/Delig ZOm+HFEKAKfXHnXJCAw/BPcgxY3aEkFkDGvWS7RjyxOyn+ObKACw8QwN1YXVGs/o7F MFyKjUmsnPqi/3b/iBhzP6ddFYpZczzkcL5CeAWA= From: "rsandifo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/106327] side-effect-free _x variance not optimized to unpredicated instruction Date: Wed, 31 Aug 2022 11:38:41 +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.1.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rsandifo at gcc dot gnu.org X-Bugzilla-Status: WAITING 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: everconfirmed bug_status cc cf_reconfirmed_on 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=3D106327 rsandifo at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |WAITING CC| |rsandifo at gcc dot gnu.org Last reconfirmed| |2022-08-31 --- Comment #1 from rsandifo at gcc dot gnu.org --- This is because performing the addition on the inactive lanes could trigger an IEEE exception. The code is optimised to an unpredicated FADD with -ffast-math.=