|
|
5544c1 |
From 3380afc68a701604e51fa22637ef48d93514d678 Mon Sep 17 00:00:00 2001
|
|
|
5544c1 |
From: Richard Henderson <rth@twiddle.net>
|
|
|
5544c1 |
Date: Tue, 18 Sep 2012 21:55:32 -0700
|
|
|
5544c1 |
Subject: [PATCH] target-mips: Set opn in gen_ldst_multiple.
|
|
|
5544c1 |
|
|
|
5544c1 |
Used by MIPS_DEBUG, when enabled.
|
|
|
5544c1 |
|
|
|
5544c1 |
Signed-off-by: Richard Henderson <rth@twiddle.net>
|
|
|
5544c1 |
Acked-by: Aurelien Jarno <aurelien@aurel32.net>
|
|
|
5544c1 |
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
|
|
|
5544c1 |
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
|
|
|
5544c1 |
---
|
|
|
5544c1 |
target-mips/translate.c | 6 ++++++
|
|
|
5544c1 |
1 file changed, 6 insertions(+)
|
|
|
5544c1 |
|
|
|
5544c1 |
diff --git a/target-mips/translate.c b/target-mips/translate.c
|
|
|
5544c1 |
index 7ab769f..c31f91c 100644
|
|
|
5544c1 |
--- a/target-mips/translate.c
|
|
|
5544c1 |
+++ b/target-mips/translate.c
|
|
|
5544c1 |
@@ -9855,6 +9855,7 @@ static void gen_andi16 (CPUMIPSState *env, DisasContext *ctx)
|
|
|
5544c1 |
static void gen_ldst_multiple (DisasContext *ctx, uint32_t opc, int reglist,
|
|
|
5544c1 |
int base, int16_t offset)
|
|
|
5544c1 |
{
|
|
|
5544c1 |
+ const char *opn = "ldst_multiple";
|
|
|
5544c1 |
TCGv t0, t1;
|
|
|
5544c1 |
TCGv_i32 t2;
|
|
|
5544c1 |
|
|
|
5544c1 |
@@ -9874,19 +9875,24 @@ static void gen_ldst_multiple (DisasContext *ctx, uint32_t opc, int reglist,
|
|
|
5544c1 |
switch (opc) {
|
|
|
5544c1 |
case LWM32:
|
|
|
5544c1 |
gen_helper_lwm(cpu_env, t0, t1, t2);
|
|
|
5544c1 |
+ opn = "lwm";
|
|
|
5544c1 |
break;
|
|
|
5544c1 |
case SWM32:
|
|
|
5544c1 |
gen_helper_swm(cpu_env, t0, t1, t2);
|
|
|
5544c1 |
+ opn = "swm";
|
|
|
5544c1 |
break;
|
|
|
5544c1 |
#ifdef TARGET_MIPS64
|
|
|
5544c1 |
case LDM:
|
|
|
5544c1 |
gen_helper_ldm(cpu_env, t0, t1, t2);
|
|
|
5544c1 |
+ opn = "ldm";
|
|
|
5544c1 |
break;
|
|
|
5544c1 |
case SDM:
|
|
|
5544c1 |
gen_helper_sdm(cpu_env, t0, t1, t2);
|
|
|
5544c1 |
+ opn = "sdm";
|
|
|
5544c1 |
break;
|
|
|
5544c1 |
#endif
|
|
|
5544c1 |
}
|
|
|
5544c1 |
+ (void)opn;
|
|
|
5544c1 |
MIPS_DEBUG("%s, %x, %d(%s)", opn, reglist, offset, regnames[base]);
|
|
|
5544c1 |
tcg_temp_free(t0);
|
|
|
5544c1 |
tcg_temp_free(t1);
|
|
|
5544c1 |
--
|
|
|
5544c1 |
1.7.12.1
|
|
|
5544c1 |
|