From b28058917c7bd324ca2b080a0a5f7ba617ea4c40 Mon Sep 17 00:00:00 2001 From: Polina Dudnik Date: Mon, 13 Jul 2009 12:11:17 -0500 Subject: [PATCH] Locked requests should actually be converted to ST rather than ATOMIC, because ATOMIC is for RMW. --- src/mem/ruby/system/Sequencer.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.30.2