diff options
Diffstat (limited to 'sim/arm/armemu.c')
-rw-r--r-- | sim/arm/armemu.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sim/arm/armemu.c b/sim/arm/armemu.c index 922c2e4..f93ad0c 100644 --- a/sim/arm/armemu.c +++ b/sim/arm/armemu.c @@ -5457,7 +5457,10 @@ Handle_Store_Double (ARMul_State * state, ARMword instr) addr = base; /* The address must be aligned on a 8 byte boundary. */ - if (addr & 0x7) + if (state->is_v6 && (addr & 0x3) == 0) + /* Word alignment is enough for v6. */ + ; + else if (addr & 0x7) { #ifdef ABORTS ARMul_DATAABORT (addr); |