[Bug middle-end/23181] [4.1 Regression] Slowdown of the bresenham line drawing by roughly 20%
steven at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Jan 7 18:33:00 GMT 2006
------- Comment #22 from steven at gcc dot gnu dot org 2006-01-07 18:33 -------
I compiled the test case nodom.c with "xgcc (GCC) 4.1.0 20060107 (prerelease)"
and ran the resulting executables with "time ./a.out". And the numbers speak
for themselves:
x86-64 (Nocona):
============================
options: -O2
real 0m0.400s 0m0.394s 0m0.392s
user 0m0.408s 0m0.404s 0m0.400s
sys 0m0.004s 0m0.000s 0m0.000s
options: -O2 -fno-tree-dominator-opts
real 0m0.428s 0m0.433s 0m0.427s
user 0m0.436s 0m0.440s 0m0.436s
sys 0m0.000s 0m0.004s 0m0.000s
x86-64 -m32 (Nocona)
============================
options: -O2 -m32
real 0m0.394s 0m0.364s 0m0.387s
user 0m0.404s 0m0.372s 0m0.396s
sys 0m0.000s 0m0.000s 0m0.000s
options: -O2 -m32 -fno-tree-dominator-opts
real 0m0.554s 0m0.553s 0m0.557s
user 0m0.568s 0m0.564s 0m0.572s
sys 0m0.000s 0m0.000s 0m0.000s
x86-64 -m32 -march=pentium4
============================
options: -O2 -m32 -march=pentium4
real 0m0.335s 0m0.338s 0m0.343s
user 0m0.344s 0m0.344s 0m0.352s
sys 0m0.000s 0m0.000s 0m0.000s
options: -O2 -m32 -fno-tree-dominator-opts -march=pentium4
real 0m0.405s 0m0.407s 0m0.400s
user 0m0.416s 0m0.416s 0m0.408s
sys 0m0.000s 0m0.000s 0m0.000s
'nuff said. Closing as fixed.
--
steven at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23181
More information about the Gcc-bugs
mailing list