1 From 3380afc68a701604e51fa22637ef48d93514d678 Mon Sep 17 00:00:00 2001
2 From: Richard Henderson <rth@twiddle.net>
3 Date: Tue, 18 Sep 2012 21:55:32 -0700
4 Subject: [PATCH] target-mips: Set opn in gen_ldst_multiple.
6 Used by MIPS_DEBUG, when enabled.
8 Signed-off-by: Richard Henderson <rth@twiddle.net>
9 Acked-by: Aurelien Jarno <aurelien@aurel32.net>
10 Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
11 Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
13 target-mips/translate.c | 6 ++++++
14 1 file changed, 6 insertions(+)
16 diff --git a/target-mips/translate.c b/target-mips/translate.c
17 index 7ab769f..c31f91c 100644
18 --- a/target-mips/translate.c
19 +++ b/target-mips/translate.c
20 @@ -9855,6 +9855,7 @@ static void gen_andi16 (CPUMIPSState *env, DisasContext *ctx)
21 static void gen_ldst_multiple (DisasContext *ctx, uint32_t opc, int reglist,
22 int base, int16_t offset)
24 + const char *opn = "ldst_multiple";
28 @@ -9874,19 +9875,24 @@ static void gen_ldst_multiple (DisasContext *ctx, uint32_t opc, int reglist,
31 gen_helper_lwm(cpu_env, t0, t1, t2);
35 gen_helper_swm(cpu_env, t0, t1, t2);
40 gen_helper_ldm(cpu_env, t0, t1, t2);
44 gen_helper_sdm(cpu_env, t0, t1, t2);
50 MIPS_DEBUG("%s, %x, %d(%s)", opn, reglist, offset, regnames[base]);