This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/10588] [PPC] i==0||j==0 should use cntlzw and srawi
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Jun 2005 15:46:53 -0000
- Subject: [Bug rtl-optimization/10588] [PPC] i==0||j==0 should use cntlzw and srawi
- References: <20030501210600.10588.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-08 15:46 -------
On the mainline we get the following now:
_h:
cmpwi cr7,r3,0
li r3,1
beqlr- cr7
cntlzw r3,r4
srwi r3,r3,5
blr
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10588