From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id F2B86385E02F; Fri, 21 Jul 2023 22:51:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F2B86385E02F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1689979896; bh=QGiW2umClibZxJ8EmUfTbB8T8uOGoxFlnByy80WBYcQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=RdVxNiRuppttmzhEtiDUGgsU6X+oH0yfWTiIOSReUj37jOLZAi/j6lSXbKil/cIMj Nbu0I+Wglrxyq6EUDiICDhGGiVsIleWwre6BzQpFR66RS0RDIjr01Bcd4s56f0nZZY CnjDP25jdCG0kfFzVB6mslERVqKlUnqLA6w5TmCI= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/110748] RISC-V: optimize store of DF 0.0 Date: Fri, 21 Jul 2023 22:51:36 +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: 13.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: vineetg 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=3D110748 --- Comment #13 from Andrew Pinski --- You could also look at how aarch64 implemented a similar thing (not just for -0.0 but for many other constants too): r8-2248-ga217096563e356fa03c .=