[Avida-SVN] r2647 - branches/collect/source/cpu
blwalker at myxo.css.msu.edu
blwalker at myxo.css.msu.edu
Sun Jun 15 16:58:31 PDT 2008
Author: blwalker
Date: 2008-06-15 19:58:31 -0400 (Sun, 15 Jun 2008)
New Revision: 2647
Modified:
branches/collect/source/cpu/cHardwareCPU.cc
Log:
Flagging the "collect" instruction for speculative stall, as it potentially modifies global resources.
Modified: branches/collect/source/cpu/cHardwareCPU.cc
===================================================================
--- branches/collect/source/cpu/cHardwareCPU.cc 2008-06-15 23:54:42 UTC (rev 2646)
+++ branches/collect/source/cpu/cHardwareCPU.cc 2008-06-15 23:58:31 UTC (rev 2647)
@@ -210,7 +210,7 @@
tInstLibEntry<tMethod>("sense-unit", &cHardwareCPU::Inst_SenseUnit, nInstFlag::STALL), // and want to keep stats, also add
tInstLibEntry<tMethod>("sense-m100", &cHardwareCPU::Inst_SenseMult100, nInstFlag::STALL), // the names to cStats::cStats() @JEB
tInstLibEntry<tMethod>("if-resources", &cHardwareCPU::Inst_IfResources, nInstFlag::STALL),
- tInstLibEntry<tMethod>("collect", &cHardwareCPU::Inst_Collect),
+ tInstLibEntry<tMethod>("collect", &cHardwareCPU::Inst_Collect, nInstFlag::STALL),
// Data collection
tInstLibEntry<tMethod>("collect-cell-data", &cHardwareCPU::Inst_CollectCellData, nInstFlag::STALL),
More information about the Avida-cvs
mailing list