mirror of
https://github.com/ptitSeb/box64.git
synced 2025-05-09 00:21:32 +08:00
[RV64_DYNAREC] fix MASKMOVQ. (#2531)
maskmovq write when sign bit == 1. if mask byte = 0x00, should skip. replace BLT with BLE.
This commit is contained in:
parent
f559bc48a4
commit
cf32412f98
@ -3071,7 +3071,7 @@ uintptr_t dynarec64_0F(dynarec_rv64_t* dyn, uintptr_t addr, uintptr_t ip, int ni
|
||||
GETEM(x5, 0, 7);
|
||||
for (int i = 0; i < 8; i++) {
|
||||
LB(x1, wback, fixedaddress + i);
|
||||
BLT(xZR, x1, 4 * 3);
|
||||
BLE(xZR, x1, 4 * 3);
|
||||
LB(x2, gback, gdoffset + i);
|
||||
SB(x2, xRDI, i);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user