From: Dmitry Bely <dmitry.bely@gmail.com>
To: Caml List <caml-list@inria.fr>
Subject: Re: [Caml-list] Ocamlopt x86-32 and SSE2
Date: Mon, 11 May 2009 12:43:59 +0400 [thread overview]
Message-ID: <90823c940905110143k2380b9e2r2ba0a79e6ff8d59e@mail.gmail.com> (raw)
In-Reply-To: <200905111026.18392.jon@ffconsultancy.com>
On Mon, May 11, 2009 at 1:26 PM, Jon Harrop <jon@ffconsultancy.com> wrote:
> On Monday 11 May 2009 09:05:08 Dmitry Bely wrote:
>> I think it would be the major code rewrite (if ever possible). Merging
>> SSE2 from amd64 into i386 code generator took about a day of my
>> efforts. How much time LLVM integration would require? If it is that
>> simple can you provide a proof-of-the-concept implementation?
>
> Well, I can provide a complete garbage collected VM. :-)
>
> http://hlvm.forge.ocamlcore.org/
We are talking about a new backend to Ocaml compiler, aren't we?
> The hard part of writing an LLVM backend for ocamlopt is probably getting LLVM
> to generate code that is compatible with OCaml's GC, particularly the stack.
> However, I believe Gordon Henriksen already did this:
>
> "Included in the pending LLVM garbage collection code generation
> changeset is an Ocaml frametable emitter." -
> http://lists.cs.uiuc.edu/pipermail/llvmdev/2007-November/011527.html
So it's just pie in the sky. No working implementation has been
demonstrated since then. The answer to your "why not use LLVM to
replace several of the existing backends?" question is quite obvious.
- Dmitry Bely
next prev parent reply other threads:[~2009-05-11 8:44 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
[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 [this message]
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
2009-04-28 19:36 Ocamlopt code generator question Dmitry Bely
2009-05-05 9:24 ` [Caml-list] " Xavier Leroy
2009-05-05 9:41 ` Dmitry Bely
2009-05-08 10:21 ` [Caml-list] Ocamlopt x86-32 and SSE2 Xavier Leroy
2009-05-10 11:04 ` David MENTRE
2009-05-11 2:43 ` Jon Harrop
2009-05-10 23:12 ` Matteo Frigo
2009-05-11 2:45 ` Jon Harrop
2009-05-11 7:55 ` Dmitry Bely
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=90823c940905110143k2380b9e2r2ba0a79e6ff8d59e@mail.gmail.com \
--to=dmitry.bely@gmail.com \
--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