aboutsummaryrefslogtreecommitdiff
path: root/target-mips/translate.c
diff options
context:
space:
mode:
authorHeiher <wangr@lemote.com>2016-10-13 15:09:39 +0800
committerYongbok Kim <yongbok.kim@imgtec.com>2016-12-02 16:11:09 +0000
commitbb7cab5f3466540f5603b209c0df2e27a02fbb95 (patch)
tree57eeaa166ada019fcf515707826909a76902aa70 /target-mips/translate.c
parent9099a36b4bb81f84004b77f08e58ac2c67eed0e7 (diff)
downloadqemu-arm-bb7cab5f3466540f5603b209c0df2e27a02fbb95.tar.gz
target-mips: Fix Loongson multimedia 'or' instruction.
Signed-off-by: Heiher <wangr@lemote.com> Signed-off-by: Fuxin Zhang <zhangfx@lemote.com> Reviewed-by: Yongbok Kim <yongbok.kim@imgtec.com> Signed-off-by: Yongbok Kim <yongbok.kim@imgtec.com>
Diffstat (limited to 'target-mips/translate.c')
-rw-r--r--target-mips/translate.c2
1 files changed, 1 insertions, 1 deletions
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);