ruby: gave ALIASED_REQUEST priority over BUFFER_FULL in sequencer
This commit is contained in:
parent
2ee04d6587
commit
f7f475a6f4
1 changed files with 4 additions and 6 deletions
|
@ -354,17 +354,15 @@ void Sequencer::hitCallback(SequencerRequest* srequest, DataBlock& data) {
|
|||
|
||||
// Returns true if the sequencer already has a load or store outstanding
|
||||
int Sequencer::isReady(const RubyRequest& request) {
|
||||
if (m_outstanding_count >= m_max_outstanding_requests) {
|
||||
return LIBRUBY_BUFFER_FULL;
|
||||
}
|
||||
|
||||
if( m_writeRequestTable.exist(line_address(Address(request.paddr))) ||
|
||||
m_readRequestTable.exist(line_address(Address(request.paddr))) ){
|
||||
//cout << "OUTSTANDING REQUEST EXISTS " << p << " VER " << m_version << endl;
|
||||
//printProgress(cout);
|
||||
return LIBRUBY_ALIASED_REQUEST;
|
||||
}
|
||||
|
||||
if (m_outstanding_count >= m_max_outstanding_requests) {
|
||||
return LIBRUBY_BUFFER_FULL;
|
||||
}
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue