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.

Reply via email to