O3: When a prefetch causes a fault, don't record it in the inst
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/cpu/o3/iew_impl.hh

index 03f73c798fe7fb860e727650017bb92b84b1ebb4..dff287ff51ad06ee8edc046aa3ad80e3c416354d 100644 (file)
@@ -1253,7 +1253,7 @@ DefaultIEW<Impl>::executeInsts()
                 }
 
                 if (inst->isDataPrefetch() || inst->isInstPrefetch()) {
-                    fault = NoFault;
+                    inst->fault = NoFault;
                 }
             } else if (inst->isStore()) {
                 fault = ldstQueue.executeStore(inst);