lsq_unit.hh (10175:e639ff917d2e) | lsq_unit.hh (10239:592f0bb6bd6f) |
---|---|
1/* 2 * Copyright (c) 2012-2013 ARM Limited 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 11 * unmodified and in its entirety in all distributions of the software, 12 * modified or unmodified, in source code or in binary form. 13 * 14 * Copyright (c) 2004-2006 The Regents of The University of Michigan | 1/* 2 * Copyright (c) 2012-2013 ARM Limited 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 11 * unmodified and in its entirety in all distributions of the software, 12 * modified or unmodified, in source code or in binary form. 13 * 14 * Copyright (c) 2004-2006 The Regents of The University of Michigan |
15 * Copyright (c) 2013 Advanced Micro Devices, Inc. |
|
15 * All rights reserved. 16 * 17 * Redistribution and use in source and binary forms, with or without 18 * modification, are permitted provided that the following conditions are 19 * met: redistributions of source code must retain the above copyright 20 * notice, this list of conditions and the following disclaimer; 21 * redistributions in binary form must reproduce the above copyright 22 * notice, this list of conditions and the following disclaimer in the --- 170 unchanged lines hidden (view full) --- 193 /** Returns if the blocked load was handled. */ 194 bool isLoadBlockedHandled() 195 { return loadBlockedHandled; } 196 197 /** Records the blocked load as being handled. */ 198 void setLoadBlockedHandled() 199 { loadBlockedHandled = true; } 200 | 16 * All rights reserved. 17 * 18 * Redistribution and use in source and binary forms, with or without 19 * modification, are permitted provided that the following conditions are 20 * met: redistributions of source code must retain the above copyright 21 * notice, this list of conditions and the following disclaimer; 22 * redistributions in binary form must reproduce the above copyright 23 * notice, this list of conditions and the following disclaimer in the --- 170 unchanged lines hidden (view full) --- 194 /** Returns if the blocked load was handled. */ 195 bool isLoadBlockedHandled() 196 { return loadBlockedHandled; } 197 198 /** Records the blocked load as being handled. */ 199 void setLoadBlockedHandled() 200 { loadBlockedHandled = true; } 201 |
201 /** Returns the number of free entries (min of free LQ and SQ entries). */ 202 unsigned numFreeEntries(); | 202 /** Returns the number of free LQ entries. */ 203 unsigned numFreeLoadEntries(); |
203 | 204 |
205 /** Returns the number of free SQ entries. */ 206 unsigned numFreeStoreEntries(); 207 |
|
204 /** Returns the number of loads in the LQ. */ 205 int numLoads() { return loads; } 206 207 /** Returns the number of stores in the SQ. */ 208 int numStores() { return stores; } 209 210 /** Returns if either the LQ or SQ is full. */ 211 bool isFull() { return lqFull() || sqFull(); } --- 735 unchanged lines hidden --- | 208 /** Returns the number of loads in the LQ. */ 209 int numLoads() { return loads; } 210 211 /** Returns the number of stores in the SQ. */ 212 int numStores() { return stores; } 213 214 /** Returns if either the LQ or SQ is full. */ 215 bool isFull() { return lqFull() || sqFull(); } --- 735 unchanged lines hidden --- |