
29 Jan
2001
29 Jan
'01
8:25 a.m.
Fri, 26 Jan 2001 17:40:17 +0100, Jan Kort
pisze: I made a profile and it says most of the time (93%) is spent in the function bar.
Did you compile with optimization turned on (option -O)? I see similar results without -O but quite different with -O.
Without optimisation, you get the native code generator which produces particularly brain-dead code for floating point on x86 (mainly due to Intel's brain-dead design of the x86 floating point unit). With optimisation, you get gcc. Cheers, Simon