[Bug optimization/10945] Trivial Bit Twiddling Optimizations Not Performed

stl@caltech.edu gcc-bugzilla@gcc.gnu.org
Fri May 23 03:03:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10945



------- Additional Comments From stl@caltech.edu  2003-05-23 02:21 -------
Subject: RE: [Bug optimization/10945] Trivial Bit Twiddling Optimizations Not Performed

> looks like this is really x86 specific because on PPC, in the simple2 vs.
> revised2 case, the simple2 case is faster than the revised2.

In that case, gcc should optimize revised2.c to generate identical code to
simple2.c.

The only time when gcc wouldn't be at fault would be when it generates
identical, optimally efficient code for each version on each platform. 







------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the Gcc-bugs mailing list