Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Does Caml have slow arithmetics ?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Florian Hars <hars@b...>
Subject: Re: [Caml-list] tail recursion and register poor Intel architecture
Brandon J. Van Every wrote:
> Well, you could pass the first 6 integer arguments via the normal
> registers, the first 8 floating point arguments via the x87 FPU, and the
> next 8 integer or float arguments via the XMM registers.

But this will give you different results for your computations, depending on 
argument ordering (if you push an argument from the last x87 register to the 
first XMM register, it loses 16 bits). Not really a desirable property...
But then, floating point on computers sucks, anyway.

Yours, Florian Hars.

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners