[Avida-cvs] [avida-svn] r629 - in development: Avida.xcodeproj source/cpu
brysonda@myxo.css.msu.edu
brysonda at myxo.css.msu.edu
Wed Apr 26 12:14:41 PDT 2006
Author: brysonda
Date: 2006-04-26 15:14:41 -0400 (Wed, 26 Apr 2006)
New Revision: 629
Modified:
development/Avida.xcodeproj/project.pbxproj
development/source/cpu/cHardware4Stack.cc
development/source/cpu/cHardwareSMT.cc
Log:
Add NULL instructions to SMT and 4Stack in order to support task maps.
Modified: development/Avida.xcodeproj/project.pbxproj
===================================================================
Modified: development/source/cpu/cHardware4Stack.cc
===================================================================
--- development/source/cpu/cHardware4Stack.cc 2006-04-23 18:30:06 UTC (rev 628)
+++ development/source/cpu/cHardware4Stack.cc 2006-04-26 19:14:41 UTC (rev 629)
@@ -196,7 +196,9 @@
//36
cInstEntry4Stack("IO", &cHardware4Stack::Inst_IO),
//37
- cInstEntry4Stack("Inject", &cHardware4Stack::Inst_Inject)
+ cInstEntry4Stack("Inject", &cHardware4Stack::Inst_Inject),
+
+ cInstEntry4Stack("NULL", &cHardware4Stack::Inst_Nop) // Last Instruction Always NULL
};
const int n_size = sizeof(s_n_array)/sizeof(cNOPEntry4Stack);
Modified: development/source/cpu/cHardwareSMT.cc
===================================================================
--- development/source/cpu/cHardwareSMT.cc 2006-04-23 18:30:06 UTC (rev 628)
+++ development/source/cpu/cHardwareSMT.cc 2006-04-26 19:14:41 UTC (rev 629)
@@ -95,7 +95,9 @@
cInstEntry("Net-Receive", &cHardwareSMT::Inst_NetReceive), // 41
cInstEntry("Net-Last", &cHardwareSMT::Inst_NetLast), // 42
cInstEntry("Rotate-Left", &cHardwareSMT::Inst_RotateLeft), // 43
- cInstEntry("Rotate-Right", &cHardwareSMT::Inst_RotateRight) // 44
+ cInstEntry("Rotate-Right", &cHardwareSMT::Inst_RotateRight), // 44
+
+ cInstEntry("NULL", &cHardwareSMT::Inst_Nop) // Last Instruction Always NULL
};
const int n_size = sizeof(s_n_array)/sizeof(cNOPEntry);
More information about the Avida-cvs
mailing list