mirror of
https://github.com/ptitSeb/box64.git
synced 2025-05-08 07:59:18 +08:00
[INTERP] Improved NAN handling on VSUBPD opcode
This commit is contained in:
parent
c835227b8b
commit
89dbd81f27
@ -445,14 +445,18 @@ uintptr_t RunAVX_660F(x64emu_t *emu, vex_t vex, uintptr_t addr, int *step)
|
||||
GETEX(0);
|
||||
GETGX;
|
||||
GETVX;
|
||||
MARK_NAN_VD_2(VX, EX);
|
||||
GX->d[0] = VX->d[0] - EX->d[0];
|
||||
GX->d[1] = VX->d[1] - EX->d[1];
|
||||
CHECK_NAN_VD(GX);
|
||||
GETGY;
|
||||
if(vex.l) {
|
||||
GETEY;
|
||||
GETVY;
|
||||
MARK_NAN_VD_2(VY, EY);
|
||||
GY->d[0] = VY->d[0] - EY->d[0];
|
||||
GY->d[1] = VY->d[1] - EY->d[1];
|
||||
CHECK_NAN_VD(GY);
|
||||
} else {
|
||||
GY->u128 = 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user