changeset a9476951e3a2 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=a9476951e3a2
description:
        DPRINTF: Improve some dprintf messages.

diffstat:

 src/cpu/o3/iew_impl.hh |  6 +++---
 src/dev/io_device.cc   |  2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 9297bba002c0 -r a9476951e3a2 src/cpu/o3/iew_impl.hh
--- a/src/cpu/o3/iew_impl.hh    Tue Jan 10 09:59:01 2012 -0600
+++ b/src/cpu/o3/iew_impl.hh    Tue Jan 10 10:15:02 2012 -0600
@@ -1340,10 +1340,10 @@
                 fetchRedirect[tid] = true;
 
                 DPRINTF(IEW, "Execute: Branch mispredict detected.\n");
-                DPRINTF(IEW, "Predicted target was PC:%#x, NPC:%#x.\n",
-                        inst->predInstAddr(), inst->predNextInstAddr());
+                DPRINTF(IEW, "Predicted target was PC: %s.\n",
+                        inst->readPredTarg());
                 DPRINTF(IEW, "Execute: Redirecting fetch to PC: %s.\n",
-                        inst->pcState(), inst->nextInstAddr());
+                        inst->pcState());
                 // If incorrect, then signal the ROB that it must be squashed.
                 squashDueToBranch(inst, tid);
 
diff -r 9297bba002c0 -r a9476951e3a2 src/dev/io_device.cc
--- a/src/dev/io_device.cc      Tue Jan 10 09:59:01 2012 -0600
+++ b/src/dev/io_device.cc      Tue Jan 10 10:15:02 2012 -0600
@@ -71,7 +71,7 @@
 PioDevice::init()
 {
     if (!pioPort)
-        panic("Pio port not connected to anything!");
+        panic("Pio port of %s not connected to anything!", name());
     pioPort->sendStatusChange(Port::RangeChange);
 }
 
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to