From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Li94W-0008I3-7W for qemu-devel@nongnu.org; Fri, 13 Mar 2009 11:13:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Li94V-0008Hb-If for qemu-devel@nongnu.org; Fri, 13 Mar 2009 11:13:15 -0400 Received: from [199.232.76.173] (port=40754 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Li94V-0008HU-7D for qemu-devel@nongnu.org; Fri, 13 Mar 2009 11:13:15 -0400 Received: from fg-out-1718.google.com ([72.14.220.154]:65155) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Li94U-0000zV-Pw for qemu-devel@nongnu.org; Fri, 13 Mar 2009 11:13:15 -0400 Received: by fg-out-1718.google.com with SMTP id 22so53127fge.8 for ; Fri, 13 Mar 2009 08:13:10 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <200903131152.42857.paul@codesourcery.com> Date: Fri, 13 Mar 2009 16:13:10 +0100 Message-ID: <761ea48b0903130813p38c369b2pedf564e7500ec04f@mail.gmail.com> Subject: Re: [Qemu-devel] [PATCH] fix ARMv7 MOV R15, xxx operation From: Laurent Desnogues Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 On Fri, Mar 13, 2009 at 3:18 PM, Riihimaki Juha wrote: > I suppose > changing the store_reg and gen_movl_reg_TN functions in > target-arm/translate.c to include an extra check when destination is R15 > like "if in ARM state and arch >= 7 then bx else..." might do the trick more > generally but do you think it introduces the change in a too wide scope? I'm afraid that'd be too wide as it would effect ld/st exclusive, gen_exception_return and gen_lookup_tb (plus iwmmxt code). Laurent