From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 387D63858D35; Thu, 29 Dec 2022 01:42:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 387D63858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1672278128; bh=zDKTRAldAxcVIdX6ePeSKoMksP+72vfOGQC1I6dEq10=; h=From:To:Subject:Date:In-Reply-To:References:From; b=J+pB8iulekB5mBbAM0+7ckfABISxrYL0XEO/+fZAi3QM887XKX277FL08towzY8+R GUMtZRfh4Qlh96tLHlJaocYwRCw8LsQtzasMCEt04aOtyfBJeJN4Bev7V8ZVSwN5FS uKVSOiEclKiRvowHk1M4EL0LLK5CU9D27mV38xzs= From: "law at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/108247] Missed opportunity to generate shNadd on risc-v Date: Thu, 29 Dec 2022 01:42:07 +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: X-Bugzilla-Severity: normal X-Bugzilla-Who: law at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED 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=3D108247 --- Comment #2 from Jeffrey A. Law --- We shouldn't use Zba just for the sake of using Zba; it needs to be profita= ble. The folks doing the analysis behind this BZ are only looking at instruction counts -- they're not really thinking about uarch stuff or even code size, though I think having them look at the latter in addition to dynamic counts should be possible.=