Patent ID: 8407442

Claim:
A computer-program product comprising a non-transitory tangible storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising: receiving a plurality of stores in a store queue; comparing a fetch request against the store queue to search for a target store having a same memory address as the fetch request; and determining whether the target store is ahead of the fetch request in a same pipeline and processing the fetch request based on determining that the target store is ahead of the fetch request by: comparing a pointer of the target store obtained by the fetch request at a pipe cycle of the fetch request to a pointer of the target store at a pipe cycle of the target store ahead of the pipe cycle of the fetch request to determine whether the target store has completed; resetting a target-store-valid-for-compare signal based on determining that the target store has completed; and preventing compares against the target store from being reported to fetch requests based on the resetting of the target-store-valid-for-compare signal.