lsq_unit.hh (9358:aa761458ddcb) lsq_unit.hh (9440:fdc91cab5760)
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;

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

236
237 /** Completes the store at the specified index. */
238 void completeStore(int store_idx);
239
240 /** Attempts to send a store to the cache. */
241 bool sendStore(PacketPtr data_pkt);
242
243 /** Increments the given store index (circular queue). */
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;

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

236
237 /** Completes the store at the specified index. */
238 void completeStore(int store_idx);
239
240 /** Attempts to send a store to the cache. */
241 bool sendStore(PacketPtr data_pkt);
242
243 /** Increments the given store index (circular queue). */
244 inline void incrStIdx(int &store_idx);
244 inline void incrStIdx(int &store_idx) const;
245 /** Decrements the given store index (circular queue). */
245 /** Decrements the given store index (circular queue). */
246 inline void decrStIdx(int &store_idx);
246 inline void decrStIdx(int &store_idx) const;
247 /** Increments the given load index (circular queue). */
247 /** Increments the given load index (circular queue). */
248 inline void incrLdIdx(int &load_idx);
248 inline void incrLdIdx(int &load_idx) const;
249 /** Decrements the given load index (circular queue). */
249 /** Decrements the given load index (circular queue). */
250 inline void decrLdIdx(int &load_idx);
250 inline void decrLdIdx(int &load_idx) const;
251
252 public:
253 /** Debugging function to dump instructions in the LSQ. */
251
252 public:
253 /** Debugging function to dump instructions in the LSQ. */
254 void dumpInsts();
254 void dumpInsts() const;
255
256 private:
257 /** Pointer to the CPU. */
258 O3CPU *cpu;
259
260 /** Pointer to the IEW stage. */
261 IEW *iewStage;
262

--- 654 unchanged lines hidden ---
255
256 private:
257 /** Pointer to the CPU. */
258 O3CPU *cpu;
259
260 /** Pointer to the IEW stage. */
261 IEW *iewStage;
262

--- 654 unchanged lines hidden ---