ARM: This panic can be hit during misspeculation so it can't exist.
authorAli Saidi <Ali.Saidi@ARM.com>
Wed, 23 Feb 2011 21:10:50 +0000 (15:10 -0600)
committerAli Saidi <Ali.Saidi@ARM.com>
Wed, 23 Feb 2011 21:10:50 +0000 (15:10 -0600)
src/arch/arm/types.hh

index 494e49f1f25f4fb6bf6849170d5baf911c64b184..e6865e280062ecf8c454df4427ca31acc3956a2c 100644 (file)
@@ -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);