[Bug target/53087] [powerpc] Poor code from cstore expander
segher at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Sep 26 05:42:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53087
Segher Boessenkool <segher at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |segher at gcc dot gnu.org
--- Comment #12 from Segher Boessenkool <segher at gcc dot gnu.org> 2012-09-26 05:42:26 UTC ---
With the abs patterns gone, and the ne0 patterns fixed, mainline
now generates
li 10,1
lis 9,0xcf8
ori 9,9,63
sld 3,10,3
and 3,3,9
addic 9,3,-1
subfe 3,9,3
blr
which is the expected code. It would be nice if we could get
the 4.1 code back, but that's a separate problem (and not a
target problem I think).
More information about the Gcc-bugs
mailing list