File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ namespace olympia
23
23
// store_buffer_("store_buffer", p->ldst_inst_queue_size, getClock()), // Add this line
24
24
// store_buffer_size_(p->ldst_inst_queue_size),
25
25
ready_queue_ (),
26
+ store_buffer_ (),
26
27
load_store_info_allocator_ (sparta::notNull(OlympiaAllocators::getOlympiaAllocators(node))
27
28
->load_store_info_allocator),
28
29
memory_access_allocator_ (sparta::notNull(OlympiaAllocators::getOlympiaAllocators(node))
@@ -275,6 +276,10 @@ namespace olympia
275
276
sparta_assert (inst_ptr->getStatus () == Inst::Status::RETIRED,
276
277
" Get ROB Ack, but the store inst hasn't retired yet!" );
277
278
279
+ if (inst_ptr->getStatus () != Inst::Status::RETIRED) {
280
+ return ;
281
+ }
282
+
278
283
if (inst_ptr->isStoreInst ())
279
284
{
280
285
std::cout << " RETIRE: Buffer size before:" << store_buffer_.size ()
You can’t perform that action at this time.
0 commit comments