Received: from eggs.gnu.org ([2001:4830:134:3::10]:53085) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akqPY-0004q8-WA for qemu-devel@nongnu.org; Tue, 29 Mar 2016 05:58:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1akqPX-0007xt-RS for qemu-devel@nongnu.org; Tue, 29 Mar 2016 05:58:08 -0400 Received: from mailapp01.imgtec.com ([195.59.15.196]:44579) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akqPX-0007xR-IK for qemu-devel@nongnu.org; Tue, 29 Mar 2016 05:58:07 -0400 Received: from hhmail02.hh.imgtec.org (unknown [10.100.10.20]) by Websense Email Security Gateway with ESMTPS id 4EAD9FADD6964 for ; Tue, 29 Mar 2016 10:58:04 +0100 (IST) From: Leon Alrae Date: Tue, 29 Mar 2016 10:57:01 +0100 Message-ID: <1459245425-4374-18-git-send-email-leon.alrae@imgtec.com> In-Reply-To: <1459245425-4374-1-git-send-email-leon.alrae@imgtec.com> References: <1459245425-4374-1-git-send-email-leon.alrae@imgtec.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PULL 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