Testing on a Atlon 1.2 Ghz and a K6 233 Mhz: Both on Windows 2000 T:\cvs_cd>gcc --version gcc (GCC) 3.4.2 (mingw-special) Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Atlon 1.2 ghz: T:\cvs_cd>speedtest STATS result orig function 46ffffe9 it took 944301 23% result orig function inlined 46ffffe9 it took 697547 17% result second proposal inlined 46ffffe9 it took 774974 19% result lookup inlined 46ffffe9 it took 603607 15% result bsr inlined 46ffffe9 it took 656956 16% result macro 46ffffe9 it took 336330 8%
K6 233 Mhz: C:>speedtest STATS result orig function 46ffffe9 it took 5819845 23% result orig function inlined 46ffffe9 it took 3533468 14% result second proposal inlined 46ffffe9 it took 4043743 16% result lookup inlined 46ffffe9 it took 2290520 9% result bsr inlined 46ffffe9 it took 5961779 24% result macro 46ffffe9 it took 3001376 12%