jhc vs ghc and the surprising result involving ghc generated
assembly.
skaller
skaller at users.sourceforge.net
Wed Nov 2 20:13:00 EST 2005
On Wed, 2005-11-02 at 19:47 +0100, Florian Weimer wrote:
> >> It seems that the goto-based version leads to different static branch
> >> prediction results, which happen to be favorable.
> >
> > It has nothing to do with branch prediction. I know
> > it is determined ENTIRELY by stack use.
>
> In both cases, The C compiler emits code which doesn't use the stack.
huh? how can a recursive call not use the stack??
--
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net
More information about the Glasgow-haskell-users
mailing list