Review Board 2.0.15


cpu: Simplify the rename interface and use RegId

Review Request #3754 - Created Dec. 9, 2016 and updated - Latest diff uploaded

Information
Rekai Gonzalez Alberquilla
gem5
default
Reviewers
Default
Changeset 11760:686a5d1464b6
---------------------------
cpu: Simplify the rename interface and use RegId

With the hierarchical RegId there are a lot of functions that are
redundant now.

The idea behind the simplification is that instead of having the regId,
telling which kind of register read/write/rename/lookup/etc. and then
the function panic_if'ing if the regId is not of the appropriate type,
what we ahve is an interface that you give it the regId, and depending
on the type of register, it decides which kind of register to read...

Change-Id: I7d52e9e21fc01205ae365d86921a4ceb67a57178
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>

Built in regressions passing