Squeak build problem...

Ian Piumarta ian.piumarta at inria.fr
Fri Aug 16 05:13:35 UTC 2002


On Thu, 15 Aug 2002, Ned Konz wrote:

> On Thursday 15 August 2002 12:43 pm, Joshua 'Schwa' Gargus wrote:
> > I recently built a VM with gcc-3.2, and had similar results.
> 
> So what are you using for optimization flags?
> 
> Perhaps the
> -O2 -funroll-loops
> 
> isn't enough...

Woah, that's missing the single most important one!

> I used this once and got pretty good results:
> 
> make XCFLAGS="-fexpensive-optimizations -funroll-loops
> -malign-functions=4

-malign-loops can help too (if you don't want to unroll them all)

> -O3 -march=athlon -mcpu=athlon -fschedule-insns2
> -fno-gcse

-fomit-frame-pointer is *the* critical one.  -fdefer-pops sometimes helps
too.

Ian




More information about the Squeak-dev mailing list