[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [qemu-xen master] target-mips: Fix Loongson multimedia instructions.



commit b5a587b613f6151c2ce164552579ae64f2ddfd1c
Author:     Heiher <wangr@xxxxxxxxxx>
AuthorDate: Thu Oct 13 15:10:32 2016 +0800
Commit:     Yongbok Kim <yongbok.kim@xxxxxxxxxx>
CommitDate: Sun Dec 4 00:56:29 2016 +0000

    target-mips: Fix Loongson multimedia instructions.
    
    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@xxxxxxxxxx>
    Signed-off-by: Fuxin Zhang <zhangfx@xxxxxxxxxx>
    Reviewed-by: Yongbok Kim <yongbok.kim@xxxxxxxxxx>
    Signed-off-by: Yongbok Kim <yongbok.kim@xxxxxxxxxx>
---
 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);
 
--
generated by git-patchbot for /home/xen/git/qemu-xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.