[a64] Fix 32-bit store

You wouldn't believe how much time this bug costed me
This commit is contained in:
Wunkolo 2024-05-08 11:08:21 -07:00
parent 2d093ae4ba
commit fd32c0e959
1 changed files with 2 additions and 2 deletions

View File

@ -717,9 +717,9 @@ struct STORE_OFFSET_I32
} else {
if (i.src3.is_constant) {
e.MOV(W0, i.src3.constant());
e.STRH(W0, addr_reg);
e.STR(W0, addr_reg);
} else {
e.STRH(i.src3, addr_reg);
e.STR(i.src3, addr_reg);
}
}
}