From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:42111) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIl0P-0002yy-Ti for qemu-devel@nongnu.org; Tue, 25 Oct 2011 13:41:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RIl0P-0007iu-1f for qemu-devel@nongnu.org; Tue, 25 Oct 2011 13:41:41 -0400 Received: from mail-ww0-f53.google.com ([74.125.82.53]:41896) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIl0O-0007in-Te for qemu-devel@nongnu.org; Tue, 25 Oct 2011 13:41:41 -0400 Received: by wwi36 with SMTP id 36so1091858wwi.10 for ; Tue, 25 Oct 2011 10:41:40 -0700 (PDT) Sender: Richard Henderson Message-ID: <4EA6F4CE.8060304@twiddle.net> Date: Tue, 25 Oct 2011 10:41:34 -0700 From: Richard Henderson MIME-Version: 1.0 References: <1319561060-6472-1-git-send-email-jcmvbkbc@gmail.com> <201110252124.58870.jcmvbkbc@gmail.com> In-Reply-To: <201110252124.58870.jcmvbkbc@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] target-xtensa: raise an exception for invalid and reserved opcodes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Filippov Cc: Peter Maydell , qemu-devel@nongnu.org On 10/25/2011 10:24 AM, Max Filippov wrote: > Do you mean that I have to end the TB on every instruction that will definitely raise an exception? > Or on every instruction that potentially raises an exception? > I didn't do any of the above anywhere. Normally we do end the TB on every instruction that will definitely raise an exception. There's little point to continue translation, since we know for a fact that control will transfer out of the cpu loop. r~