[MLton-devel] cvs commit: support for multiple integer, real, and word sizes

Matthew Fluet fluet@cs.cornell.edu
Mon, 23 Jun 2003 09:19:45 -0400 (EDT)

>   Added compiler support for multiple integer, real, and word sizes.
>   This checkin just changes the compiler infrastructure.  It does not
>   add the basis library modules.  There are also some still some holes,
>   especially in the x86 codegen support.  Matthew, if you could take a
>   look at those, that would be great.

Anything specific?  I{8,16,32} and W{8,16,32} should be fairly easy to get
working -- a quickly looking at x86-mlton.fun shows that most of the
arithmetic/logic functions infer the size from the operands.  Obviously,
I64 takes a bit more work.

>   replacing char with words of size W8 and string with word8 vector

I like that.

>   I would like Word64, but that will take a little more
>   work since there is no Word64 to bootstrap off of.

I don't follow.  Why is Word64 any more difficult than Int64?

This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
MLton-devel mailing list