From: Yongbok Kim <yongbok.kim@imgtec.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PULL 3/4] target-mips: Fix Loongson multimedia instructions.
Date: Sun, 4 Dec 2016 02:00:16 +0000 [thread overview]
Message-ID: <1480816817-53245-4-git-send-email-yongbok.kim@imgtec.com> (raw)
In-Reply-To: <1480816817-53245-1-git-send-email-yongbok.kim@imgtec.com>
From: Heiher <wangr@lemote.com>
Needed to emit FPU exception on Loongson multimedia instructions
executing if Status:CU1 is clear. or FPR changes may be missed
on Linux.
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>
---
target-mips/translate.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/target-mips/translate.c b/target-mips/translate.c
index e26f742..57b824f 100644
--- a/target-mips/translate.c
+++ b/target-mips/translate.c
@@ -3871,6 +3871,7 @@ static void gen_loongson_multimedia(DisasContext *ctx, int rd, int rs, int rt)
break;
}
+ check_cp1_enabled(ctx);
gen_load_fpr64(ctx, t0, rs);
gen_load_fpr64(ctx, t1, rt);
--
2.7.4
next prev parent reply other threads:[~2016-12-04 2:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-04 2:00 [Qemu-devel] [PULL 0/4] target-mips queue Yongbok Kim
2016-12-04 2:00 ` [Qemu-devel] [PULL 1/4] target-mips: Fix Loongson pandn instruction Yongbok Kim
2016-12-04 2:00 ` [Qemu-devel] [PULL 2/4] target-mips: Fix Loongson multimedia 'or' instruction Yongbok Kim
2016-12-04 2:00 ` Yongbok Kim [this message]
2016-12-04 2:00 ` [Qemu-devel] [PULL 4/4] target-mips: fix bad shifts in {dextp|dextpdp} Yongbok Kim
2016-12-05 10:56 ` [Qemu-devel] [PULL 0/4] target-mips queue Stefan Hajnoczi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1480816817-53245-4-git-send-email-yongbok.kim@imgtec.com \
--to=yongbok.kim@imgtec.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).