diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2010-06-19 11:11:10 +0200 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-06-29 23:26:34 +0200 |
commit | aa8f40090ab94877b49a256069077e1476607e35 (patch) | |
tree | fe0c5795fc89bc859f4f7b007860fa3e0a1d1608 | |
parent | 15656e09cda3f3f3f89bfde3657227f72f0a9130 (diff) | |
download | hqemu-aa8f40090ab94877b49a256069077e1476607e35.zip hqemu-aa8f40090ab94877b49a256069077e1476607e35.tar.gz |
target-mips: enable movn/movz on loongson 2E & 2F
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
-rw-r--r-- | target-mips/translate.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target-mips/translate.c b/target-mips/translate.c index d43d72d..8531d6c 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: |