GHC 6.8.1 is impressive!
Simon Peyton-Jones
simonpj at microsoft.com
Fri Nov 9 10:09:35 EST 2007
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: glasgow-haskell-users-bounces at haskell.org [mailto:glasgow-haskell-users-bounces at haskell.org] On Behalf Of
| Peter Hercek
| Sent: 09 November 2007 14:19
| To: glasgow-haskell-users at 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 at haskell.org
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
More information about the Glasgow-haskell-users
mailing list