summaryrefslogtreecommitdiff
path: root/src/arch/sparc/registers.hh
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-10-12 23:39:36 -0700
committerGabe Black <gabeblack@google.com>2019-01-16 20:26:10 +0000
commit0c4515ce1ff2a4e40d243df734af2a67cb8b1ad1 (patch)
tree20a6b98fefb0169bb17aa9e1b5d93748ab95b997 /src/arch/sparc/registers.hh
parentf4d33283269aec8549027392516771bcc2850f88 (diff)
downloadgem5-0c4515ce1ff2a4e40d243df734af2a67cb8b1ad1.tar.xz
arch: Make the ISA register types aliases for the global types.
The ISA specific types can thus be phased out. Change-Id: I8ea531a099fad140a4ec9c91cd972fe044111d60 Reviewed-on: https://gem5-review.googlesource.com/c/13623 Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Maintainer: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'src/arch/sparc/registers.hh')
-rw-r--r--src/arch/sparc/registers.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/arch/sparc/registers.hh b/src/arch/sparc/registers.hh
index b5acaeff1..362126c76 100644
--- a/src/arch/sparc/registers.hh
+++ b/src/arch/sparc/registers.hh
@@ -45,10 +45,10 @@ using SparcISAInst::MaxInstSrcRegs;
using SparcISAInst::MaxInstDestRegs;
using SparcISAInst::MaxMiscDestRegs;
-typedef uint64_t IntReg;
-typedef uint64_t MiscReg;
-typedef double FloatReg;
-typedef uint64_t FloatRegBits;
+typedef RegVal IntReg;
+typedef RegVal MiscReg;
+typedef FloatRegVal FloatReg;
+typedef RegVal FloatRegBits;
// dummy typedef since we don't have CC regs
typedef uint8_t CCReg;