From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gewrc-00083T-9q for qemu-devel@nongnu.org; Tue, 31 Oct 2006 11:53:24 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gewrb-00083F-8P for qemu-devel@nongnu.org; Tue, 31 Oct 2006 11:53:23 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gewrb-00083C-3C for qemu-devel@nongnu.org; Tue, 31 Oct 2006 11:53:23 -0500 Received: from [71.162.243.5] (helo=grelber.thyrsus.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Gewrb-0005CZ-4F for qemu-devel@nongnu.org; Tue, 31 Oct 2006 11:53:23 -0500 From: Rob Landley Subject: Re: [Qemu-devel] qemu vs gcc4 Date: Tue, 31 Oct 2006 11:53:00 -0500 References: <45391B22.1050608@palmsource.com> <453D0428.9090809@palmsource.com> <200610231937.44676.paul@codesourcery.com> In-Reply-To: <200610231937.44676.paul@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200610311153.00334.rob@landley.net> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paul Brook On Monday 23 October 2006 2:37 pm, Paul Brook wrote: > > > Better to just teach qemu how to generate code. > > > In fact I've already done most of the infrastructure (and a fair amount > > > of the legwork) for this. The only major missing function is code to do > > > softmmu load/store ops. > > > https://nowt.dyndns.org/ I looked at the big diff between that and mainline, and couldn't make heads nor tails of it in the half-hour I spent on it. I also looked at the svn history, but there's apparently a year and change of it. I don't suppose there's a design document somewhere? Or could you quickly explain "old one did this, new one does this, the code path diverges here, start reading at this point and expect this and this to happen, and if you go read this unrelated documentation to get up to speed it might help..." I'd like to add enough of the new code generation stuff to the existing targets so it doesn't break when built with gcc4, but so far my interest here greatly outstrips my ability. I don't even know where to start... Rob -- "Perfection is reached, not when there is no longer anything to add, but when there is no longer anything to take away." - Antoine de Saint-Exupery