From: David MENTRE <dmentre@linux-france.org>
To: Xavier Leroy <Xavier.Leroy@inria.fr>
Cc: Dmitry Bely <dmitry.bely@gmail.com>, Caml List <caml-list@inria.fr>
Subject: Re: [Caml-list] Ocamlopt x86-32 and SSE2
Date: Sun, 10 May 2009 13:04:13 +0200 [thread overview]
Message-ID: <87eiuxuslu.fsf@pat35-1-82-229-60-210.fbx.proxad.net> (raw)
In-Reply-To: <4A0407A9.4000009@inria.fr> (Xavier Leroy's message of "Fri\, 08 May 2009 12\:21\:29 +0200")
Hello,
Xavier Leroy <Xavier.Leroy@inria.fr> writes:
> 1- Have an additional "ia32sse2" port of ocamlopt in parallel with the
> current "i386" port.
>
> 2- Declare pre-SSE2 processors obsolete and convert the current
> "i386" port to always use SSE2 float arithmetic.
>
> 3- Support both x87 and SSE2 float arithmetic within the same i386
> port, with a command-line option to activate SSE2, like gcc does.
Regarding option 2, I assume that byte-code would still work on i386
pre-SSE2 machines? So OCaml programs would still work on those machines.
As far as I know, one is using ocamlopt to improve performance. I can't
think of any case where one would need native code running on pre-SS2
machines which are so outdated performance-wise.
So I would vote for option 2: always use SSE2 float arithmetic.
Sincerely yours,
david
--
GPG/PGP key: A3AD7A2A David MENTRE <dmentre@linux-france.org>
5996 CC46 4612 9CA4 3562 D7AC 6C67 9E96 A3AD 7A2A
next prev parent reply other threads:[~2009-05-10 11:04 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-28 19:36 Ocamlopt code generator question Dmitry Bely
[not found] ` <m27i13tofi.fsf@Pythagorion.local.i-did-not-set--mail-host-address--so-tickle-me>
2009-04-29 16:50 ` Dmitry Bely
2009-04-29 20:04 ` Jeffrey Scofield
2009-05-05 9:24 ` [Caml-list] " Xavier Leroy
2009-05-05 9:41 ` Dmitry Bely
2009-05-05 14:15 ` Jean-Marc Eber
2009-05-05 14:58 ` Sylvain Le Gall
2009-05-05 15:21 ` [Caml-list] " David Allsopp
2009-05-05 15:59 ` Dmitry Bely
[not found] ` <4A006410.8000205@lexifi.com>
2009-05-05 16:26 ` Dmitry Bely
2009-05-05 15:14 ` [Caml-list] " Jon Harrop
2009-05-08 10:21 ` [Caml-list] Ocamlopt x86-32 and SSE2 Xavier Leroy
2009-05-10 11:04 ` David MENTRE [this message]
2009-05-11 2:43 ` Jon Harrop
2009-05-11 3:43 ` Stefan Monnier
2009-05-11 5:38 ` [Caml-list] " Jon Harrop
2009-05-10 23:12 ` [Caml-list] " Matteo Frigo
2009-05-11 2:45 ` Jon Harrop
2009-05-11 7:55 ` Dmitry Bely
[not found] <20090509100004.353ADBC5C@yquem.inria.fr>
2009-05-09 11:38 ` CUOQ Pascal
2009-05-10 1:52 ` [Caml-list] " Goswin von Brederlow
2009-05-10 2:16 ` Seo Sanghyeon
2009-05-10 3:50 ` Jon Harrop
2009-05-11 8:05 ` Dmitry Bely
2009-05-11 9:26 ` Jon Harrop
2009-05-11 8:43 ` Dmitry Bely
2009-05-11 13:47 ` Jon Harrop
2009-05-11 9:12 ` Andrey Riabushenko
2009-05-10 8:56 ` CUOQ Pascal
2009-05-10 14:47 ` [Caml-list] " Richard Jones
2009-05-10 19:25 ` Florian Weimer
[not found] <20090511043120.976EBBC67@yquem.inria.fr>
2009-05-11 7:10 ` Pascal Cuoq
2009-05-12 9:37 ` [Caml-list] " Xavier Leroy
2009-05-12 12:40 ` Richard Jones
2009-05-13 22:30 ` Florian Weimer
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=87eiuxuslu.fsf@pat35-1-82-229-60-210.fbx.proxad.net \
--to=dmentre@linux-france.org \
--cc=Xavier.Leroy@inria.fr \
--cc=caml-list@inria.fr \
--cc=dmitry.bely@gmail.com \
/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