1 #ifndef __STORE_SET_HH__
2 #define __STORE_SET_HH__
6 #include "arch/alpha/isa_traits.hh"
7 #include "cpu/inst_seq.hh"
12 typedef unsigned SSID;
15 StoreSet(int SSIT_size, int LFST_size);
17 void violation(Addr store_PC, Addr load_PC);
19 void insertLoad(Addr load_PC, InstSeqNum load_seq_num);
21 void insertStore(Addr store_PC, InstSeqNum store_seq_num);
23 InstSeqNum checkInst(Addr PC);
25 void issued(Addr issued_PC, InstSeqNum issued_seq_num, bool is_store);
27 void squash(InstSeqNum squashed_num);
32 inline int calcIndex(Addr PC)
33 { return (PC >> offset_bits) & index_mask; }
35 inline SSID calcSSID(Addr PC)
36 { return ((PC ^ (PC >> 10)) % LFST_size); }
40 std::vector<bool> validSSIT;
44 std::vector<bool> validLFST;
54 // HACK: Hardcoded for now.
58 #endif // __STORE_SET_HH__