Re: kernel + gcc 4.1 = several problems

From: Tim Schmielau
Date: Wed Jan 03 2007 - 12:50:27 EST


Well, on a P4 (which is supposed to be soo bad) I get:

> gcc -O2 t.c -o t
> foreach x ( 1 2 3 4 5 )
>> time ./t > /dev/null
>> end
0.196u 0.004s 0:00.19 100.0% 0+0k 0+0io 0pf+0w
0.168u 0.004s 0:00.16 100.0% 0+0k 0+0io 0pf+0w
0.168u 0.000s 0:00.16 100.0% 0+0k 0+0io 0pf+0w
0.160u 0.000s 0:00.15 106.6% 0+0k 0+0io 0pf+0w
0.180u 0.000s 0:00.18 100.0% 0+0k 0+0io 0pf+0w
> gcc -DCMOV -O2 t.c -o t
> foreach x ( 1 2 3 4 5 )
>> time ./t > /dev/null
>> end
0.168u 0.000s 0:00.17 94.1% 0+0k 0+0io 0pf+0w
0.152u 0.000s 0:00.15 100.0% 0+0k 0+0io 0pf+0w
0.136u 0.004s 0:00.13 100.0% 0+0k 0+0io 0pf+0w
0.168u 0.000s 0:00.16 100.0% 0+0k 0+0io 0pf+0w
0.172u 0.000s 0:00.17 100.0% 0+0k 0+0io 0pf+0w

see?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/