Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: William Chesters <williamc@dai.ed.ac.uk>
To: caml-list@inria.fr
Subject: `double' alignment in ocamlopt
Date: Fri, 17 Apr 1998 18:17:46 +0100	[thread overview]
Message-ID: <20432.199804171717@jupiter> (raw)

Would it be easy to modify ocamlopt so that it put "float array"s on
an 8-byte boundary?  If I want to use Fortran libraries like lapack
with ocamlopt on a Sparc I have to copy them before giving them to the
Fortran code, or else get a bus error.  I know the docs don't promise
that you can access doubles direct but it would be very nice.

[please don't read this bit ... :)]

Serait-il facile de modifier ocamlopt afin qu'il poserait les "float
array"s sur une adresse XXX0 ou XXX8?  Si je veux utilitiser les
libraries Fortran (par exemple, lapack) avec ocamlopt sur un CPU
sparc, je dois copier tous mes "float array"s avant de les donner à
lapack.  Sinon ... "bus error".





                 reply	other threads:[~1998-04-20 14:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20432.199804171717@jupiter \
    --to=williamc@dai.ed.ac.uk \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox