From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 249953858CD1; Tue, 12 Mar 2024 00:25:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 249953858CD1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1710203145; bh=KRLUW0CpjJsQyiFMUomKG1W6vzcRrbmHcJuxGrfF/Ts=; h=From:To:Subject:Date:In-Reply-To:References:From; b=BmvGDhK2/JpI5p0mnGPjKjPYfpLWN/Ly21i0ppvVCAYnfCtXClOPT8XMudDKZ2WJo VgbNhBQkKgcem45w89dGtTB660sBsJIa4LY83fasLb2fau9GftULXAtGXSpOBPAJod CcrTwuUmYH8nD8IM8dtfvruHbk//j6X+kDM7TMkE= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/114310] [11/12/13/14 Regression] [aarch64] __sync_val_compare_and_swap fails on __int128_t with newval = 0 Date: Tue, 12 Mar 2024 00:25:44 +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: 8.5.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org 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: 11.5 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=3D114310 --- Comment #3 from Andrew Pinski --- (In reply to Jeffrey A. Law from comment #2) > !?! That doesn't make any sense to me Andrew. This is a failure to mat= ch > the insn, not a constraint error. And given the existence of a zero > register, isn't zero valid anywhere a general purpose register is valid? Then the issue is with the other side of UNSPECV_ATOMIC_CMPSW for the isns = part rather than the expand part. I had only quickly looked the MD file and what was done to fix the other bug.=