allow unaligned lmw/stmw
This commit is contained in:
parent
51fc1905c4
commit
6f94fdd7b0
|
@ -587,7 +587,7 @@ void powerpc_cpu::execute_loadstore_multiple(uint32 opcode)
|
||||||
const uint32 a = RA::get(this, opcode);
|
const uint32 a = RA::get(this, opcode);
|
||||||
const uint32 d = DP::get(this, opcode);
|
const uint32 d = DP::get(this, opcode);
|
||||||
uint32 ea = a + d;
|
uint32 ea = a + d;
|
||||||
|
/*
|
||||||
// FIXME: generate exception if ea is not word-aligned
|
// FIXME: generate exception if ea is not word-aligned
|
||||||
if ((ea & 3) != 0) {
|
if ((ea & 3) != 0) {
|
||||||
#ifdef SHEEPSHAVER
|
#ifdef SHEEPSHAVER
|
||||||
|
@ -598,7 +598,7 @@ void powerpc_cpu::execute_loadstore_multiple(uint32 opcode)
|
||||||
abort();
|
abort();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
int r = LD ? rD_field::extract(opcode) : rS_field::extract(opcode);
|
int r = LD ? rD_field::extract(opcode) : rS_field::extract(opcode);
|
||||||
while (r <= 31) {
|
while (r <= 31) {
|
||||||
if (LD)
|
if (LD)
|
||||||
|
|
Loading…
Reference in New Issue