From 916c7f162da6fe638cd6a78d40ac64a83cf54e5f Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Wed, 23 Feb 2011 15:10:50 -0600 Subject: [PATCH] ARM: This panic can be hit during misspeculation so it can't exist. --- src/arch/arm/types.hh | 7 +++---- 1 file 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); -- 2.30.2