From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id MAA08641; Sat, 30 Aug 2003 12:19:52 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id MAA08378 for ; Sat, 30 Aug 2003 12:19:51 +0200 (MET DST) Received: from rz.zidlicky.org (bamb-d9b970fc.pool.mediaWays.net [217.185.112.252]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h7UAJmT22303; Sat, 30 Aug 2003 12:19:48 +0200 (MET DST) Received: by rz.zidlicky.org (Postfix, from userid 511) id 3571F6FAB8; Sat, 30 Aug 2003 11:59:28 +0200 (CEST) Date: Sat, 30 Aug 2003 11:59:28 +0200 From: Richard Zidlicky To: Xavier Leroy Cc: caml-list@inria.fr Subject: Re: [Caml-list] Native compiler support for m68k? Message-ID: <20030830095928.GC1213@linux-m68k.org> References: <20030820104917.GB6782@linux-m68k.org> <20030820143238.A15392@pauillac.inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20030820143238.A15392@pauillac.inria.fr> User-Agent: Mutt/1.4i X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 adapting:01 3.06:01 ocamlc:01 crashes:01 linenum:01 debugging:01 reloading:01 emitting:01 3.06:01 compiler:01 native:02 stack:02 allocated:03 account:96 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi, a short update, adapting to 3.06 was not very difficult but somehow triggered a few bugs in the code. Simple examples like "fib" work fine, ocamlc.opt crashes in parsing/linenum.ml so I am slowly adding debugging support to code generation to find out details. One of the bugs had to do with register reloading, pseudos that was allocated hard register in previous version ended up as stack slots (somehow a0 often isn't used for allocation where it previously was). Emitting code didn't take this possibility into account in some places generating assembly code.. most likely the register constraints aren't good enough. Does anyone have a test suite? What kind of problems had other architectures between 2.04 and 3.06? Richard ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners