[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] Optimization For Athlon Chip?
From: |
Jim Segrave |
Subject: |
Re: [Bug-gnubg] Optimization For Athlon Chip? |
Date: |
Sun, 16 Feb 2003 16:06:21 +0100 |
User-agent: |
Mutt/1.2.5.1i |
On Sun 16 Feb 2003 (13:38 +0100), Achim Mueller wrote:
> Ouch!
>
> I just made a quick test.
>
> mHPMARiwu4UDIA, 36 Rollouts (default)
>
> CFLAGS=" " ---> 1 min. 5 sec.
> CFLAGS="-O3 -march=athlon-xp -mcpu=athlon-xp -mfpmath=sse" ---> 34 sec.
>
> Whew!
More relevant wouldbe CFLAGS="-O" and CFLAGS="-O2". -O and -O2 are
generally considered safe optimisations - they will do things like
constant folding, strength reduction, restructuring tail recursion and
other optimisations at higher levels. They don't (as far as I know)
generally turn on any of the more architecture specific features.
--
Jim Segrave address@hidden