sparc: Switch the FloatReg and FloatRegBits types to be 64 bit.
authorGabe Black <gabeblack@google.com>
Sat, 13 Oct 2018 00:48:48 +0000 (17:48 -0700)
committerGabe Black <gabeblack@google.com>
Mon, 5 Nov 2018 23:42:51 +0000 (23:42 +0000)
These types aren't used by the ISA itself since they're defined to be
particular primitive types in the ISA description. This just affects
code outside of the ISA which work with those types of registers.

Change-Id: I4f62ab8fe04184cc23845090c82b250145a71747
Reviewed-on: https://gem5-review.googlesource.com/c/13616
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>

src/arch/sparc/registers.hh

index a7f4d2a152afbb8c4d78419a7b0eac70573afc60..b5acaeff1be6303f0d29b95db2e75dfe012f5458 100644 (file)
@@ -47,8 +47,8 @@ using SparcISAInst::MaxMiscDestRegs;
 
 typedef uint64_t IntReg;
 typedef uint64_t MiscReg;
-typedef float FloatReg;
-typedef uint32_t FloatRegBits;
+typedef double FloatReg;
+typedef uint64_t FloatRegBits;
 
 // dummy typedef since we don't have CC regs
 typedef uint8_t CCReg;