changeset dc266f3bcae4 in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=dc266f3bcae4
description:
        ARM: This panic can be hit during misspeculation so it can't exist.

diffstat:

 src/arch/arm/types.hh |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (17 lines):

diff -r 18b2129b852d -r dc266f3bcae4 src/arch/arm/types.hh
--- a/src/arch/arm/types.hh     Wed Feb 23 15:10:50 2011 -0600
+++ b/src/arch/arm/types.hh     Wed Feb 23 15:10:50 2011 -0600
@@ -350,10 +350,9 @@
             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);
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to