From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33077) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5z7f-00063R-E0 for qemu-devel@nongnu.org; Fri, 19 Jun 2015 12:26:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5z7b-00028h-Rs for qemu-devel@nongnu.org; Fri, 19 Jun 2015 12:26:31 -0400 Received: from mailapp01.imgtec.com ([195.59.15.196]:29005) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5z7b-00028V-Mk for qemu-devel@nongnu.org; Fri, 19 Jun 2015 12:26:27 -0400 From: Yongbok Kim Date: Fri, 19 Jun 2015 17:25:25 +0100 Message-ID: <1434731138-4918-3-git-send-email-yongbok.kim@imgtec.com> In-Reply-To: <1434731138-4918-1-git-send-email-yongbok.kim@imgtec.com> References: <1434731138-4918-1-git-send-email-yongbok.kim@imgtec.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH v2 02/15] target-mips: add microMIPS TLBINV, TLBINVF List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: leon.alrae@imgtec.com, aurelien@aurel32.net add microMIPS TLBINV, TLBINVF Signed-off-by: Yongbok Kim Reviewed-by: Aurelien Jarno Reviewed-by: Leon Alrae --- target-mips/translate.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/target-mips/translate.c b/target-mips/translate.c index 97b74ba..963ff8b 100644 --- a/target-mips/translate.c +++ b/target-mips/translate.c @@ -12233,6 +12233,8 @@ enum { TLBR = 0x1, TLBWI = 0x2, TLBWR = 0x3, + TLBINV = 0x4, + TLBINVF = 0x5, WAIT = 0x9, IRET = 0xd, DERET = 0xe, @@ -13017,6 +13019,12 @@ static void gen_pool32axf (CPUMIPSState *env, DisasContext *ctx, int rt, int rs) case TLBWR: mips32_op = OPC_TLBWR; goto do_cp0; + case TLBINV: + mips32_op = OPC_TLBINV; + goto do_cp0; + case TLBINVF: + mips32_op = OPC_TLBINVF; + goto do_cp0; case WAIT: mips32_op = OPC_WAIT; goto do_cp0; -- 1.7.5.4