Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: 2004-07-09 (06:53)
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 Archives:
Bug reports: FAQ:
Beginner's list: