[MLton] power pc "port"

Filip Pizlo pizlo@purdue.edu
Sat, 4 Sep 2004 09:59:06 -0500 (EST)


Just an update, the regression tests fail on fixed-integer and on real
(apparently not doing rounding correctly - that would be a bug in my
code).  Notably, they succeed for the int test.  Then, the regression test
stops with:

bin/regression: line 213: gmake: command not found

The problem here is that Mac OS X doesn't have a 'gmake', although 'make'
is the GNU version.  Is there a need to make some of the scripts refer to
'gmake' instead of 'make'?  Anyway, for now, I'll make them use 'make'
just to see what the outcome of the tests is.

> > Can someone give me an estimate of how long they take on a fairly
> > average PC?
> 
> one hour

It took two hours to reach the above gmake failure.

> It's tough to read much into your test, since gcc will likely simplify
> everything away at compile time.  It would be better to test calls to
> the library routines in separately compiled C files, as they are in
> libmlton.  You could have your C code call Word{8,16,32,64}_{quot,rem}
> and link with libmlton.a.  Running through all pairs of args from -100
> to 100 should be a pretty good test.

Ah, OK.  However, is it safe to assume that since the int regression test
succeeded, then quot and rem work?

--
Filip Pizlo
http://bocks.psych.purdue.edu/
pizlo@purdue.edu