26a27,28
> *
> * Authors: Kevin Lim
33,34c35,36
< #ifndef __CPU_O3_RENAME_MAP_HH__
< #define __CPU_O3_RENAME_MAP_HH__
---
> #ifndef __CPU_O3_CPU_RENAME_MAP_HH__
> #define __CPU_O3_CPU_RENAME_MAP_HH__
66c68,74
< SimpleRenameMap() {};
---
> SimpleRenameMap(unsigned _numLogicalIntRegs,
> unsigned _numPhysicalIntRegs,
> unsigned _numLogicalFloatRegs,
> unsigned _numPhysicalFloatRegs,
> unsigned _numMiscRegs,
> RegIndex _intZeroReg,
> RegIndex _floatZeroReg);
71,86d78
< void init(unsigned _numLogicalIntRegs,
< unsigned _numPhysicalIntRegs,
< PhysRegIndex &_int_reg_start,
<
< unsigned _numLogicalFloatRegs,
< unsigned _numPhysicalFloatRegs,
< PhysRegIndex &_float_reg_start,
<
< unsigned _numMiscRegs,
<
< RegIndex _intZeroReg,
< RegIndex _floatZeroReg,
<
< int id,
< bool bindRegs);
<
96a89,90
> bool isReady(PhysRegIndex arch_reg);
>
101a96,97
> void markAsReady(PhysRegIndex ready_reg);
>
103a100,102
> void squash(std::vector<RegIndex> freed_regs,
> std::vector<UnmapInfo> unmaps);
>
107,109d105
< /** Rename Map ID */
< int id;
<
152,153d147
< //Change this to private
< private:
155c149
< std::vector<RenameEntry> intRenameMap;
---
> RenameEntry *intRenameMap;
158c152
< std::vector<RenameEntry> floatRenameMap;
---
> RenameEntry *floatRenameMap;
160d153
< private:
162a156,172
>
> // Might want to make all these scoreboards into one large scoreboard.
>
> /** Scoreboard of physical integer registers, saying whether or not they
> * are ready.
> */
> std::vector<bool> intScoreboard;
>
> /** Scoreboard of physical floating registers, saying whether or not they
> * are ready.
> */
> std::vector<bool> floatScoreboard;
>
> /** Scoreboard of miscellaneous registers, saying whether or not they
> * are ready.
> */
> std::vector<bool> miscScoreboard;
165c175
< #endif //__CPU_O3_RENAME_MAP_HH__
---
> #endif //__CPU_O3_CPU_RENAME_MAP_HH__