Review Board 2.0.15


cpu: o3: Mapping the ZeroRegister for all hardware threads

Review Request #2851 - Created May 28, 2015 and updated

Information
Alexandru Dutu
gem5
default
Reviewers
Default
Changeset 10864:716172760d78
---------------------------
cpu: o3: Mapping the ZeroRegister for all hardware threads
This patch helps enabling SMT in x86 by mapping the ZeroRegister to one
physical register across all hardware threads.

Quick regressions passed for all ISAs.

Issue Summary

1 0 1 0
Review request changed
Updated (June 22, 2015, 11:44 a.m.)

Change Summary:

Actually, giving this a second thought I like better the compressed version of this patch after Andreas's suggestion. Initially I was overly concerned with the unorderred initial mapping this will bring and the extra debugging confussion, however initial mappings change and there should not be much debugging on the register renaming front. So a compact code is the way to go.

Description:

~  

Changeset 10859:9c783a1367cd

  ~

Changeset 10864:716172760d78

   
   

cpu: o3: Mapping the ZeroRegister for all hardware threads

    This patch helps enabling SMT in x86 by mapping the ZeroRegister to one
    physical register across all hardware threads.

Diff:

Revision 2 (+3 -1)

Show changes

Ship it!
Posted (June 22, 2015, 1:59 p.m.)
Looks good. I assume this means that the register ordering problem you outlined earlier turned out to be a non-issue.
  1. Actually, while doing more testing I remembered that this ordering has to be enforced as the rest of the code that handles zero register exceptions assumes the physical register assigned for the it is the same with the architectural register. Is there a way to revert to the previous revision in review board or discard the current one?

  2. I don't know. I'd say that you don't need to worry. Just clarify the comment in the previous revision and push the change.