diff --git a/src/cpu/o3/rename_map.cc b/src/cpu/o3/rename_map.cc index 8508071b4..57caa76be 100644 --- a/src/cpu/o3/rename_map.cc +++ b/src/cpu/o3/rename_map.cc @@ -158,6 +158,7 @@ SimpleRenameMap::rename(RegIndex arch_reg) } else { // Otherwise return the zero register so nothing bad happens. renamed_reg = intZeroReg; + prev_reg = intZeroReg; } } else if (arch_reg < numLogicalRegs) { // Record the current physical register that is renamed to the