cpu: Refactor of Physical Register implementation
authorAndrea Mondelli <Andrea.Mondelli@ucf.edu>
Fri, 1 Mar 2019 14:38:18 +0000 (09:38 -0500)
committerAndrea Mondelli <Andrea.Mondelli@ucf.edu>
Thu, 14 Mar 2019 15:09:07 +0000 (15:09 +0000)
commit8cedf1df11f7de007fddd24a6f313eb875ebd1e8
treefd34c0d80c02a19e602eed9ce09cbd475220f811
parent7f9cbfae9a091363ec46102cc3e693ac94b51493
cpu: Refactor of Physical Register implementation

The implementation of the PhyRegId class is shared between multiple
cpu models. The o3/misc.hh should only be included in o3 models.

This patch removes the dependencies between different model
implementations, allowing to add new O3-like CPU model.

Change-Id: Ibb812517043befe75c48fab3ce9605a0d272870b
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/16908
Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com>
Reviewed-by: Bradley Wang <radwang@ucdavis.edu>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
src/cpu/base_dyn_inst.hh
src/cpu/o3/comm.hh
src/cpu/reg_class.hh