From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41110) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbHAM-0004K4-Nq for qemu-devel@nongnu.org; Tue, 29 Oct 2013 17:49:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VbHAE-0008Eh-4F for qemu-devel@nongnu.org; Tue, 29 Oct 2013 17:49:34 -0400 Received: from mail-yh0-x22d.google.com ([2607:f8b0:4002:c01::22d]:49790) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbHAD-0008ER-Uv for qemu-devel@nongnu.org; Tue, 29 Oct 2013 17:49:26 -0400 Received: by mail-yh0-f45.google.com with SMTP id i57so260555yha.4 for ; Tue, 29 Oct 2013 14:49:24 -0700 (PDT) Sender: Richard Henderson Message-ID: <52702D5F.2090809@twiddle.net> Date: Tue, 29 Oct 2013 14:49:19 -0700 From: Richard Henderson MIME-Version: 1.0 References: <1383073495-5332-1-git-send-email-sebastian@macke.de> <1383073495-5332-4-git-send-email-sebastian@macke.de> <52702A72.8040705@macke.de> In-Reply-To: <52702A72.8040705@macke.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 03/13] target-openrisc: Separate of load/store instructions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Sebastian Macke , Max Filippov Cc: openrisc@openrisc.net, openrisc@lists.opencores.org, qemu-devel , Ethan Hunt On 10/29/2013 02:36 PM, Sebastian Macke wrote: > > The problem is the epcr register in the interrupt routine in which the current > pc must be saved. I assume the epcr register is quite predictable based on the insn stream. One can restore more than just the PC during re-translation. C.f. the s390 port which also restores CC_OP, and the sparc port which also restores NPC (next pc). r~