Pascal Cuoq writes:
> Goswin von Brederlow wrote:
>
>
> You need to write a new function
>
> CAMLextern value caml_alloc_double_array (mlsize_t),
>
> or similar that ensures alignment on 8 byte for double even for 32bit
> systems.
>
> You should also check the CAMLextern valu
On Wed, Jan 27, 2010 at 06:20:44PM +0100, Christophe Papazian wrote:
> Is there a 64-bit PowerPC Linux (ELF) support in ocaml ? I thought
> it was only a 64-bit PowerPC OSX (Darwin) support...
Yes indeed there is. For years we maintained an out of tree patch to
support this for Fedora/ppc64:
htt
Dear Xavier Leroy,
thank you for your answer
I am working on some ppc architecture, and I realize that I have a
(very) big slowdown due to bad alignment of data by ocamlopt. I
need to have my data aligned in memory depending of the size of the
data : floats are to be aligned on 8 bytes, int
Goswin von Brederlow wrote:
You need to write a new function
CAMLextern value caml_alloc_double_array (mlsize_t),
or similar that ensures alignment on 8 byte for double even for 32bit
systems.
You should also check the CAMLextern value caml_copy_double (double);
that it does the same.
If
I am working on some ppc architecture, and I realize that I have a
(very) big slowdown due to bad alignment of data by ocamlopt. I need to
have my data aligned in memory depending of the size of the data :
floats are to be aligned on 8 bytes, int on 4 bytes, etc
First, make sure that misal
Christophe Papazian writes:
> Dear users and developers of OCAML,
>
> I am working on some ppc architecture, and I realize that I have a
> (very) big slowdown due to bad alignment of data by ocamlopt. I need
> to have my data aligned in memory depending of the size of the data :
> floats are to b
Dear users and developers of OCAML,
I am working on some ppc architecture, and I realize that I have a
(very) big slowdown due to bad alignment of data by ocamlopt. I need
to have my data aligned in memory depending of the size of the data :
floats are to be aligned on 8 bytes, int on 4 byt