e2k: check APB addr alignment only for v4
This commit is contained in:
parent
0df54fb097
commit
c0b7af3c3f
@ -60,7 +60,7 @@ target_ulong HELPER(mova_ptr)(CPUE2KState *env, int chan, int area, int ind,
|
||||
helper_raise_exception(env, E2K_EXCP_ILLEGAL_OPCODE);
|
||||
}
|
||||
|
||||
if (addr & (size - 1)) {
|
||||
if ((env->version <= 4 || (env->version == 5 && size == 16)) && addr & (size - 1)) {
|
||||
return 0;
|
||||
} else if (page != as->last_page) {
|
||||
void *ignore;
|
||||
|
Loading…
Reference in New Issue
Block a user