From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60009) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR0kJ-0003Rz-LL for qemu-devel@nongnu.org; Wed, 03 Feb 2016 11:57:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aR0kI-0005xr-Oc for qemu-devel@nongnu.org; Wed, 03 Feb 2016 11:57:35 -0500 Received: from mailapp01.imgtec.com ([195.59.15.196]:15751) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR0kI-0005xm-JD for qemu-devel@nongnu.org; Wed, 03 Feb 2016 11:57:34 -0500 From: Leon Alrae Date: Wed, 3 Feb 2016 16:56:50 +0000 Message-ID: <1454518611-26134-9-git-send-email-leon.alrae@imgtec.com> In-Reply-To: <1454518611-26134-1-git-send-email-leon.alrae@imgtec.com> References: <1454518611-26134-1-git-send-email-leon.alrae@imgtec.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH 8/9] target-mips: check CP0 enabled for CACHE instruction also in R6 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aurelien@aurel32.net Signed-off-by: Leon Alrae --- target-mips/translate.c | 1 + 1 file changed, 1 insertion(+) diff --git a/target-mips/translate.c b/target-mips/translate.c index c6e2951..3fb3744 100644 --- a/target-mips/translate.c +++ b/target-mips/translate.c @@ -17179,6 +17179,7 @@ static void decode_opc_special3_r6(CPUMIPSState *env, DisasContext *ctx) /* Treat as NOP. */ break; case R6_OPC_CACHE: + check_cp0_enabled(ctx); /* Treat as NOP. */ break; case R6_OPC_SC: -- 2.1.0