From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10943 invoked by alias); 14 Aug 2012 00:01:24 -0000 Received: (qmail 10933 invoked by uid 22791); 14 Aug 2012 00:01:23 -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, 14 Aug 2012 00:01:09 +0000 From: "PHHargrove at lbl dot gov" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/54142] [4.8 regression] ppc64 build failure - Unrecognized opcode: `sldi' (and `srdi`) Date: Tue, 14 Aug 2012 00:01: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: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.0 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" 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-08/txt/msg00801.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54142 --- Comment #13 from Paul H. Hargrove 2012-08-14 00:01:08 UTC --- (In reply to comment #9) > Of course, if 'sldi' and 'slri' ARE supposed to be supported in "common" mode, > then this is a binutils bug. I've confirmed that these instruction are NOT in the POWER ISA, and thus gas is correct in rejecting them in "-mcom" mode. Reference: "Appendix F. New Instructions" in "Book I: PowerPC User Instruction Set Architecture" which is one volume in "PowerPC Architecture Book, Version 2.02" PDF: http://download.boulder.ibm.com/ibmdl/pub/software/dw/library/es-ppcbook1.zip Specifically, the Appendix F table lists instructions in the PowerPC ISA that are not part of the POWER ISA. The "rldicl" and "rldicr" instructions are among those listed (and as noted previously, "sldi" and "srdi" are just "extended mnemonics" for those two).