From 0c4515ce1ff2a4e40d243df734af2a67cb8b1ad1 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Fri, 12 Oct 2018 23:39:36 -0700 Subject: 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 Maintainer: Jason Lowe-Power --- src/arch/mips/registers.hh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/arch/mips/registers.hh') diff --git a/src/arch/mips/registers.hh b/src/arch/mips/registers.hh index dbac83995..d2095d84d 100644 --- a/src/arch/mips/registers.hh +++ b/src/arch/mips/registers.hh @@ -278,14 +278,14 @@ const int NumMiscRegs = MISCREG_NUMREGS; const int TotalNumRegs = NumIntRegs + NumFloatRegs + NumMiscRegs; -typedef uint64_t IntReg; +typedef RegVal IntReg; // floating point register file entry type -typedef uint64_t FloatRegBits; -typedef double FloatReg; +typedef RegVal FloatRegBits; +typedef FloatRegVal FloatReg; // cop-0/cop-1 system control register -typedef uint64_t MiscReg; +typedef RegVal MiscReg; // dummy typedef since we don't have CC regs typedef uint8_t CCReg; -- cgit v1.2.3