From: Aurelien Jarno Date: Sat, 19 Jun 2010 09:11:10 +0000 (+0200) Subject: target-mips: enable movn/movz on loongson 2E & 2F X-Git-Tag: v0.13.0-rc0~151 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=aa8f40090ab94877b49a256069077e1476607e35;p=thirdparty%2Fqemu.git target-mips: enable movn/movz on loongson 2E & 2F Signed-off-by: Aurelien Jarno --- diff --git a/target-mips/translate.c b/target-mips/translate.c index d43d72deea1..8531d6cc123 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: