diff options
author | Kevin Lim <ktlim@umich.edu> | 2005-02-11 17:54:33 -0500 |
---|---|---|
committer | Kevin Lim <ktlim@umich.edu> | 2005-02-11 17:54:33 -0500 |
commit | c4d0ebd25cc5f0657b99543ff2df30d1a86f3ad5 (patch) | |
tree | f8eb75062055458ed2b2f44e4e87d2089c2debf4 /cpu/beta_cpu/rename_map.hh | |
parent | 1e7a744c09d0bde70e0f83179fdf4d6059585e4b (diff) | |
download | gem5-c4d0ebd25cc5f0657b99543ff2df30d1a86f3ad5.tar.xz |
Fix up #defines to use full path; fix up code for g++ 3.4
SConscript:
Remove efence option from automatically being used.
--HG--
extra : convert_revision : 466bb8077aa341db0b409720e2a73535b1fa6b69
Diffstat (limited to 'cpu/beta_cpu/rename_map.hh')
-rw-r--r-- | cpu/beta_cpu/rename_map.hh | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/cpu/beta_cpu/rename_map.hh b/cpu/beta_cpu/rename_map.hh index e68fa05a8..44a7eefb1 100644 --- a/cpu/beta_cpu/rename_map.hh +++ b/cpu/beta_cpu/rename_map.hh @@ -2,17 +2,15 @@ // Have it so that there's a more meaningful name given to the variable // that marks the beginning of the FP registers. -#ifndef __RENAME_MAP_HH__ -#define __RENAME_MAP_HH__ +#ifndef __CPU_BETA_CPU_RENAME_MAP_HH__ +#define __CPU_BETA_CPU_RENAME_MAP_HH__ #include <iostream> -#include <vector> #include <utility> +#include <vector> #include "cpu/beta_cpu/free_list.hh" -using namespace std; - class SimpleRenameMap { public: @@ -21,7 +19,7 @@ class SimpleRenameMap * previous mapping of a logical register to a physical register. * Used to roll back the rename map to a previous state. */ - typedef pair<RegIndex, PhysRegIndex> UnmapInfo; + typedef std::pair<RegIndex, PhysRegIndex> UnmapInfo; /** * Pair of a physical register and a physical register. Used to @@ -29,7 +27,7 @@ class SimpleRenameMap * renamed to, and the previous physical register that the same * logical register was previously mapped to. */ - typedef pair<PhysRegIndex, PhysRegIndex> RenameInfo; + typedef std::pair<PhysRegIndex, PhysRegIndex> RenameInfo; public: //Constructor @@ -128,17 +126,17 @@ class SimpleRenameMap /** Scoreboard of physical integer registers, saying whether or not they * are ready. */ - vector<bool> intScoreboard; + std::vector<bool> intScoreboard; /** Scoreboard of physical floating registers, saying whether or not they * are ready. */ - vector<bool> floatScoreboard; + std::vector<bool> floatScoreboard; /** Scoreboard of miscellaneous registers, saying whether or not they * are ready. */ - vector<bool> miscScoreboard; + std::vector<bool> miscScoreboard; }; -#endif //__RENAME_MAP_HH__ +#endif //__CPU_BETA_CPU_RENAME_MAP_HH__ |