|
|
Spider wrote:
> theese numbers were quite interesting, could you please run one more?
> Try CFLAGS="-march=athlon-xp -O3 -finline-functions -ffast-math
> -foptimize-sibling-calls -ansi -march=i686 -DCPU=686" for the athlon-xp
> and see if it differs some or more from the output with march=i686
> antoher thing to be tested would be -mfpmath="sse,387" which will attempt
> also, since we're not using debugging here, it should be considered to use
> -fomit-frame-pointer on gcc, thus freeing up another register, not always
> desirable or noticeable in desktop applications, but this is a "special
> case" so it should be ok :)
Good points, at least the running time says so:
Running time in seconds:
gcc 2.95.3 7048s
gcc 3.0.1 6574s
gcc 3.1 5908s
gcc 3.1 5749s (new options)
icc 6 5699s
For the records: It's a AMD Athlon(TM) XP 1500+ (1343.051 MHz)
running SuSE Linux with kernel 2.4.10-4GB
Compiling options were:
gcc 2.95.3
-O3 -finline-functions -ffast-math -ansi -march=i686 -DCPU=686
gcc 3.0.1
-O3 -finline-functions -ffast-math -foptimize-sibling-calls -ansi
-march=i686 -DCPU=686
gcc 3.1
-O3 -finline-functions -ffast-math -foptimize-sibling-calls
-ansi -march=i686 -DCPU=686
gcc 3.1 (new options)
-march=athlon-xp -O3 -finline-functions -ffast-math
-foptimize-sibling-calls
-DCPU=686 -mfpmath="sse,387" -fomit-frame-pointer
icc 6
-O3 -tpp6 -xK -unroll -ip
Best regards
Thomas
Post a reply to this message
|
|