From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M8uqS-0000Ti-Lc for qemu-devel@nongnu.org; Tue, 26 May 2009 07:29:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M8uqM-0000TS-EA for qemu-devel@nongnu.org; Tue, 26 May 2009 07:29:22 -0400 Received: from [199.232.76.173] (port=49937 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M8uqL-0000TO-M6 for qemu-devel@nongnu.org; Tue, 26 May 2009 07:29:18 -0400 Received: from mail2.shareable.org ([80.68.89.115]:41118) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M8uqL-00089Y-6u for qemu-devel@nongnu.org; Tue, 26 May 2009 07:29:17 -0400 Date: Tue, 26 May 2009 12:29:15 +0100 From: Jamie Lokier Subject: Re: [Qemu-devel] [PATCH 1/16] ARM Add ARM 920T identifiers Message-ID: <20090526112915.GA3224@shareable.org> References: <20090423171503.GC4629@derik> <200904301708.01385.paul@codesourcery.com> <20090523165033.GC8037@derik> <200905241931.19368.paul@codesourcery.com> <20090526093944.GB4784@derik> <761ea48b0905260242v4290a835rd8b958c7544e667c@mail.gmail.com> <20090526095652.GA32352@shareable.org> <761ea48b0905260308m5ba590cbl31781a20bd3d001f@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <761ea48b0905260308m5ba590cbl31781a20bd3d001f@mail.gmail.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Laurent Desnogues Cc: Vincent Sanders , qemu-devel@nongnu.org Laurent Desnogues wrote: > On Tue, May 26, 2009 at 11:56 AM, Jamie Lokier wrote: > > Laurent Desnogues wrote: > >> On Tue, May 26, 2009 at 11:39 AM, Vincent Sanders wrote: > >> > I will post the updated patch to the list shortly. Please be assured > >> > that every program we have tried (boot loaders, Linux, BSD etc.) > >> > appears to function as expected, to the point it had not been > >> > apparient the 920 was a different ISA version to the default emulation. > >> > > >> > So while this is indeed a technical issue, in practice it doesnt seem > >> > to be a major problem. > >> > >> It could be a major problem if you start playing with ARM/Thumb > >> interworking. > > > > I'm curious.  How would code built for ARMv4T interworking fail on an > > ARMv5T emulator? > > It shouldn't. I was thinking about how most people are misusing their > toolchain and think that if QEMU runs correctly some code, it should > run on the target. In that particular case, that will fail :-) For instance > LDM with PC used as procedure return does not behave the same > in v4T and v5 IIRC. I agree. Especially for testing toolchains and architecture-specific code, it would be quite nice :-) I gather the x86 target is similarly lax with checking some things that a real x86 checks. -- Jamie