[Bug target/50329] [PowerPC] Unnecessary stack frame set up
bergner at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Mar 5 00:34:22 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50329
Peter Bergner <bergner at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bergner at gcc dot gnu.org
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Peter Bergner <bergner at gcc dot gnu.org> ---
(In reply to Segher Boessenkool from comment #2)
> Current trunk (to be GCC 6) optimises "c" perfectly. Not the other
> two, alas.
Current trunk (to be GCC 14) optimizes all of them now. Marking as FIXED.
a:
li 9,-1
rldicr 9,9,0,0
std 9,0(3)
blr
b:
li 9,-1
rldicr 9,9,0,0
std 9,0(3)
blr
c:
li 9,0
li 10,-1
rldimi 9,10,63,0
std 9,0(3)
blr
More information about the Gcc-bugs
mailing list