[MLton-devel] cvs commit: removed __asm__ for Int_quot and Int_rem

Stephen Weeks MLton@mlton.org
Thu, 7 Nov 2002 14:43:26 -0800


> I think that 5 (using an if-test to guarentee sign-extension) would be pretty
> bad.  My notion is the interaction with branch prediction would be rather
> poor because it wouldn't be predictable. 

Makes sense.  This might even be worse than a C procedure call.

> For IntInf I don't think the price is too high if it can be avoided in the
> fixnum case.

I can't make any sense of this.  We always use stripTag in the fixnum
case.  How could it be avoided?

I am now leaning towards 3, because that would at least isolate
potential bugs, or maybe 1, to be safest.


-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
MLton-devel mailing list
MLton-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlton-devel