From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41429) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbHCF-0005G2-Mf for qemu-devel@nongnu.org; Tue, 29 Oct 2013 17:51:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VbHC2-0000aE-UK for qemu-devel@nongnu.org; Tue, 29 Oct 2013 17:51:31 -0400 Received: from mail-yh0-x233.google.com ([2607:f8b0:4002:c01::233]:38706) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbHC2-0000Zi-Q0 for qemu-devel@nongnu.org; Tue, 29 Oct 2013 17:51:18 -0400 Received: by mail-yh0-f51.google.com with SMTP id 29so261410yhl.24 for ; Tue, 29 Oct 2013 14:51:18 -0700 (PDT) Sender: Richard Henderson Message-ID: <52702DD2.2080607@twiddle.net> Date: Tue, 29 Oct 2013 14:51:14 -0700 From: Richard Henderson MIME-Version: 1.0 References: <1383073495-5332-1-git-send-email-sebastian@macke.de> <1383073495-5332-5-git-send-email-sebastian@macke.de> In-Reply-To: <1383073495-5332-5-git-send-email-sebastian@macke.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 04/13] target-openrisc: sync flags only when necessary List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Sebastian Macke , qemu-devel@nongnu.org, proljc@gmail.com Cc: openrisc@openrisc.net, openrisc@lists.opencores.org On 10/29/2013 12:04 PM, Sebastian Macke wrote: > Very often the delayed slot flag is set only to be removed > one instruction later. This patch sets this flag > only on instructions which could fail and at the end > of a translation block if necessary. This is something else you'd probably be better off determining during restore_state_to_opc, particularly for the load/store instructions. r~