ruby: Implement SwapReq support
Review Request #3398 - Created March 19, 2016 and submitted
| Information | |
|---|---|
| Marco Elver | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
ruby: Implement SwapReq support for Ruby memory
This implements SwapReq for Ruby memory.
A SwapReq should be treated like a write, except that the response
packet contains the overwritten data.Note that, in particular, the conditional checking for isStore/isLoad
needs to be reversed, as a SwapReq is both.
Quick regressions.
The workload requiring this feature now works: http://reviews.gem5.org/r/3449/
Review request changed
Updated (March 19, 2016, 6:01 p.m.)
Diff: |
Revision 2 (+16 -6) |
|---|
-
src/mem/ruby/system/Sequencer.cc (Diff revision 2) -
Can you add a comment here as to why isWrite needs to be checked first?
Review request changed
Updated (March 21, 2016, 9:56 a.m.)
Ship It!
