diff options
author | Korey Sewell <ksewell@umich.edu> | 2011-06-19 21:43:33 -0400 |
---|---|---|
committer | Korey Sewell <ksewell@umich.edu> | 2011-06-19 21:43:33 -0400 |
commit | 6df63650956387d88f24122c783438553412768f (patch) | |
tree | 4aa1a3de620075e5a9994b6d1ae09da08d554ebc /src/cpu/inorder/resources/use_def.hh | |
parent | 19e3eb29154ad17664bfe239423f6ba64c77cf05 (diff) | |
download | gem5-6df63650956387d88f24122c783438553412768f.tar.xz |
inorder: add types for dependency checks
Diffstat (limited to 'src/cpu/inorder/resources/use_def.hh')
-rw-r--r-- | src/cpu/inorder/resources/use_def.hh | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/src/cpu/inorder/resources/use_def.hh b/src/cpu/inorder/resources/use_def.hh index 9bb0c3333..ef33395a0 100644 --- a/src/cpu/inorder/resources/use_def.hh +++ b/src/cpu/inorder/resources/use_def.hh @@ -67,31 +67,21 @@ class UseDefUnit : public Resource { void execute(int slot_num); - void squash(DynInstPtr inst, int stage_num, - InstSeqNum squash_seq_num, ThreadID tid); - void updateAfterContextSwitch(DynInstPtr inst, ThreadID tid); - const InstSeqNum maxSeqNum; - void regStats(); protected: RegDepMap *regDepMap[ThePipeline::MaxThreads]; - /** Outstanding Seq. Num. Trying to Read from Register File */ - InstSeqNum outReadSeqNum[ThePipeline::MaxThreads]; - - InstSeqNum outWriteSeqNum[ThePipeline::MaxThreads]; - bool *nonSpecInstActive[ThePipeline::MaxThreads]; InstSeqNum *nonSpecSeqNum[ThePipeline::MaxThreads]; - InstSeqNum floatRegSize[ThePipeline::MaxThreads]; - Stats::Average uniqueRegsPerSwitch; - std::map<unsigned, bool> uniqueRegMap; + std::map<RegIndex, bool> uniqueIntRegMap; + std::map<RegIndex, bool> uniqueFloatRegMap; + std::map<RegIndex, bool> uniqueMiscRegMap; public: class UseDefRequest : public ResourceRequest { |