summaryrefslogtreecommitdiff
path: root/src/arch/arm/types.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/arm/types.hh')
-rw-r--r--src/arch/arm/types.hh7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/arch/arm/types.hh b/src/arch/arm/types.hh
index 494e49f1f..e6865e280 100644
--- a/src/arch/arm/types.hh
+++ b/src/arch/arm/types.hh
@@ -350,10 +350,9 @@ namespace ArmISA
if (thumbEE) {
if (bits(newPC, 0)) {
newPC = newPC & ~mask(1);
- } else {
- panic("Bad thumbEE interworking branch address %#x.\n",
- newPC);
- }
+ } // else we have a bad interworking address; do not call
+ // panic() since the instruction could be executed
+ // speculatively
} else {
if (bits(newPC, 0)) {
nextThumb(true);