Version française
Home     About     Download     Resources     Contact us    
Browse thread
Re: [Caml-list] Runtime overflow and what to do
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: John Carr <jfc@M...>
Subject: Re: [Caml-list] Runtime overflow and what to do

>Would it be much work to build a 64-bit integers target ?

Try http://www.mit.edu/~jfc/ocaml-sparc64.tar.gz
This tar file contains diffs and new code generation
files for 64 bit SPARC.  You will need to apply the
.diff files with patch and move the other files into
the appropriate directories (replacing the existing
files without the "64" suffix), and probably do some
editing of config/Makefile.  I have not tested this
on Linux.  Contact me if you need help.

If there is a lot of interest I can try to package this
in a more immediately useful form.  I stopped work on
the 64 bit code generator before finishing the packaging.

A note of caution: 64 bits is not necessarily better than 32.
Unlike C, OCaml does not allow you to declare a 32 bit object
in 64 bit mode, so memory use will approximately double.
Performance executing out of cache will improve slightly,
or significantly when using floating point, but the increased
cache miss rate may make the program slower overall.

-------------------
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