diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2010-06-02 12:58:11 -0500 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2010-06-02 12:58:11 -0500 |
commit | 6fa713a66c380f38297e2306ec3d67e5fbb6f6c2 (patch) | |
tree | 5ac07cc9154dafe155b2ee967338d2cc05ba21b1 /src/arch | |
parent | 4683cd165575d6e1c5a309f10a96f4d592d7a386 (diff) | |
download | gem5-6fa713a66c380f38297e2306ec3d67e5fbb6f6c2.tar.xz |
ARM: Decode the setend instruction.
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/arm/isa/formats/data.isa | 2 | ||||
-rw-r--r-- | src/arch/arm/isa/formats/uncond.isa | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/arm/isa/formats/data.isa b/src/arch/arm/isa/formats/data.isa index 6fb698e75..19a9ee9fe 100644 --- a/src/arch/arm/isa/formats/data.isa +++ b/src/arch/arm/isa/formats/data.isa @@ -1024,7 +1024,7 @@ def format Thumb16Misc() {{ { const uint32_t opBits = bits(machInst, 7, 5); if (opBits == 2) { - return new WarnUnimplemented("setend", machInst); + return new Setend(machInst, bits(machInst, 3)); } else if (opBits == 3) { return new WarnUnimplemented("cps", machInst); } diff --git a/src/arch/arm/isa/formats/uncond.isa b/src/arch/arm/isa/formats/uncond.isa index d305ee996..fd2f66e75 100644 --- a/src/arch/arm/isa/formats/uncond.isa +++ b/src/arch/arm/isa/formats/uncond.isa @@ -44,7 +44,7 @@ def format ArmUnconditional() {{ const uint32_t op2 = bits(machInst, 7, 4); if (op1 == 0x10) { if (bits((uint32_t)rn, 0) == 1 && op2 == 0) { - return new WarnUnimplemented("setend", machInst); + return new Setend(machInst, bits(machInst, 9)); } else if (bits((uint32_t)rn, 0) == 0 && bits(op2, 1) == 0) { return new WarnUnimplemented("cps", machInst); } |