From ac1c9d3aad4a9411eef4e01ce8f58140ca858496 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 19 Dec 2000 00:58:04 +0000 Subject: [PATCH] Fix test for StoreDouble Instruction. --- sim/arm/ChangeLog | 5 +++++ sim/arm/armemu.c | 24 ++++++++++++------------ 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/sim/arm/ChangeLog b/sim/arm/ChangeLog index 31c583d54fc..9180bd5672c 100644 --- a/sim/arm/ChangeLog +++ b/sim/arm/ChangeLog @@ -1,3 +1,8 @@ +2000-12-18 Nick Clifton + + * armemu.c (ARMul_Emulate26): Fix test for StoreDouble + instruction. + 2000-12-10 Nick Clifton * armos.c (ARMul_OSHandleSWI): Add 0x91 as an FPE SWI. diff --git a/sim/arm/armemu.c b/sim/arm/armemu.c index 6486f0b7ea0..47dc1b8b024 100644 --- a/sim/arm/armemu.c +++ b/sim/arm/armemu.c @@ -617,7 +617,7 @@ ARMul_Emulate26 (register ARMul_State * state) Handle_Load_Double (state, instr); break; } - if (BITS (4, 7) == 0xE) + if (BITS (4, 7) == 0xF) { Handle_Store_Double (state, instr); break; @@ -785,7 +785,7 @@ ARMul_Emulate26 (register ARMul_State * state) Handle_Load_Double (state, instr); break; } - if (BITS (4, 7) == 0xE) + if (BITS (4, 7) == 0xF) { Handle_Store_Double (state, instr); break; @@ -873,7 +873,7 @@ ARMul_Emulate26 (register ARMul_State * state) Handle_Load_Double (state, instr); break; } - if (BITS (4, 7) == 0xE) + if (BITS (4, 7) == 0xF) { Handle_Store_Double (state, instr); break; @@ -1007,7 +1007,7 @@ ARMul_Emulate26 (register ARMul_State * state) Handle_Load_Double (state, instr); break; } - if (BITS (4, 7) == 0xE) + if (BITS (4, 7) == 0xF) { Handle_Store_Double (state, instr); break; @@ -1176,7 +1176,7 @@ ARMul_Emulate26 (register ARMul_State * state) Handle_Load_Double (state, instr); break; } - if (BITS (4, 7) == 0xE) + if (BITS (4, 7) == 0xF) { Handle_Store_Double (state, instr); break; @@ -1330,7 +1330,7 @@ ARMul_Emulate26 (register ARMul_State * state) Handle_Load_Double (state, instr); break; } - if (BITS (4, 7) == 0xE) + if (BITS (4, 7) == 0xF) { Handle_Store_Double (state, instr); break; @@ -1494,7 +1494,7 @@ ARMul_Emulate26 (register ARMul_State * state) Handle_Load_Double (state, instr); break; } - if (BITS (4, 7) == 0xE) + if (BITS (4, 7) == 0xF) { Handle_Store_Double (state, instr); break; @@ -1649,7 +1649,7 @@ ARMul_Emulate26 (register ARMul_State * state) Handle_Load_Double (state, instr); break; } - if (BITS (4, 7) == 0xE) + if (BITS (4, 7) == 0xF) { Handle_Store_Double (state, instr); break; @@ -1721,7 +1721,7 @@ ARMul_Emulate26 (register ARMul_State * state) Handle_Load_Double (state, instr); break; } - if (BITS (4, 7) == 0xE) + if (BITS (4, 7) == 0xF) { Handle_Store_Double (state, instr); break; @@ -1759,7 +1759,7 @@ ARMul_Emulate26 (register ARMul_State * state) Handle_Load_Double (state, instr); break; } - if (BITS (4, 7) == 0xE) + if (BITS (4, 7) == 0xF) { Handle_Store_Double (state, instr); break; @@ -1795,7 +1795,7 @@ ARMul_Emulate26 (register ARMul_State * state) Handle_Load_Double (state, instr); break; } - else if (BITS (4, 7) == 0xE) + else if (BITS (4, 7) == 0xF) { Handle_Store_Double (state, instr); break; @@ -1833,7 +1833,7 @@ ARMul_Emulate26 (register ARMul_State * state) Handle_Load_Double (state, instr); break; } - if (BITS (4, 7) == 0xE) + if (BITS (4, 7) == 0xF) { Handle_Store_Double (state, instr); break; -- 2.30.2