mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-22 22:01:06 +00:00
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. Backports commit b5a587b613f6151c2ce164552579ae64f2ddfd1c from qemu
This commit is contained in:
parent
12a8570cbe
commit
b5468b4b22
|
@ -3928,6 +3928,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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue