[Bug target/54142] [4.8 regression] ppc64 build failure - Unrecognized opcode: `sldi' (and `srdi`)

PHHargrove at lbl dot gov gcc-bugzilla@gcc.gnu.org
Tue Aug 14 00:01:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54142

--- Comment #13 from Paul H. Hargrove <PHHargrove at lbl dot gov> 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).



More information about the Gcc-bugs mailing list