From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B9D833850862; Tue, 16 May 2023 19:42:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B9D833850862 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1684266147; bh=9RX/yaMYEmSzLTCL9DMfpg0hrSwAJ6PiFgeGQNXGZvw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=iSGdL+b20fNsMdFCL/9tyBuIlYjP0nQrHc7JgeKEj98m+7dBJCWCkck9tUJhsVqsq WwAnDD+1K4/LH3sGxMCGfSzjPiTMV928IAADlTSfsEmf9jksmBqu6ahgOOMkghvnz7 ILxQy9AwkT8Csv2loVq6Ozkuz2yddBRENQOaElok= From: "i at rvalue dot moe" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/104338] RISC-V: Subword atomics result in library calls Date: Tue, 16 May 2023 19:42:27 +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.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: i at rvalue dot moe X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: patrick at rivosinc dot com 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=3D104338 --- Comment #19 from rvalue --- (In reply to Aurelien Jarno from comment #18) > I wonder if the following patch should also be backported, as it > doesn't make sense to link with -latomic anymore with inline subword atom= ic > operations Agreed. It's now meaningless to keep this workaround for RISC-V as the prob= lem has been resolved.=