summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/arch/arm/isa/formats/mem.isa4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/arch/arm/isa/formats/mem.isa b/src/arch/arm/isa/formats/mem.isa
index aa8bbf55e..59a6f126a 100644
--- a/src/arch/arm/isa/formats/mem.isa
+++ b/src/arch/arm/isa/formats/mem.isa
@@ -122,8 +122,10 @@ def format AddrMode3() {{
case 0x2:
if (op1 & 0x1) {
%(ldrsb)s
- } else {
+ } else if ((RT %% 2) == 0) {
%(ldrd)s
+ } else {
+ return new Unknown(machInst);
}
case 0x3:
if (op1 & 0x1) {