From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=NO_REAL_NAME autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 3CB4BBBAF for ; Wed, 12 Aug 2009 15:47:42 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: At0BACtlgkrUGyoFkWdsb2JhbACaVgEBAQEJCwoHEwO3OoQZBYIn X-IronPort-AV: E=Sophos;i="4.43,367,1246831200"; d="scan'208";a="44601910" Received: from smtp5-g21.free.fr ([212.27.42.5]) by mail4-smtp-sop.national.inria.fr with ESMTP; 12 Aug 2009 15:46:48 +0200 Received: from smtp5-g21.free.fr (localhost [127.0.0.1]) by smtp5-g21.free.fr (Postfix) with ESMTP id CF47AD4804E for ; Wed, 12 Aug 2009 15:46:34 +0200 (CEST) Received: from apc.happyleptic.org (happyleptic.org [82.67.194.89]) by smtp5-g21.free.fr (Postfix) with ESMTP id ACB86D480BD for ; Wed, 12 Aug 2009 15:46:31 +0200 (CEST) Received: from fp-desktop.fr.evistel.com (ev [88.169.116.225]) by apc.happyleptic.org (Postfix) with ESMTP id 2C5C1334EF for ; Wed, 12 Aug 2009 15:46:31 +0200 (CEST) Received: from ccellier by fp-desktop.fr.evistel.com with local (Exim 4.69) (envelope-from ) id 1MbE9u-0002P0-Op for caml-list@inria.fr; Wed, 12 Aug 2009 15:46:30 +0200 Date: Wed, 12 Aug 2009 15:46:30 +0200 From: rixed@happyleptic.org To: caml-list@inria.fr Subject: Re: [Caml-list] Native compilation for today's MIPS Message-ID: <20090812134630.GA9023@fp-desktop.fr.evistel.com> References: <20090810173413.GA7442@fp-desktop.fr.evistel.com> <20090810230804.GA23104@happyleptic.org> <20090811101100.GA3238@happyleptic.org> <20090811180646.GA3881@happyleptic.org> <3d13dcfc0908120512j24cf5ad6p417fc73d0c773547@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3d13dcfc0908120512j24cf5ad6p417fc73d0c773547@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Spam: no; 0.00; compilation:01 mips:01 0200,:01 compiler:01 bug:01 mips:01 compiler:01 ocaml:01 2009:98 tailored:98 emit:01 caml-list:01 native:03 native:03 dynamic:03 -[ 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) :)