English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Native compilation for today's MIPS
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-08-12 (13:47)
From: rixed@h...
Subject: Re: [Caml-list] Native compilation for today's MIPS
-[ Wed, Aug 12, 2009 at 02:12:26PM +0200, David MENTRE ]----
> Hello,
> > ldl t8,7(a1)
> > ldr t8,0(a1)
> >
> Is this a problem you fixed in the compiler?

Well, it's not really a bug since the MIPs compiler was tailored for bigendians.
But if one want a MIPS compiler also for little endians this is something that
must be changed in mips/emit.ml (this, and a couple of other things).

For now I'm just experimenting. I will build an actual patch for people interrested
when/if I become confident with the result.

I just learnt that Debian is willing to create a mips64el distribution in addition to
their venerable mips and mipsel versions. OCaml native compiler would be fine to
have.  Anyway, I have many other things to debug (like dynamic sharing)  :)