O2 mainly switches on two transformations: "liberate case" and "call-pattern 
specialisation".  (I think it also gets passed on to gcc.)

Trying -O2 -fno-liberate-case,
and -O2 -fno-spec-constr

might tell which was making the difference.

Simon

| -----Original Message-----
| From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
| Peter Hercek
| Sent: 09 November 2007 14:19
| To: glasgow-haskell-users@haskell.org
| Subject: Re: GHC 6.8.1 is impressive!
|
| New ghc sped up my small app (~2000 lines) by ~38%. Nice job!
| Anyway, my application is a bit slower when compiled with -O2
| compared to -01 only (both with ghc 6.6 and 6.8).
| Is that normal?
|
| Peter.
|
| Lennart Augustsson wrote:
| > I'd like to second that.  6.8 is quite an improvement.  Well done!
| >
|
| _______________________________________________
| Glasgow-haskell-users mailing list
| Glasgow-haskell-users@haskell.org
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to