From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D9A39385B835; Mon, 30 Mar 2020 05:34:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D9A39385B835 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1585546458; bh=yTYSucwCImWh+HbVoSBicCpXNuRmylm9Ev5jFKBbc7Q=; h=From:To:Subject:Date:From; b=yLjIMFXWYmQBwEzYDgKgtZ8DnKKUOObtLdBRuqXNveUPxA/j5P8kctrL3g7+f6iXf s26LYiKRzNis8YRlv4E0ijSDus79kh5FFnWIFZNGAcY24gpQraFxVvxs79gghh+VFl FiNTLBGNNkfcb6EPyp1jrBKxrFw6T6X45Q7nM438= From: "npiggin at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/94395] New: Powerpc suboptimal 64-bit constant generation near large values with few bits set Date: Mon, 30 Mar 2020 05:34:18 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: npiggin at gmail dot com 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Mar 2020 05:34:19 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94395 Bug ID: 94395 Summary: Powerpc suboptimal 64-bit constant generation near large values with few bits set Product: gcc Version: 9.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: npiggin at gmail dot com Target Milestone: --- 0xc000000000000000UL is generated with li 9,-1 rldicr 9,9,0,1 0xbfffffffffffffffUL (0xc000000000000000UL - 1) is lis 9,0xbfff ori 9,9,0xffff sldi 9,9,32 oris 9,9,0xffff ori 9,9,0xffff Could be li 9,-1 rldicr 9,9,0,1 subi 9,9,1=