target-mips: Fix Loongson multimedia 'or' instruction.

Backports commit bb7cab5f3466540f5603b209c0df2e27a02fbb95 from qemu
This commit is contained in:
Heiher 2018-03-01 09:03:09 -05:00 committed by Lioncash
parent ba39cb4fcb
commit 12a8570cbe
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -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);