33,34c33,34
< #ifndef __CPU_O3_CPU_RENAME_MAP_HH__
< #define __CPU_O3_CPU_RENAME_MAP_HH__
---
> #ifndef __CPU_O3_RENAME_MAP_HH__
> #define __CPU_O3_RENAME_MAP_HH__
66,72c66
< SimpleRenameMap(unsigned _numLogicalIntRegs,
< unsigned _numPhysicalIntRegs,
< unsigned _numLogicalFloatRegs,
< unsigned _numPhysicalFloatRegs,
< unsigned _numMiscRegs,
< RegIndex _intZeroReg,
< RegIndex _floatZeroReg);
---
> SimpleRenameMap() {};
76a71,86
> 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);
>
87,88d96
< bool isReady(PhysRegIndex arch_reg);
<
94,95d101
< void markAsReady(PhysRegIndex ready_reg);
<
98,100d103
< void squash(std::vector<RegIndex> freed_regs,
< std::vector<UnmapInfo> unmaps);
<
103a107,109
> /** Rename Map ID */
> int id;
>
145a152,153
> //Change this to private
> private:
147c155
< RenameEntry *intRenameMap;
---
> std::vector<RenameEntry> intRenameMap;
150c158
< RenameEntry *floatRenameMap;
---
> std::vector<RenameEntry> floatRenameMap;
151a160
> private:
154,170d162
<
< // 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;
173c165
< #endif //__CPU_O3_CPU_RENAME_MAP_HH__
---
> #endif //__CPU_O3_RENAME_MAP_HH__