rename_map.cc (3867:807483cfab77) rename_map.cc (4030:4046b2213995)
1/*
2 * Copyright (c) 2004-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 178 unchanged lines hidden (view full) ---

187 // registers; thus take the base architected register and add
188 // the physical registers to it.
189 renamed_reg = arch_reg + numPhysicalRegs;
190
191 // Set the previous register to the same register; mainly it must be
192 // known that the prev reg was outside the range of normal registers
193 // so the free list can avoid adding it.
194 prev_reg = renamed_reg;
1/*
2 * Copyright (c) 2004-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 178 unchanged lines hidden (view full) ---

187 // registers; thus take the base architected register and add
188 // the physical registers to it.
189 renamed_reg = arch_reg + numPhysicalRegs;
190
191 // Set the previous register to the same register; mainly it must be
192 // known that the prev reg was outside the range of normal registers
193 // so the free list can avoid adding it.
194 prev_reg = renamed_reg;
195
196 assert(renamed_reg < numPhysicalRegs + numMiscRegs);
197 }
198
199 DPRINTF(Rename, "Renamed reg %d to physical reg %d old mapping was %d\n",
200 arch_reg, renamed_reg, prev_reg);
201
202 return RenameInfo(renamed_reg, prev_reg);
203}
204

--- 48 unchanged lines hidden ---
195 }
196
197 DPRINTF(Rename, "Renamed reg %d to physical reg %d old mapping was %d\n",
198 arch_reg, renamed_reg, prev_reg);
199
200 return RenameInfo(renamed_reg, prev_reg);
201}
202

--- 48 unchanged lines hidden ---