commit_impl.hh (13449:2f7efa89c58b) commit_impl.hh (13453:4a7a060ea26e)
1/*
2 * Copyright 2014 Google, Inc.
3 * Copyright (c) 2010-2014, 2017 ARM Limited
4 * All rights reserved
5 *
6 * The license below extends only to copyright in the software and shall
7 * not be construed as granting a license to any other intellectual
8 * property including but not limited to intellectual property relating

--- 118 unchanged lines hidden (view full) ---

127 commitPolicy = OldestReady;
128
129 DPRINTF(Commit,"Commit Policy set to Oldest Ready.");
130 } else {
131 panic("Invalid SMT commit policy. Options are: Aggressive, "
132 "RoundRobin, OldestReady");
133 }
134
1/*
2 * Copyright 2014 Google, Inc.
3 * Copyright (c) 2010-2014, 2017 ARM Limited
4 * All rights reserved
5 *
6 * The license below extends only to copyright in the software and shall
7 * not be construed as granting a license to any other intellectual
8 * property including but not limited to intellectual property relating

--- 118 unchanged lines hidden (view full) ---

127 commitPolicy = OldestReady;
128
129 DPRINTF(Commit,"Commit Policy set to Oldest Ready.");
130 } else {
131 panic("Invalid SMT commit policy. Options are: Aggressive, "
132 "RoundRobin, OldestReady");
133 }
134
135 for (ThreadID tid = 0; tid < numThreads; tid++) {
135 for (ThreadID tid = 0; tid < Impl::MaxThreads; tid++) {
136 commitStatus[tid] = Idle;
137 changedROBNumEntries[tid] = false;
136 commitStatus[tid] = Idle;
137 changedROBNumEntries[tid] = false;
138 checkEmptyROB[tid] = false;
139 trapInFlight[tid] = false;
140 committedStores[tid] = false;
141 trapSquash[tid] = false;
142 tcSquash[tid] = false;
138 trapSquash[tid] = false;
139 tcSquash[tid] = false;
140 squashAfterInst[tid] = nullptr;
143 pc[tid].set(0);
141 pc[tid].set(0);
142 youngestSeqNum[tid] = 0;
144 lastCommitedSeqNum[tid] = 0;
143 lastCommitedSeqNum[tid] = 0;
145 squashAfterInst[tid] = NULL;
144 trapInFlight[tid] = false;
145 committedStores[tid] = false;
146 checkEmptyROB[tid] = false;
147 renameMap[tid] = nullptr;
146 }
147 interrupt = NoFault;
148}
149
150template <class Impl>
151std::string
152DefaultCommit<Impl>::name() const
153{

--- 1375 unchanged lines hidden ---
148 }
149 interrupt = NoFault;
150}
151
152template <class Impl>
153std::string
154DefaultCommit<Impl>::name() const
155{

--- 1375 unchanged lines hidden ---