summaryrefslogtreecommitdiff
path: root/src/arch/power/registers.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/power/registers.hh')
-rw-r--r--src/arch/power/registers.hh9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/arch/power/registers.hh b/src/arch/power/registers.hh
index adbaae539..39f7d34f8 100644
--- a/src/arch/power/registers.hh
+++ b/src/arch/power/registers.hh
@@ -34,6 +34,7 @@
#include "arch/generic/vec_reg.hh"
#include "arch/power/generated/max_inst_regs.hh"
#include "arch/power/miscregs.hh"
+#include "base/types.hh"
namespace PowerISA {
@@ -44,12 +45,12 @@ using PowerISAInst::MaxInstDestRegs;
// be detected by it. Manually add it here.
const int MaxMiscDestRegs = PowerISAInst::MaxMiscDestRegs + 1;
-typedef uint64_t IntReg;
+typedef RegVal IntReg;
// Floating point register file entry type
-typedef uint64_t FloatRegBits;
-typedef double FloatReg;
-typedef uint64_t MiscReg;
+typedef RegVal FloatRegBits;
+typedef FloatRegVal FloatReg;
+typedef RegVal MiscReg;
// dummy typedef since we don't have CC regs
typedef uint8_t CCReg;