From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34274) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alBpu-0002vT-0f for qemu-devel@nongnu.org; Wed, 30 Mar 2016 04:50:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1alBpp-0001rk-Tc for qemu-devel@nongnu.org; Wed, 30 Mar 2016 04:50:45 -0400 Received: from mailapp01.imgtec.com ([195.59.15.196]:62905) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alBpp-0001ra-Nj for qemu-devel@nongnu.org; Wed, 30 Mar 2016 04:50:41 -0400 Received: from hhmail02.hh.imgtec.org (unknown [10.100.10.20]) by Websense Email Security Gateway with ESMTPS id 5D0BBE73DA8E8 for ; Wed, 30 Mar 2016 09:50:39 +0100 (IST) From: Leon Alrae Date: Wed, 30 Mar 2016 09:49:58 +0100 Message-ID: <1459327802-5102-18-git-send-email-leon.alrae@imgtec.com> In-Reply-To: <1459327802-5102-1-git-send-email-leon.alrae@imgtec.com> References: <1459327802-5102-1-git-send-email-leon.alrae@imgtec.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PULL v2 17/21] 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 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.1.0