[Bug rtl-optimization/19055] Minor bit optimization with or and xor
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Dec 17 14:26:00 GMT 2004
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-17 14:25 -------
Another example where we don't get the optimization and f1 is still one instruction (on 32bit PPC):
int f(int a,int b)
{
a|=b;
a^=b;
return a;
}
int f1(int a,int b)
{
return a&=~b;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19055
More information about the Gcc-bugs
mailing list