[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:
phorcys 2025-04-14 19:32:14 +08:00 committed by GitHub
parent f559bc48a4
commit cf32412f98
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);
}