26a27,28
> *
> * Authors: Kevin Lim
29,30c31,32
< #ifndef __CPU_O3_STORE_SET_HH__
< #define __CPU_O3_STORE_SET_HH__
---
> #ifndef __CPU_O3_CPU_STORE_SET_HH__
> #define __CPU_O3_CPU_STORE_SET_HH__
32,34d33
< #include <list>
< #include <map>
< #include <utility>
40,46d38
< struct ltseqnum {
< bool operator()(const InstSeqNum &lhs, const InstSeqNum &rhs) const
< {
< return lhs > rhs;
< }
< };
<
53,54d44
< StoreSet() { };
<
57,60d46
< ~StoreSet();
<
< void init(int SSIT_size, int LFST_size);
<
65,66c51
< void insertStore(Addr store_PC, InstSeqNum store_seq_num,
< unsigned tid);
---
> void insertStore(Addr store_PC, InstSeqNum store_seq_num);
72c57
< void squash(InstSeqNum squashed_num, unsigned tid);
---
> void squash(InstSeqNum squashed_num);
78c63
< { return (PC >> offsetBits) & indexMask; }
---
> { return (PC >> offset_bits) & index_mask; }
81c66
< { return ((PC ^ (PC >> 10)) % LFSTSize); }
---
> { return ((PC ^ (PC >> 10)) % LFST_size); }
83c68
< std::vector<SSID> SSIT;
---
> SSID *SSIT;
87c72
< std::vector<InstSeqNum> LFST;
---
> InstSeqNum *LFST;
91c76
< std::map<InstSeqNum, int, ltseqnum> storeList;
---
> int *SSCounters;
93c78
< typedef std::map<InstSeqNum, int, ltseqnum>::iterator SeqNumMapIt;
---
> int SSIT_size;
95c80
< int SSITSize;
---
> int LFST_size;
97c82
< int LFSTSize;
---
> int index_mask;
99,100d83
< int indexMask;
<
102c85
< int offsetBits;
---
> int offset_bits;
105c88
< #endif // __CPU_O3_STORE_SET_HH__
---
> #endif // __CPU_O3_CPU_STORE_SET_HH__