diff options
author | Gabe Black <gabeblack@google.com> | 2018-10-12 23:39:36 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2019-01-16 20:26:10 +0000 |
commit | 0c4515ce1ff2a4e40d243df734af2a67cb8b1ad1 (patch) | |
tree | 20a6b98fefb0169bb17aa9e1b5d93748ab95b997 /src/arch/alpha | |
parent | f4d33283269aec8549027392516771bcc2850f88 (diff) | |
download | gem5-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/alpha')
-rw-r--r-- | src/arch/alpha/registers.hh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/arch/alpha/registers.hh b/src/arch/alpha/registers.hh index 53ade4719..2bff11b5c 100644 --- a/src/arch/alpha/registers.hh +++ b/src/arch/alpha/registers.hh @@ -45,14 +45,14 @@ using AlphaISAInst::MaxInstDestRegs; // Locked read/write flags are can't be detected by the ISA parser const int MaxMiscDestRegs = AlphaISAInst::MaxMiscDestRegs + 1; -typedef uint64_t IntReg; +typedef RegVal IntReg; // floating point register file entry type -typedef double FloatReg; -typedef uint64_t FloatRegBits; +typedef FloatRegVal FloatReg; +typedef RegVal FloatRegBits; // control register file contents -typedef uint64_t MiscReg; +typedef RegVal MiscReg; // dummy typedef since we don't have CC regs typedef uint8_t CCReg; |