Re: MLton broken FFI on AMD64???

"Wesley W. Terpstra" <[email protected]>
Newsgroups gmane.comp.lang.ml.mlton.devel
Message-ID <[email protected]>
On Sat, Feb 5, 2011 at 10:31 AM, Florian Weimer <[email protected]> wrote:

> > Wesley, can you confirm that this calling convention does not apply
> > to win64?
>

It does not apply.


> Its calling convention has got its own wrinkle:
>
> > For vararg or unprototyped functions, any float values must be
> > duplicated in the corresponding general-purpose register.
>
> <http://msdn.microsoft.com/en-us/library/ms235286%28v=vs.80%29.aspx>
>

That's a pain. We don't do this at the moment. I'll work out a patch which
does this for Win64 varargs, also by default.

_______________________________________________
MLton mailing list
[email protected]
http://mlton.org/mailman/listinfo/mlton
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.