jhc vs ghc and the surprising result involving ghcgeneratedassembly.

Florian Weimer fw at deneb.enyo.de
Wed Nov 2 13:48:30 EST 2005

* Lennart Augustsson:

> Simon Marlow wrote:
>>>Is it correct that you use indirect gotos across functions?  Such
>>>gotos aren't supported by GCC and work only by accident.
>> Yes, but cross-function gotos are always to the beginning of a
>> function.
> Is that enough to ensure that the constant pool base register
> is reloaded on the Alpha?

Good point, most of the restrictions I mentioned result from the need
to update the GP pointer.

More information about the Glasgow-haskell-users mailing list