iew.hh (5529:9ae69b9cd7fd) iew.hh (5557:03c186e416aa)
1/*
2 * Copyright (c) 2004-2006 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

203 inline void activateStage();
204
205 /** Tells CPU that the IEW stage is inactive and idle. */
206 inline void deactivateStage();
207
208 /** Returns if the LSQ has any stores to writeback. */
209 bool hasStoresToWB() { return ldstQueue.hasStoresToWB(); }
210
1/*
2 * Copyright (c) 2004-2006 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

203 inline void activateStage();
204
205 /** Tells CPU that the IEW stage is inactive and idle. */
206 inline void deactivateStage();
207
208 /** Returns if the LSQ has any stores to writeback. */
209 bool hasStoresToWB() { return ldstQueue.hasStoresToWB(); }
210
211 /** Returns if the LSQ has any stores to writeback. */
212 bool hasStoresToWB(unsigned tid) { return ldstQueue.hasStoresToWB(tid); }
213
211 void incrWb(InstSeqNum &sn)
212 {
213 if (++wbOutstanding == wbMax)
214 ableToIssue = false;
215 DPRINTF(IEW, "wbOutstanding: %i\n", wbOutstanding);
216 assert(wbOutstanding <= wbMax);
217#ifdef DEBUG
218 wbList.insert(sn);

--- 318 unchanged lines hidden ---
214 void incrWb(InstSeqNum &sn)
215 {
216 if (++wbOutstanding == wbMax)
217 ableToIssue = false;
218 DPRINTF(IEW, "wbOutstanding: %i\n", wbOutstanding);
219 assert(wbOutstanding <= wbMax);
220#ifdef DEBUG
221 wbList.insert(sn);

--- 318 unchanged lines hidden ---