]> git.proxmox.com Git - qemu.git/commitdiff
target-mips: enable movn/movz on loongson 2E & 2F
authorAurelien Jarno <aurelien@aurel32.net>
Sat, 19 Jun 2010 09:11:10 +0000 (11:11 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Tue, 29 Jun 2010 21:26:34 +0000 (23:26 +0200)
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-mips/translate.c

index d43d72deea1f3a942debdcc0b2a8c1242129784b..8531d6cc12361f6152d2c76118d7c185db91d179 100644 (file)
@@ -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: