[MLton] Hppa

Matthew Fluet fluet@cs.cornell.edu
Thu, 16 Dec 2004 14:29:16 -0500 (EST)

> terpstra@paer:~$ mlton
> MLton MLTONVERSION (built Thu Dec 16 07:21:03 2004 on paer)
> terpstra@paer:~$ uname -a
> Linux paer 2.4.26-64-smp #1 SMP Thu Apr 29 04:59:03 UTC 2004 parisc64 GNU/Linux

Very cool.

> There are some regression with signals and threads, but mlton can at
> least rebuild itself now. The 'real' test also has regressions b/c the
> result differs after about the 10th digit; is this ok?

I think that is fine.  We have similar things on the PPC, IIRC.

> The only parisc specific code in
> MLton is the datatype = HPPA, everything else is just C99 portable.

> Oh yeah, I turned off the profiling stuff; I have no idea what the EIP
> register is even called on hppa. The 'gregs' array doesn't exist here.

Makes sense.  Time profiling is generally the last thing to get working,
although you should be able to get the other profiling modes to work.
In any case, I'm sure you've seen the
#define flag.