From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M4mog-0004IR-JZ for qemu-devel@nongnu.org; Thu, 14 May 2009 22:06:30 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M4mob-0004HY-DP for qemu-devel@nongnu.org; Thu, 14 May 2009 22:06:29 -0400 Received: from [199.232.76.173] (port=50678 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M4mob-0004HV-Ac for qemu-devel@nongnu.org; Thu, 14 May 2009 22:06:25 -0400 Received: from mx20.gnu.org ([199.232.41.8]:45857) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M4moa-0005lE-U0 for qemu-devel@nongnu.org; Thu, 14 May 2009 22:06:25 -0400 Received: from mail.codesourcery.com ([65.74.133.4]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M4moZ-0004Go-VU for qemu-devel@nongnu.org; Thu, 14 May 2009 22:06:24 -0400 From: Paul Brook Subject: Re: [Qemu-devel] [PATCH 2/2] fix ARMv7 data processing instructions Date: Fri, 15 May 2009 03:05:57 +0100 References: <61DFBCBD-0A9A-42E9-9E3E-F71E69BD6DFE@nokia.com> In-Reply-To: <61DFBCBD-0A9A-42E9-9E3E-F71E69BD6DFE@nokia.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200905150305.57613.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: Juha =?iso-8859-15?q?Riihim=E4ki?= On Wednesday 06 May 2009, Juha Riihim=E4ki wrote: > ARMv7 defines a new behavior for ARM data processing instructions > compared to earlier architecture revisions; when the destination > register is R15, a Branch and Exchange operation is executed rather > than a simple Branch to the target address. This patch corrects the > behavior of the emulation for the aforementioned operations. We should not switch modes if instructions sets the condition flags. Paul