mem: add request types for acquire and release
Review Request #3180 - Created Oct. 30, 2015 and submitted
| Information | |
|---|---|
| Tony Gutierrez | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 11225:89acf0bcf147 --------------------------- mem: add request types for acquire and release Add support for acquire and release requests. These synchronization operations are commonly supported by several modern instruction sets.
-
src/mem/request.hh (Diff revision 1) -
Should not be needed. There is space.
-
src/mem/request.hh (Diff revision 1) -
No command has both set. Seems odd to check...
-
src/mem/request.hh (Diff revision 1) -
This seems strange to me. We rely on the flags being fixed. I don't see why you would want to change such a fundamental assumption.
Why are you changing the numerical values of existing flags? Doing that will break existing memory traces, which will cause a lot of trouble for people with existing traces (there are quite a few of them).
Description: |
|
|||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+22 -5) |
Description: |
|
|||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 3 (+20 -5) |
Description: |
|
|||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 4 (+21 -5) |
Thanks! My concerns have been addressed, but please make sure to get an ack from the other Andreas as well.
-
src/mem/request.hh (Diff revision 4) -
If you make these 0x00020000 and 0x00040000 they could be consecutive. Could you please also elaborate on the description of these flags, what promises/requirements are imposed etc.
-
src/mem/request.hh (Diff revision 4) -
This seems odd. No packet type has both set.
I am still not really understanding the request and the packet part. How are the two related (are they)?
Description: |
|
|||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 5 (+21 -4) |
Description: |
|
|||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 6 (+11) |
Ship It!
Andreas H., I want to make sure you're explicitly ok with me shipping this. Do we have a ship it from you? Thanks.
