"Marc A. Volovic" <[EMAIL PROTECTED]> writes:

> Example of an idiotic benchmark:
> 
> int
> main()
> {
>         long long i;
>         double q;
> 
>         for (i=0; i<10000000; i++) {
>                 q = sqrt(i);
>         }
> }
> 
> Under gcc 3.3.5 (Debian Sarge) this pile of drek executes in 1.4-1.8
> seconds (depending on -O level). Under icc 9.0 it executes between in
> 3.4 seconds for -O0 and -O1, and in 0.015 seconds for -O2.
> 
> And don't tell me this is not a valid benchmark. 

A valid benchmark for what? Either I missed a thread (may be), or this
is related to Shachar's query about a fastest 64-bit CPU (where you
advised him to use icc, and you CCed Shachar here). If it is related
to that, then it does not look a valid (valid=relevant) benchmark:
Shachar is interested in integer performance, and this is floating
point.


-- 
Oleg Goldshmidt | [EMAIL PROTECTED] | http://www.goldshmidt.org

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to