bignums and native back end

Stephen Weeks MLton@sourcelight.com
Tue, 7 Nov 2000 13:46:02 -0800 (PST)


> Is there any thing I can do to get bignums working with the native back end?

They already work (although maybe not with the release you have).

> Aside from a few primitives, I would think that the only real thing is a bit
> of special analysis to handle the cases where one of the arguments is known
> to be small (things like `x + 1' or `x = 0').

None of the CPS simplifications do this sort of thing yet, even for fixed
integers.  What would you like to happen in these cases?  Avoid the areSmall
test?  Generate calls to other special C primitives?