[Bug target/53087] [powerpc] Poor code from cstore expander

dje at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 24 00:41:00 GMT 2012


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

--- Comment #6 from David Edelsohn <dje at gcc dot gnu.org> 2012-04-24 00:40:28 UTC ---
GCC 4.1 produced:

         lis 9,0xcf8
         li 0,1
         ori 9,9,63
         slw 0,0,3
         and 0,0,9
         neg 0,0
         srwi 3,0,31
         blr

The branch code is better than the code using mfcr, but the straight-line code
from XLC or GCC avoiding CR is better than both.



More information about the Gcc-bugs mailing list