Alpha specific alignment of PC
Review Request #950 - Created Dec. 20, 2011 and submitted
| Information | |
|---|---|
| Anders Handler | |
| gem5 | |
| Reviewers | |
| Default | |
Alignment of PC is ALPHA specific, thus checks for ISA is needed.
Posted (Dec. 21, 2011, 6:37 a.m.)
Hi Andres, Thanks for taking the time to do this and submit it. I'm not a huge fan of ifdefs in the tree, so I think it would be a lot better if we created a const Addr in isa_traits.hh for every architecture and set it to either ~ULL(3) or ~ULL(0). That leaves the option open in the future for making the constant a variable if we ever get around to making a single binary that can simulate all the architectures. Thanks again, Ali
Review request changed
Updated (Dec. 22, 2011, 2:38 a.m.)
Change Summary:
Sure. All isa_traits.hh updated as well as the pc_event.cc.
Diff: |
Revision 2 (+21 -2) |
|---|
