From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B68A03858D38; Mon, 22 May 2023 17:55:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B68A03858D38 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1684778111; bh=SrTmGCKkDVlUkoJyzLucEP2ubNaHWmXCodMueMckMjQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=n3/RXIgiD+PHXG1bGbsZ15AwZcqPkJtJCDpD/nNZ0qLZWaq6JsiTdgSbk3slr47Uu jUxlgTyOxOoZo4hkXoDiR69njX6hIEOlrDGRwvah0dFM1YKkCSekfqJFIoCEKTCslV uM2OBtEWQPOka60yX9bPba/+a3UhXobZxNLuVSUU= From: "Simon.Richter at hogyros dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/109930] transform atomic exchange to unconditional store when old value is unused? Date: Mon, 22 May 2023 17:55:11 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 13.1.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: Simon.Richter at hogyros dot de X-Bugzilla-Status: NEW 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=3D109930 --- Comment #3 from Simon Richter --- I was looking at ARMv7 initially. If I understood the implementation correctly, this can be a generic optimization.=