From aa8f40090ab94877b49a256069077e1476607e35 Mon Sep 17 00:00:00 2001 From: Aurelien Jarno Date: Sat, 19 Jun 2010 11:11:10 +0200 Subject: [PATCH] target-mips: enable movn/movz on loongson 2E & 2F Signed-off-by: Aurelien Jarno --- target-mips/translate.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target-mips/translate.c b/target-mips/translate.c index d43d72deea..8531d6cc12 100644 --- a/target-mips/translate.c +++ b/target-mips/translate.c @@ -11350,7 +11350,8 @@ static void decode_opc (CPUState *env, DisasContext *ctx, int *is_branch) break; case OPC_MOVN: /* Conditional move */ case OPC_MOVZ: - check_insn(env, ctx, ISA_MIPS4 | ISA_MIPS32); + check_insn(env, ctx, ISA_MIPS4 | ISA_MIPS32 | + INSN_LOONGSON2E | INSN_LOONGSON2F); gen_cond_move(env, op1, rd, rs, rt); break; case OPC_ADD ... OPC_SUBU: -- 2.30.2