News for hackers. Stuff that matters.
Re:Will it optimize? by praptak on Friday July 23, 2010 @04:05AM (#1540653)
Gcc surprised me once. I had put some effort into replacing something like (x << 12) | (x>>20) with the appropriate roll instruction at the assembly level. Only after seeing that the "optimized" code ran no faster than plain GCC, I looked at the GCC output and of course the roll was there.

I believe it was GCC 3.*, so even older than the one mentioned in the article.

There are no comments on this comment yet.