This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]