From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DEB623858401; Fri, 25 Aug 2023 20:12:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DEB623858401 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1692994332; bh=B9glR4izBySteqo/goHU7HbL/9lzYbLT2fnZfunmxTM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=AKCwlDrFeVhe5bfV92xZtlW5IVq0iiPBC2SGUw4V3xKQx62cOPRr2Y7PzE3/xWPHZ ZySUlyGO6J3nJGFAIpXaELQuGpNulpBOg+yjsd+smoanR4Z+/z3/KQhl+/onr2CTdW EOe8J8P3ghey3ZbQzUK/k1bpoGevrshSPE/d/EkM= From: "vineetg at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/111139] RISC-V: improve scalar constants cost model Date: Fri, 25 Aug 2023 20:12:11 +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: vineetg 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: --- 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=3D111139 --- Comment #2 from Vineet Gupta --- Test case to help drive some of this: unsigned long long f5(unsigned long long i) { return i * 0x0202020202020202ULL; }=