mshr_queue.hh (11375:f98df9231cdd) mshr_queue.hh (11377:a06a4debe272)
1/*
2 * Copyright (c) 2012-2013, 2015-2016 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

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

136 }
137
138 /**
139 * Returns true if sufficient mshrs for prefetch.
140 * @return True if sufficient mshrs for prefetch.
141 */
142 bool canPrefetch() const
143 {
1/*
2 * Copyright (c) 2012-2013, 2015-2016 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

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

136 }
137
138 /**
139 * Returns true if sufficient mshrs for prefetch.
140 * @return True if sufficient mshrs for prefetch.
141 */
142 bool canPrefetch() const
143 {
144 return (allocated < numEntries - (numReserve + demandReserve));
144 // @todo we may want to revisit the +1, currently added to
145 // keep regressions unchanged
146 return (allocated < numEntries - (numReserve + 1 + demandReserve));
145 }
146};
147
148#endif //__MEM_CACHE_MSHR_QUEUE_HH__
147 }
148};
149
150#endif //__MEM_CACHE_MSHR_QUEUE_HH__