@@ -277,6 +277,8 @@ namespace olympia
277
277
278
278
if (inst_ptr->isStoreInst ())
279
279
{
280
+ std::cout << " RETIRE: Buffer size before:" << store_buffer_.size ()
281
+ << " UID:" << inst_ptr->getUniqueID () << " \n " ;
280
282
auto oldest_store = getOldestStore_ ();
281
283
sparta_assert (oldest_store && oldest_store->getInstPtr ()->getUniqueID () == inst_ptr->getUniqueID (),
282
284
" Attempting to retire store out of order! Expected: "
@@ -935,9 +937,7 @@ namespace olympia
935
937
936
938
void LSU::allocateInstToStoreBuffer_ (const InstPtr & inst_ptr)
937
939
{
938
- std::cout << " Creating store info for UID: " << inst_ptr->getUniqueID () << " \n " ;
939
940
const auto & store_info_ptr = createLoadStoreInst_ (inst_ptr);
940
- std::cout << " Store info created: " << (store_info_ptr != nullptr ) << " \n " ;
941
941
942
942
sparta_assert (store_buffer_.size () < ldst_inst_queue_size_,
943
943
" Appending store buffer causes overflows!" );
@@ -1441,6 +1441,7 @@ namespace olympia
1441
1441
1442
1442
void LSU::flushStoreBuffer_ (const FlushCriteria & criteria)
1443
1443
{
1444
+ std::cout << " FLUSH: Store buffer size before:" << store_buffer_.size () << " \n " ;
1444
1445
auto sb_iter = store_buffer_.begin ();
1445
1446
while (sb_iter != store_buffer_.end ()) {
1446
1447
auto inst_ptr = (*sb_iter)->getInstPtr ();
@@ -1453,6 +1454,7 @@ namespace olympia
1453
1454
++sb_iter;
1454
1455
}
1455
1456
}
1457
+ std::cout << " FLUSH: Store buffer size after:" << store_buffer_.size () << " \n " ;
1456
1458
}
1457
1459
1458
1460
} // namespace olympia
0 commit comments