allow unaligned lmw/stmw

This commit is contained in:
kanjitalk755 2023-07-09 13:43:50 +09:00
parent 51fc1905c4
commit 6f94fdd7b0

View File

@ -587,7 +587,7 @@ void powerpc_cpu::execute_loadstore_multiple(uint32 opcode)
const uint32 a = RA::get(this, opcode);
const uint32 d = DP::get(this, opcode);
uint32 ea = a + d;
/*
// FIXME: generate exception if ea is not word-aligned
if ((ea & 3) != 0) {
#ifdef SHEEPSHAVER
@ -598,7 +598,7 @@ void powerpc_cpu::execute_loadstore_multiple(uint32 opcode)
abort();
#endif
}
*/
int r = LD ? rD_field::extract(opcode) : rS_field::extract(opcode);
while (r <= 31) {
if (LD)