This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/54142] ppc64 build failure - Unrecognized opcode: `sldi' (and `srdi`)
- From: "PHHargrove at lbl dot gov" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 31 Jul 2012 17:59:31 +0000
- Subject: [Bug target/54142] ppc64 build failure - Unrecognized opcode: `sldi' (and `srdi`)
- Auto-submitted: auto-generated
- References: <bug-54142-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54142
--- Comment #6 from Paul H. Hargrove <PHHargrove at lbl dot gov> 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 sldi
and srdi as "Simplified Mnemonics". Perhaps using the canonical instructions
is a simple resolution to this bug?
Shift left immediate sldi rA,rS,n (n < 64) rldicr rA,rS,n,63 â n
Shift right immediate srdi rA,rS,n (n < 64) rldicl rA,rS,64 â n,n
Additionally, there may be a GAS bug lurking here as well.