From bb7cab5f3466540f5603b209c0df2e27a02fbb95 Mon Sep 17 00:00:00 2001 From: Heiher Date: Thu, 13 Oct 2016 15:09:39 +0800 Subject: target-mips: Fix Loongson multimedia 'or' instruction. Signed-off-by: Heiher Signed-off-by: Fuxin Zhang Reviewed-by: Yongbok Kim Signed-off-by: Yongbok Kim --- target-mips/translate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target-mips/translate.c') diff --git a/target-mips/translate.c b/target-mips/translate.c index 5ad97c7a4e..e26f74274b 100644 --- a/target-mips/translate.c +++ b/target-mips/translate.c @@ -3945,7 +3945,7 @@ static void gen_loongson_multimedia(DisasContext *ctx, int rd, int rs, int rt) LMI_DIRECT(XOR_CP2, xor, xor); LMI_DIRECT(NOR_CP2, nor, nor); LMI_DIRECT(AND_CP2, and, and); - LMI_DIRECT(OR, or, or); + LMI_DIRECT(OR_CP2, or, or); case OPC_PANDN: tcg_gen_andc_i64(t0, t1, t0); -- cgit v1.2.3