This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/20614] PowerPC - inefficient use of condition register
- From: "astrange at ithinksw dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Mar 2005 06:39:16 -0000
- Subject: [Bug target/20614] PowerPC - inefficient use of condition register
- References: <20050324061210.20614.astrange@ithinksw.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From astrange at ithinksw dot com 2005-03-24 06:39 -------
It buys two cycles per compare on a G3/G4 (as well as not clobbering cr0, which one of the gcc patterns
does). It also saves 2/3s of the code size, which is what -Os is targeting. Not much, but the realworld
version of this will take all the speed it can get.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20614