cpu-o3: Fix minor style issue in rename_map.hh.
Change-Id: I670e504320b41e38666dab6eb7a83e4a39bc3b00 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/49146 Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -223,7 +223,8 @@ class UnifiedRenameMap
|
||||
* @return A RenameInfo pair indicating both the new and previous
|
||||
* physical registers.
|
||||
*/
|
||||
RenameInfo rename(const RegId& arch_reg)
|
||||
RenameInfo
|
||||
rename(const RegId& arch_reg)
|
||||
{
|
||||
switch (arch_reg.classValue()) {
|
||||
case IntRegClass:
|
||||
@@ -242,11 +243,11 @@ class UnifiedRenameMap
|
||||
return ccMap.rename(arch_reg);
|
||||
case MiscRegClass:
|
||||
{
|
||||
// misc regs aren't really renamed, just remapped
|
||||
PhysRegIdPtr phys_reg = lookup(arch_reg);
|
||||
// Set the new register to the previous one to keep the same
|
||||
// mapping throughout the execution.
|
||||
return RenameInfo(phys_reg, phys_reg);
|
||||
// misc regs aren't really renamed, just remapped
|
||||
PhysRegIdPtr phys_reg = lookup(arch_reg);
|
||||
// Set the new register to the previous one to keep the same
|
||||
// mapping throughout the execution.
|
||||
return RenameInfo(phys_reg, phys_reg);
|
||||
}
|
||||
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user