From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MAACn-00087X-4I for qemu-devel@nongnu.org; Fri, 29 May 2009 18:05:37 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MAACi-00085Y-Cj for qemu-devel@nongnu.org; Fri, 29 May 2009 18:05:36 -0400 Received: from [199.232.76.173] (port=40867 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MAACi-00085V-7p for qemu-devel@nongnu.org; Fri, 29 May 2009 18:05:32 -0400 Received: from mx20.gnu.org ([199.232.41.8]:53068) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MAACh-0000Jr-HL for qemu-devel@nongnu.org; Fri, 29 May 2009 18:05:31 -0400 Received: from mail.codesourcery.com ([65.74.133.4]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MAACg-0003Bf-W3 for qemu-devel@nongnu.org; Fri, 29 May 2009 18:05:31 -0400 From: Paul Brook Subject: Re: [Qemu-devel] Add ARM920T to ARM emulation Date: Fri, 29 May 2009 23:05:28 +0100 References: <1243603405-12989-1-git-send-email-vince@simtec.co.uk> In-Reply-To: <1243603405-12989-1-git-send-email-vince@simtec.co.uk> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200905292305.28740.paul@codesourcery.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Vincent Sanders > There was some discussion of the differences between v4 and v5 with > respect to LDR behaviour manipulating the program counter when the > bottom bit of an adress is set. The ARM-ARM clearly defines such > behaviour as "unpredicatble" (section A2.4.3 page 48) where it says > "In all variants of ARMv4 and ARMv5, bits[1:0] of a value written to > R15 in ARM state must be 0b00. If they are not, the results are > UNPREDICTABLE." . This statement is only applies to instructions that do not have explicit semantics for r15. Use of r15 as a destination in load/pop instructions is well defined. Paul