Skip to content

Commit

Permalink
added debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
MayneMei authored Dec 2, 2024
1 parent e578f6d commit a196f00
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/LSU.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -935,7 +935,9 @@ namespace olympia

void LSU::allocateInstToStoreBuffer_(const InstPtr & inst_ptr)
{
std::cout << "Creating store info for UID: " << inst_ptr->getUniqueID() << "\n";
const auto & store_info_ptr = createLoadStoreInst_(inst_ptr);
std::cout << "Store info created: " << (store_info_ptr != nullptr) << "\n";

sparta_assert(store_buffer_.size() < ldst_inst_queue_size_,
"Appending store buffer causes overflows!");
Expand Down

0 comments on commit a196f00

Please sign in to comment.