From 12a8570cbedbaae3cb8061f1ca0c4779342c5fac Mon Sep 17 00:00:00 2001 From: Heiher Date: Thu, 1 Mar 2018 09:03:09 -0500 Subject: [PATCH] target-mips: Fix Loongson multimedia 'or' instruction. Backports commit bb7cab5f3466540f5603b209c0df2e27a02fbb95 from qemu --- qemu/target-mips/translate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qemu/target-mips/translate.c b/qemu/target-mips/translate.c index 1cf89cec..6a370620 100644 --- a/qemu/target-mips/translate.c +++ b/qemu/target-mips/translate.c @@ -4002,7 +4002,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(tcg_ctx, t0, t1, t0);