This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/43892] PowerPC suboptimal "add with carry" optimization
- From: "segher at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 18 Jan 2015 16:34:04 +0000
- Subject: [Bug target/43892] PowerPC suboptimal "add with carry" optimization
- Auto-submitted: auto-generated
- References: <bug-43892-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43892
--- Comment #19 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Current code:
add 3,3,4
subfc 4,4,3
subfe 9,9,9
subf 3,9,3
so we got rid of the useless register move.