From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26704 invoked by alias); 31 Jul 2012 17:59:53 -0000 Received: (qmail 26693 invoked by uid 22791); 31 Jul 2012 17:59:52 -0000 X-SWARE-Spam-Status: No, hits=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 31 Jul 2012 17:59:31 +0000 From: "PHHargrove at lbl dot gov" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/54142] ppc64 build failure - Unrecognized opcode: `sldi' (and `srdi`) Date: Tue, 31 Jul 2012 17:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: PHHargrove at lbl dot gov X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-07/txt/msg02277.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D54142 --- Comment #6 from Paul H. Hargrove 2012-07-31= 17:59:31 UTC --- (In reply to comment #2) > sldi and srdi are both standard PowerPC64 instructions. IBM's "Programming Environments Manual for 64-Bit Microprocessors" lists sl= di and srdi as "Simplified Mnemonics". Perhaps using the canonical instructio= ns is a simple resolution to this bug? Shift left immediate sldi rA,rS,n (n < 64) rldicr rA,rS,n,63 = =E2=80=93 n Shift right immediate srdi rA,rS,n (n < 64) rldicl rA,rS,64 =E2= =80=93 n,n Additionally, there may be a GAS bug lurking here as well.