From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MGrrH-0000ac-T2 for qemu-devel@nongnu.org; Wed, 17 Jun 2009 05:55:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MGrrE-0000Q4-1D for qemu-devel@nongnu.org; Wed, 17 Jun 2009 05:55:07 -0400 Received: from [199.232.76.173] (port=55947 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MGrrD-0000Pt-Nd for qemu-devel@nongnu.org; Wed, 17 Jun 2009 05:55:03 -0400 Received: from mail-ew0-f220.google.com ([209.85.219.220]:38396) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MGrrC-0000r9-Nv for qemu-devel@nongnu.org; Wed, 17 Jun 2009 05:55:03 -0400 Received: by ewy20 with SMTP id 20so235354ewy.34 for ; Wed, 17 Jun 2009 02:55:02 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <5b31733c0906161349l62255380rbd63647e7d9ee415@mail.gmail.com> References: <200707021527.54435.uli@suse.de> <200707031645.51832.uli@suse.de> <5b31733c0906151211o1c95245ay38f2d09c123ea0c9@mail.gmail.com> <200906161825.18981.paul@codesourcery.com> <20090616190214.GM11893@shareable.org> <5b31733c0906161349l62255380rbd63647e7d9ee415@mail.gmail.com> Date: Wed, 17 Jun 2009 11:55:01 +0200 Message-ID: <5b31733c0906170255p65c995a3r6e3f5ab060440fde@mail.gmail.com> Subject: Re: [Qemu-devel] [PATCH] ARM7TDMI emulation From: Filip Navara Content-Type: multipart/alternative; boundary=0016364efa40efe7aa046c884833 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jamie Lokier Cc: Paul Brook , qemu-devel@nongnu.org --0016364efa40efe7aa046c884833 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Tue, Jun 16, 2009 at 10:49 PM, Filip Navara wrote: > Do you know of a good summary reference which lists which instructions >> are available in each ARM architecture level from ARMv4 up to ARMv7 >> and it's variants? >> > > My main reference are the technical reference manuals for ARM processors > downloaded from Atmel site. I'm not sure about the license, but it states > "This document is Open Access. This document has no restriction on > distribution." Other reference sources are Skyeye emulation (has to be taken > with grain of salt and checked against the manuals, but it makes distinction > between v4, v5 and v5e) and Paul Brook. > > I've certainly missed handling BLX (at least on three places) in the patch > and possibly more. I'll post an updated patch soon. > ... and here's the updated patch. Comments welcome. I've added more checks for V5+ instructions and fixed about every LDR/LDM place I found to not call gen_bx to set r15. Best regards, Filip Navara Best regards, Filip Navara --0016364efa40efe7aa046c884833 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Tue, Jun 16, 2009 at 10:49 PM, Filip Navara <= span dir=3D"ltr"><filip.navara= @gmail.com> wrote:
Do you know of a good summary reference which lists which instru= ctions
are available in each ARM architecture level from ARMv4 up to ARMv7
and it's variants?

My main referen= ce are the technical reference manuals for ARM processors downloaded from A= tmel site. I'm not sure about the license, but it states "This doc= ument is Open Access. This document has no restriction on distribution.&quo= t; Other reference sources are Skyeye emulation (has to be taken with grain= of salt and checked against the manuals, but it makes distinction between = v4, v5 and v5e) and Paul Brook.

I've certainly missed handling BLX (at least on thr= ee places) in the patch and possibly more. I'll post an updated patch s= oon.

... and here's the updated p= atch. Comments welcome.=A0

I've added more checks for V5+ instructions and fix= ed about every LDR/LDM place I found to not call gen_bx to set r15.

Best regards,
Filip Navara

Best regards,
Filip Navara=A0
--0016364efa40efe7aa046c884833--