/gem5/src/cpu/o3/ |
H A D | iew.hh | 151 void clearStates(ThreadID tid); 163 void setActiveThreads(std::list<ThreadID> *at_ptr); 178 void squash(ThreadID tid); 201 void skidInsert(ThreadID tid); 233 bool hasStoresToWB(ThreadID tid) { return ldstQueue.hasStoresToWB(tid); } 242 void squashDueToBranch(const DynInstPtr &inst, ThreadID tid); 247 void squashDueToMemOrder(const DynInstPtr &inst, ThreadID tid); 250 void block(ThreadID tid); 255 void unblock(ThreadID tid); 258 void dispatch(ThreadID ti [all...] |
H A D | deriv.cc | 40 ThreadID actual_num_threads;
|
H A D | cpu.cc | 198 ThreadID active_threads; 222 for (ThreadID tid = 0; tid < numThreads; tid++) { 243 for (ThreadID tid = 0; tid < active_threads; tid++) { 311 for (ThreadID tid = 0; tid < this->numThreads; ++tid) { 372 for (ThreadID tid = 0; tid < this->numThreads; tid++) 594 for (ThreadID tid = 0; tid < numThreads; ++tid) { 603 for (ThreadID tid = 0; tid < numThreads; tid++) { 633 FullO3CPU<Impl>::activateThread(ThreadID tid) 635 list<ThreadID>::iterator isActive = 651 FullO3CPU<Impl>::deactivateThread(ThreadID ti [all...] |
H A D | lsq.hh | 829 void setActiveThreads(std::list<ThreadID> *at_ptr); 839 int entryAmount(ThreadID num_threads); 858 void commitLoads(InstSeqNum &youngest_inst, ThreadID tid) 864 void commitStores(InstSeqNum &youngest_inst, ThreadID tid) 873 void writebackStores(ThreadID tid); 879 squash(const InstSeqNum &squashed_num, ThreadID tid) 890 bool violation(ThreadID tid) { return thread.at(tid).violation(); } 894 getMemDepViolator(ThreadID tid) 900 int getLoadHead(ThreadID tid) { return thread.at(tid).getLoadHead(); } 904 getLoadHeadSeqNum(ThreadID ti [all...] |
H A D | inst_queue.hh | 141 void setActiveThreads(std::list<ThreadID> *at_ptr); 159 int entryAmount(ThreadID num_threads); 168 unsigned numFreeEntries(ThreadID tid); 174 bool isFull(ThreadID tid); 228 void commit(const InstSeqNum &inst, ThreadID tid = 0); 267 void squash(ThreadID tid); 270 unsigned getCount(ThreadID tid) { return count[tid]; }; 277 void doSquash(ThreadID tid); 411 ThreadID numThreads; 414 std::list<ThreadID> *activeThread [all...] |
H A D | fetch_impl.hh | 144 for (ThreadID tid = 0; tid < numThreads; tid++) { 307 DefaultFetch<Impl>::setActiveThreads(std::list<ThreadID> *at_ptr) 334 DefaultFetch<Impl>::clearStates(ThreadID tid) 363 for (ThreadID tid = 0; tid < numThreads; ++tid) { 391 ThreadID tid = cpu->contextToThread(pkt->req->contextId()); 435 for (ThreadID i = 0; i < numThreads; ++i) { 451 for (ThreadID i = 0; i < numThreads; ++i) { 469 for (ThreadID i = 0; i < numThreads; ++i) { 501 DefaultFetch<Impl>::drainStall(ThreadID tid) 547 DefaultFetch<Impl>::deactivateThread(ThreadID ti [all...] |
H A D | decode_impl.hh | 96 DefaultDecode<Impl>::clearStates(ThreadID tid) 109 for (ThreadID tid = 0; tid < numThreads; ++tid) { 207 DefaultDecode<Impl>::setActiveThreads(std::list<ThreadID> *at_ptr) 216 for (ThreadID tid = 0; tid < numThreads; ++tid) { 226 for (ThreadID tid = 0; tid < numThreads; ++tid) { 236 DefaultDecode<Impl>::checkStall(ThreadID tid) const 257 DefaultDecode<Impl>::block(ThreadID tid) 287 DefaultDecode<Impl>::unblock(ThreadID tid) 306 DefaultDecode<Impl>::squash(const DynInstPtr &inst, ThreadID tid) 358 DefaultDecode<Impl>::squash(ThreadID ti [all...] |
H A D | rename_impl.hh | 259 DefaultRename<Impl>::clearStates(ThreadID tid) 289 for (ThreadID tid = 0; tid < numThreads; tid++) { 311 DefaultRename<Impl>::setActiveThreads(list<ThreadID> *at_ptr) 321 for (ThreadID tid = 0; tid < numThreads; tid++) 343 for (ThreadID tid = 0; tid < numThreads; tid++) { 365 for (ThreadID tid = 0; tid < numThreads; tid++) { 375 DefaultRename<Impl>::squash(const InstSeqNum &squash_seq_num, ThreadID tid) 441 list<ThreadID>::iterator threads = activeThreads->begin(); 442 list<ThreadID>::iterator end = activeThreads->end(); 446 ThreadID ti [all...] |
H A D | commit_impl.hh | 76 DefaultCommit<Impl>::processTrapEvent(ThreadID tid) 110 for (ThreadID tid = 0; tid < numThreads; tid++) { 115 for (ThreadID tid = 0; tid < Impl::MaxThreads; tid++) { 333 DefaultCommit<Impl>::setActiveThreads(list<ThreadID> *at_ptr) 342 for (ThreadID tid = 0; tid < numThreads; tid++) 361 for (ThreadID tid = 0; tid < numThreads; tid++) { 376 DefaultCommit<Impl>::clearStates(ThreadID tid) 426 for (ThreadID tid = 0; tid < numThreads; tid++) { 447 for (ThreadID tid = 0; tid < numThreads; tid++) { 459 DefaultCommit<Impl>::deactivateThread(ThreadID ti [all...] |
/gem5/src/cpu/pred/ |
H A D | 2bit_local.cc | 66 LocalBP::btbUpdate(ThreadID tid, Addr branch_addr, void * &bp_history) 74 LocalBP::lookup(ThreadID tid, Addr branch_addr, void * &bp_history) 93 LocalBP::update(ThreadID tid, Addr branch_addr, bool taken, void *bp_history, 135 LocalBP::uncondBranch(ThreadID tid, Addr pc, void *&bp_history)
|
H A D | tage.cc | 56 TAGE::update(ThreadID tid, Addr branch_pc, bool taken, void* bp_history, 89 TAGE::squash(ThreadID tid, void *bp_history) 97 TAGE::predict(ThreadID tid, Addr branch_pc, bool cond_branch, void* &b) 105 TAGE::lookup(ThreadID tid, Addr branch_pc, void* &bp_history) 119 TAGE::btbUpdate(ThreadID tid, Addr branch_pc, void* &bp_history) 126 TAGE::uncondBranch(ThreadID tid, Addr br_pc, void* &bp_history)
|
H A D | multiperspective_perceptron_tage_8KB.hh | 62 int gPredictions(ThreadID tid, Addr branch_pc, 67 void gUpdates(ThreadID tid, Addr pc, bool taken,
|
H A D | btb.cc | 75 DefaultBTB::getIndex(Addr instPC, ThreadID tid) 91 DefaultBTB::valid(Addr instPC, ThreadID tid) 112 DefaultBTB::lookup(Addr instPC, ThreadID tid) 130 DefaultBTB::update(Addr instPC, const TheISA::PCState &target, ThreadID tid)
|
H A D | tage_sc_l_8KB.hh | 59 uint16_t gtag(ThreadID tid, Addr pc, int bank) const override; 96 int gPredictions( ThreadID tid, Addr branch_pc, 105 void gUpdates(ThreadID tid, Addr pc, bool taken, BranchInfo* bi,
|
H A D | multiperspective_perceptron_tage.hh | 77 void updateHistories(ThreadID tid, Addr branch_pc, bool taken, 162 bool scPredict(ThreadID tid, Addr branch_pc, bool cond_branch, 168 void condBranchUpdate(ThreadID tid, Addr branch_pc, bool taken, 214 unsigned int getIndex(ThreadID tid, MPPTAGEBranchInfo &bi, 216 int computePartialSum(ThreadID tid, MPPTAGEBranchInfo &bi) const; 217 void updatePartial(ThreadID tid, MPPTAGEBranchInfo &bi, bool taken); 218 void updateHistories(ThreadID tid, MPPTAGEBranchInfo &bi, bool taken); 226 bool lookup(ThreadID tid, Addr instPC, void * &bp_history) override; 228 void update(ThreadID tid, Addr instPC, bool taken, 232 void uncondBranch(ThreadID ti [all...] |
H A D | tage_base.hh | 199 virtual int gindex(ThreadID tid, Addr pc, int bank) const; 217 virtual uint16_t gtag(ThreadID tid, Addr pc, int bank) const; 276 void update(ThreadID tid, Addr branch_pc, bool taken, BranchInfo* bi); 291 ThreadID tid, Addr branch_pc, bool taken, BranchInfo* b, 310 ThreadID tid, bool taken, BranchInfo *bi, Addr target); 325 ThreadID tid, Addr branch_pc, bool taken, BranchInfo* bi, 337 ThreadID tid, Addr branch_pc, bool cond_branch, BranchInfo* bi); 363 ThreadID tid, Addr branch_pc, BranchInfo* bi); 411 void btbUpdate(ThreadID tid, Addr branch_addr, BranchInfo* &bi); 412 unsigned getGHR(ThreadID ti [all...] |
H A D | tage_sc_l.hh | 95 ThreadID tid, Addr branch_pc, TAGEBase::BranchInfo* bi) override; 100 ThreadID tid, Addr branch_pc, bool taken, TAGEBase::BranchInfo* b, 105 int gindex(ThreadID tid, Addr pc, int bank) const override; 109 virtual uint16_t gtag(ThreadID tid, Addr pc, int bank) const override = 0; 111 void squash(ThreadID tid, bool taken, TAGEBase::BranchInfo *bi, 155 ThreadID tid, Addr branch_pc, bool cond_branch, void* &b) override; 159 void update(ThreadID tid, Addr branch_addr, bool taken, void *bp_history,
|
H A D | simple_indirect.cc | 64 SimpleIndirectPredictor::genIndirectInfo(ThreadID tid, 75 ThreadID tid, bool actually_taken) 83 SimpleIndirectPredictor::changeDirectionPrediction(ThreadID tid, 93 ThreadID tid) 115 InstSeqNum seq_num, ThreadID tid) 123 SimpleIndirectPredictor::commit(InstSeqNum seq_num, ThreadID tid, 146 SimpleIndirectPredictor::squash(InstSeqNum seq_num, ThreadID tid) 165 SimpleIndirectPredictor::deleteIndirectInfo(ThreadID tid, 177 ThreadID tid) 214 SimpleIndirectPredictor::getSetIndex(Addr br_addr, unsigned ghr, ThreadID ti [all...] |
H A D | bi_mode.cc | 72 BiModeBP::uncondBranch(ThreadID tid, Addr pc, void * &bpHistory) 85 BiModeBP::squash(ThreadID tid, void *bpHistory) 103 BiModeBP::lookup(ThreadID tid, Addr branchAddr, void * &bpHistory) 142 BiModeBP::btbUpdate(ThreadID tid, Addr branchAddr, void * &bpHistory) 154 BiModeBP::update(ThreadID tid, Addr branchAddr, bool taken, void *bpHistory, 224 BiModeBP::updateGlobalHistReg(ThreadID tid, bool taken)
|
/gem5/src/cpu/simple/ |
H A D | base.hh | 87 ThreadID curThread; 96 void wakeup(ThreadID tid) override; 103 std::list<ThreadID> activeThreads; 137 void haltContext(ThreadID thread_num) override; 177 void serializeThread(CheckpointOut &cp, ThreadID tid) const override; 178 void unserializeThread(CheckpointIn &cp, ThreadID tid) override;
|
/gem5/src/arch/alpha/ |
H A D | isa.cc | 78 ISA::readMiscRegNoEffect(int misc_reg, ThreadID tid) const 98 ISA::readMiscReg(int misc_reg, ThreadContext *tc, ThreadID tid) 117 ISA::setMiscRegNoEffect(int misc_reg, RegVal val, ThreadID tid) 143 ISA::setMiscReg(int misc_reg, RegVal val, ThreadContext *tc, ThreadID tid)
|
/gem5/src/cpu/ |
H A D | thread_state.hh | 62 ThreadState(BaseCPU *cpu, ThreadID _tid, Process *_process); 78 void setThreadId(ThreadID id) { _threadId = id; } 80 ThreadID threadId() const { return _threadId; } 172 ThreadID _threadId;
|
H A D | base.cc | 161 for (ThreadID tid = 0; tid < numThreads; ++tid) 170 for (ThreadID tid = 0; tid < numThreads; ++tid) 192 for (ThreadID tid = 0; tid < numThreads; ++tid) { 200 for (ThreadID tid = 0; tid < numThreads; ++tid) 208 for (ThreadID tid = 0; tid < numThreads; ++tid) 219 for (ThreadID tid = 0; tid < numThreads; ++tid) { 249 for (ThreadID tid = 0; tid < numThreads; tid++) 281 BaseCPU::armMonitor(ThreadID tid, Addr address) 293 BaseCPU::mwait(ThreadID tid, PacketPtr pkt) 316 BaseCPU::mwaitAtomic(ThreadID ti [all...] |
/gem5/src/cpu/minor/ |
H A D | fetch2.hh | 166 ThreadID threadPriority; 179 const ForwardLineData *getInput(ThreadID tid); 182 void popInput(ThreadID tid); 186 void dumpAllInput(ThreadID tid); 199 ThreadID getScheduledThread();
|
H A D | cpu.cc | 57 for (ThreadID i = 0; i < numThreads; i++) { 88 for (ThreadID thread_id = 0; thread_id < threads.size(); thread_id++) { 106 for (ThreadID thread_id = 0; thread_id < threads.size(); thread_id++) { 114 for (ThreadID thread_id = 0; thread_id < threads.size(); thread_id++) 134 MinorCPU::serializeThread(CheckpointOut &cp, ThreadID thread_id) const 140 MinorCPU::unserializeThread(CheckpointIn &cp, ThreadID thread_id) 169 MinorCPU::wakeup(ThreadID tid) 186 for (ThreadID tid = 0; tid < numThreads; tid++) { 243 for (ThreadID tid = 0; tid < numThreads; tid++){ 280 MinorCPU::activateContext(ThreadID thread_i [all...] |