From nobody Thu May 2 12:57:58 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@gnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@gnu.org Return-Path: Received: from lists.gnu.org (208.118.235.17 [208.118.235.17]) by mx.zohomail.com with SMTPS id 1506676636809453.7457185954978; Fri, 29 Sep 2017 02:17:16 -0700 (PDT) Received: from localhost ([::1]:34315 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dxrPs-0005oT-2T for importer@patchew.org; Fri, 29 Sep 2017 05:17:04 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56060) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dxrOz-0005M6-0T for qemu-devel@nongnu.org; Fri, 29 Sep 2017 05:16:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dxrOu-0004jY-WD for qemu-devel@nongnu.org; Fri, 29 Sep 2017 05:16:08 -0400 Received: from out1.zte.com.cn ([202.103.147.172]:42756 helo=mxct.zte.com.cn) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dxrOu-0004dw-Cf for qemu-devel@nongnu.org; Fri, 29 Sep 2017 05:16:04 -0400 Received: from mse01.zte.com.cn (unknown [10.30.3.20]) by Forcepoint Email with ESMTPS id 9D215ACF74367F93879E; Fri, 29 Sep 2017 17:15:56 +0800 (CST) Received: from notes_smtp.zte.com.cn ([10.30.1.239]) by mse01.zte.com.cn with ESMTP id v8T9FJDa079378; Fri, 29 Sep 2017 17:15:19 +0800 (GMT-8) (envelope-from jiang.biao2@zte.com.cn) Received: from localhost.localdomain ([10.75.9.60]) by szsmtp06.zte.com.cn (Lotus Domino Release 8.5.3FP6) with ESMTP id 2017092917152556-3756713 ; Fri, 29 Sep 2017 17:15:25 +0800 From: Jiang Biao To: aurelien@aurel32.net, yongbok.kim@imgtec.com Date: Fri, 29 Sep 2017 17:35:07 +0800 Message-Id: <1506677707-2758-1-git-send-email-jiang.biao2@zte.com.cn> X-Mailer: git-send-email 1.8.3.1 X-MIMETrack: Itemize by SMTP Server on SZSMTP06/server/zte_ltd(Release 8.5.3FP6|November 21, 2013) at 2017-09-29 17:15:25, Serialize by Router on notes_smtp/zte_ltd(Release 9.0.1FP7|August 17, 2016) at 2017-09-29 17:15:03, Serialize complete at 2017-09-29 17:15:03 X-MAIL: mse01.zte.com.cn v8T9FJDa079378 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 202.103.147.172 Subject: [Qemu-devel] [PATCH] target/mips: remove commented out codes in translate.c X-BeenThere: qemu-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jiang.biao2@zte.com.cn, zhong.weidong@zte.com.cn, qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@gnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Jiang Biao Reviewed-by: Yongbok Kim --- target/mips/translate.c | 48 ---------------------------------------------= --- 1 file changed, 48 deletions(-) diff --git a/target/mips/translate.c b/target/mips/translate.c index 559f8fe..7c102a4 100644 --- a/target/mips/translate.c +++ b/target/mips/translate.c @@ -5133,7 +5133,6 @@ static void gen_mfc0(DisasContext *ctx, TCGv arg, int= reg, int sel) rn =3D "Context"; break; case 1: -// gen_helper_mfc0_contextconfig(arg); /* SmartMIPS ASE */ rn =3D "ContextConfig"; goto cp0_unimplemented; case 2: @@ -5455,19 +5454,15 @@ static void gen_mfc0(DisasContext *ctx, TCGv arg, i= nt reg, int sel) rn =3D "Debug"; break; case 1: -// gen_helper_mfc0_tracecontrol(arg); /* PDtrace support */ rn =3D "TraceControl"; goto cp0_unimplemented; case 2: -// gen_helper_mfc0_tracecontrol2(arg); /* PDtrace support */ rn =3D "TraceControl2"; goto cp0_unimplemented; case 3: -// gen_helper_mfc0_usertracedata(arg); /* PDtrace support */ rn =3D "UserTraceData"; goto cp0_unimplemented; case 4: -// gen_helper_mfc0_tracebpc(arg); /* PDtrace support */ rn =3D "TraceBPC"; goto cp0_unimplemented; default: @@ -5493,31 +5488,24 @@ static void gen_mfc0(DisasContext *ctx, TCGv arg, i= nt reg, int sel) rn =3D "Performance0"; break; case 1: -// gen_helper_mfc0_performance1(arg); rn =3D "Performance1"; goto cp0_unimplemented; case 2: -// gen_helper_mfc0_performance2(arg); rn =3D "Performance2"; goto cp0_unimplemented; case 3: -// gen_helper_mfc0_performance3(arg); rn =3D "Performance3"; goto cp0_unimplemented; case 4: -// gen_helper_mfc0_performance4(arg); rn =3D "Performance4"; goto cp0_unimplemented; case 5: -// gen_helper_mfc0_performance5(arg); rn =3D "Performance5"; goto cp0_unimplemented; case 6: -// gen_helper_mfc0_performance6(arg); rn =3D "Performance6"; goto cp0_unimplemented; case 7: -// gen_helper_mfc0_performance7(arg); rn =3D "Performance7"; goto cp0_unimplemented; default: @@ -5785,7 +5773,6 @@ static void gen_mtc0(DisasContext *ctx, TCGv arg, int= reg, int sel) rn =3D "Context"; break; case 1: -// gen_helper_mtc0_contextconfig(cpu_env, arg); /* SmartMIPS AS= E */ rn =3D "ContextConfig"; goto cp0_unimplemented; case 2: @@ -6110,13 +6097,11 @@ static void gen_mtc0(DisasContext *ctx, TCGv arg, i= nt reg, int sel) rn =3D "Debug"; break; case 1: -// gen_helper_mtc0_tracecontrol(cpu_env, arg); /* PDtrace suppo= rt */ rn =3D "TraceControl"; /* Stop translation as we may have switched the execution mode= */ ctx->bstate =3D BS_STOP; goto cp0_unimplemented; case 2: -// gen_helper_mtc0_tracecontrol2(cpu_env, arg); /* PDtrace supp= ort */ rn =3D "TraceControl2"; /* Stop translation as we may have switched the execution mode= */ ctx->bstate =3D BS_STOP; @@ -6124,13 +6109,11 @@ static void gen_mtc0(DisasContext *ctx, TCGv arg, i= nt reg, int sel) case 3: /* Stop translation as we may have switched the execution mode= */ ctx->bstate =3D BS_STOP; -// gen_helper_mtc0_usertracedata(cpu_env, arg); /* PDtrace supp= ort */ rn =3D "UserTraceData"; /* Stop translation as we may have switched the execution mode= */ ctx->bstate =3D BS_STOP; goto cp0_unimplemented; case 4: -// gen_helper_mtc0_tracebpc(cpu_env, arg); /* PDtrace support */ /* Stop translation as we may have switched the execution mode= */ ctx->bstate =3D BS_STOP; rn =3D "TraceBPC"; @@ -6157,31 +6140,24 @@ static void gen_mtc0(DisasContext *ctx, TCGv arg, i= nt reg, int sel) rn =3D "Performance0"; break; case 1: -// gen_helper_mtc0_performance1(arg); rn =3D "Performance1"; goto cp0_unimplemented; case 2: -// gen_helper_mtc0_performance2(arg); rn =3D "Performance2"; goto cp0_unimplemented; case 3: -// gen_helper_mtc0_performance3(arg); rn =3D "Performance3"; goto cp0_unimplemented; case 4: -// gen_helper_mtc0_performance4(arg); rn =3D "Performance4"; goto cp0_unimplemented; case 5: -// gen_helper_mtc0_performance5(arg); rn =3D "Performance5"; goto cp0_unimplemented; case 6: -// gen_helper_mtc0_performance6(arg); rn =3D "Performance6"; goto cp0_unimplemented; case 7: -// gen_helper_mtc0_performance7(arg); rn =3D "Performance7"; goto cp0_unimplemented; default: @@ -6447,7 +6423,6 @@ static void gen_dmfc0(DisasContext *ctx, TCGv arg, in= t reg, int sel) rn =3D "Context"; break; case 1: -// gen_helper_dmfc0_contextconfig(arg); /* SmartMIPS ASE */ rn =3D "ContextConfig"; goto cp0_unimplemented; case 2: @@ -6762,19 +6737,15 @@ static void gen_dmfc0(DisasContext *ctx, TCGv arg, = int reg, int sel) rn =3D "Debug"; break; case 1: -// gen_helper_dmfc0_tracecontrol(arg, cpu_env); /* PDtrace supp= ort */ rn =3D "TraceControl"; goto cp0_unimplemented; case 2: -// gen_helper_dmfc0_tracecontrol2(arg, cpu_env); /* PDtrace sup= port */ rn =3D "TraceControl2"; goto cp0_unimplemented; case 3: -// gen_helper_dmfc0_usertracedata(arg, cpu_env); /* PDtrace sup= port */ rn =3D "UserTraceData"; goto cp0_unimplemented; case 4: -// gen_helper_dmfc0_tracebpc(arg, cpu_env); /* PDtrace support = */ rn =3D "TraceBPC"; goto cp0_unimplemented; default: @@ -6799,31 +6770,24 @@ static void gen_dmfc0(DisasContext *ctx, TCGv arg, = int reg, int sel) rn =3D "Performance0"; break; case 1: -// gen_helper_dmfc0_performance1(arg); rn =3D "Performance1"; goto cp0_unimplemented; case 2: -// gen_helper_dmfc0_performance2(arg); rn =3D "Performance2"; goto cp0_unimplemented; case 3: -// gen_helper_dmfc0_performance3(arg); rn =3D "Performance3"; goto cp0_unimplemented; case 4: -// gen_helper_dmfc0_performance4(arg); rn =3D "Performance4"; goto cp0_unimplemented; case 5: -// gen_helper_dmfc0_performance5(arg); rn =3D "Performance5"; goto cp0_unimplemented; case 6: -// gen_helper_dmfc0_performance6(arg); rn =3D "Performance6"; goto cp0_unimplemented; case 7: -// gen_helper_dmfc0_performance7(arg); rn =3D "Performance7"; goto cp0_unimplemented; default: @@ -7083,7 +7047,6 @@ static void gen_dmtc0(DisasContext *ctx, TCGv arg, in= t reg, int sel) rn =3D "Context"; break; case 1: -// gen_helper_mtc0_contextconfig(cpu_env, arg); /* SmartMIPS ASE= */ rn =3D "ContextConfig"; goto cp0_unimplemented; case 2: @@ -7410,25 +7373,21 @@ static void gen_dmtc0(DisasContext *ctx, TCGv arg, = int reg, int sel) rn =3D "Debug"; break; case 1: -// gen_helper_mtc0_tracecontrol(cpu_env, arg); /* PDtrace suppo= rt */ /* Stop translation as we may have switched the execution mode= */ ctx->bstate =3D BS_STOP; rn =3D "TraceControl"; goto cp0_unimplemented; case 2: -// gen_helper_mtc0_tracecontrol2(cpu_env, arg); /* PDtrace supp= ort */ /* Stop translation as we may have switched the execution mode= */ ctx->bstate =3D BS_STOP; rn =3D "TraceControl2"; goto cp0_unimplemented; case 3: -// gen_helper_mtc0_usertracedata(cpu_env, arg); /* PDtrace supp= ort */ /* Stop translation as we may have switched the execution mode= */ ctx->bstate =3D BS_STOP; rn =3D "UserTraceData"; goto cp0_unimplemented; case 4: -// gen_helper_mtc0_tracebpc(cpu_env, arg); /* PDtrace support */ /* Stop translation as we may have switched the execution mode= */ ctx->bstate =3D BS_STOP; rn =3D "TraceBPC"; @@ -7455,31 +7414,24 @@ static void gen_dmtc0(DisasContext *ctx, TCGv arg, = int reg, int sel) rn =3D "Performance0"; break; case 1: -// gen_helper_mtc0_performance1(cpu_env, arg); rn =3D "Performance1"; goto cp0_unimplemented; case 2: -// gen_helper_mtc0_performance2(cpu_env, arg); rn =3D "Performance2"; goto cp0_unimplemented; case 3: -// gen_helper_mtc0_performance3(cpu_env, arg); rn =3D "Performance3"; goto cp0_unimplemented; case 4: -// gen_helper_mtc0_performance4(cpu_env, arg); rn =3D "Performance4"; goto cp0_unimplemented; case 5: -// gen_helper_mtc0_performance5(cpu_env, arg); rn =3D "Performance5"; goto cp0_unimplemented; case 6: -// gen_helper_mtc0_performance6(cpu_env, arg); rn =3D "Performance6"; goto cp0_unimplemented; case 7: -// gen_helper_mtc0_performance7(cpu_env, arg); rn =3D "Performance7"; goto cp0_unimplemented; default: --=20 2.7.4