From: Polina Dudnik Date: Mon, 13 Jul 2009 17:11:17 +0000 (-0500) Subject: Locked requests should actually be converted to ST rather than ATOMIC, because ATOMIC... X-Git-Tag: Calvin_Submission~209^2~12 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b28058917c7bd324ca2b080a0a5f7ba617ea4c40;p=gem5.git Locked requests should actually be converted to ST rather than ATOMIC, because ATOMIC is for RMW. --- diff --git a/src/mem/ruby/system/Sequencer.cc b/src/mem/ruby/system/Sequencer.cc index c3a8e9424..eb694fa13 100644 --- a/src/mem/ruby/system/Sequencer.cc +++ b/src/mem/ruby/system/Sequencer.cc @@ -397,10 +397,10 @@ void Sequencer::issueRequest(const RubyRequest& request) { ctype = CacheRequestType_ST; break; case RubyRequestType_Locked_Read: - ctype = CacheRequestType_ATOMIC; + ctype = CacheRequestType_ST; break; case RubyRequestType_Locked_Write: - ctype = CacheRequestType_ATOMIC; + ctype = CacheRequestType_ST; break; default: assert(0);