RE: 32 bit integers

From: Juergen Pfitzenmaier (pfitzen@informatik.uni-tuebingen.de)
Date: Fri Oct 29 1999 - 23:28:34 MET DST


Date: Fri, 29 Oct 1999 23:28:34 +0200 (MET DST)
From: Juergen Pfitzenmaier <pfitzen@informatik.uni-tuebingen.de>
Message-Id: <199910292128.XAA00690@sunstroke.informatik.uni-tuebingen.de>
To: caml-list@inria.fr
Subject: RE: 32 bit integers

Xavier Leroy wrote:
> ........................... and calling a C function from Caml is
> expensive -- more expensive than calling a Caml function, and much
> more expensive than open-coding the operations.
>
> > (This second was my guess.) Is there any way
> > to make this kind of extension work better?
>
> There is a way, but it involves modifying the compiler itself
> to add special code generation rules for the primitive operations on
> the new integer type.

I'm very much interested in adding this kind of special rules to
the compiler. Not for Int32 but for long integer and long floats.
Could you give me a pointer where to start work ?

ciao
pfitzen@informatik.uni-tuebingen



This archive was generated by hypermail 2b29 : Sun Jan 02 2000 - 11:58:28 MET