Received: from eggs.gnu.org ([2001:4830:134:3::10]:38497) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ajS7z-0002a9-Kc for qemu-devel@nongnu.org; Fri, 25 Mar 2016 09:50:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ajS7v-0002JH-N6 for qemu-devel@nongnu.org; Fri, 25 Mar 2016 09:50:15 -0400 Received: from mailapp01.imgtec.com ([195.59.15.196]:28620) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ajS7v-0002IB-Hi for qemu-devel@nongnu.org; Fri, 25 Mar 2016 09:50:11 -0400 From: Leon Alrae Date: Fri, 25 Mar 2016 13:49:35 +0000 Message-ID: <1458913777-28034-7-git-send-email-leon.alrae@imgtec.com> In-Reply-To: <1458913777-28034-1-git-send-email-leon.alrae@imgtec.com> References: <1458913777-28034-1-git-send-email-leon.alrae@imgtec.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH v2 6/8] 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 a5b8805..65f2caf 100644 --- a/target-mips/translate.c +++ b/target-mips/translate.c @@ -17194,6 +17194,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.7.4