[Bug target/20781] 64 bit shift by non-constant implemented as libcall on PPC32
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Apr 6 06:46:00 GMT 2005
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-06 06:46 -------
Hmm on powerpc-darwin on the mainline I get:
_foo:
addic. r11,r5,-32
subfic r2,r5,31
srwi r0,r4,1
srw r0,r0,r2
blt- cr0,L2
slw r9,r4,r11
li r10,0
mr r3,r9
mr r4,r10
blr
L2:
slw r9,r3,r5
slw r10,r4,r5
or r9,r0,r9
mr r4,r10
mr r3,r9
blr
Which is still bad as we have extra moves.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20781
More information about the Gcc-bugs
mailing list