lsq.hh (9868:44a67004d6b4) | lsq.hh (10239:592f0bb6bd6f) |
---|---|
1/* 2 * Copyright (c) 2011-2012 ARM Limited | 1/* 2 * Copyright (c) 2011-2012 ARM Limited |
3 * Copyright (c) 2013 Advanced Micro Devices, Inc. |
|
3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software 9 * licensed hereunder. You may use the software subject to the license 10 * terms below provided that you ensure that this notice is replicated --- 188 unchanged lines hidden (view full) --- 199 { return thread[tid].numLoads(); } 200 201 /** Returns the total number of stores in the store queue. */ 202 int numStores(); 203 /** Returns the total number of stores for a single thread. */ 204 int numStores(ThreadID tid) 205 { return thread[tid].numStores(); } 206 | 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 9 * to a hardware implementation of the functionality of the software 10 * licensed hereunder. You may use the software subject to the license 11 * terms below provided that you ensure that this notice is replicated --- 188 unchanged lines hidden (view full) --- 200 { return thread[tid].numLoads(); } 201 202 /** Returns the total number of stores in the store queue. */ 203 int numStores(); 204 /** Returns the total number of stores for a single thread. */ 205 int numStores(ThreadID tid) 206 { return thread[tid].numStores(); } 207 |
207 /** Returns the number of free entries. */ 208 unsigned numFreeEntries(); | 208 /** Returns the number of free load entries. */ 209 unsigned numFreeLoadEntries(); 210 211 /** Returns the number of free store entries. */ 212 unsigned numFreeStoreEntries(); 213 |
209 /** Returns the number of free entries for a specific thread. */ 210 unsigned numFreeEntries(ThreadID tid); 211 | 214 /** Returns the number of free entries for a specific thread. */ 215 unsigned numFreeEntries(ThreadID tid); 216 |
217 /** Returns the number of free entries in the LQ for a specific thread. */ 218 unsigned numFreeLoadEntries(ThreadID tid); 219 220 /** Returns the number of free entries in the SQ for a specific thread. */ 221 unsigned numFreeStoreEntries(ThreadID tid); 222 |
|
212 /** Returns if the LSQ is full (either LQ or SQ is full). */ 213 bool isFull(); 214 /** 215 * Returns if the LSQ is full for a specific thread (either LQ or SQ is 216 * full). 217 */ 218 bool isFull(ThreadID tid); 219 --- 147 unchanged lines hidden --- | 223 /** Returns if the LSQ is full (either LQ or SQ is full). */ 224 bool isFull(); 225 /** 226 * Returns if the LSQ is full for a specific thread (either LQ or SQ is 227 * full). 228 */ 229 bool isFull(ThreadID tid); 230 --- 147 unchanged lines hidden --- |