null: Claim to use 64 bit floating point registers.
authorGabe Black <gabeblack@google.com>
Sat, 13 Oct 2018 00:51:14 +0000 (17:51 -0700)
committerGabe Black <gabeblack@google.com>
Mon, 5 Nov 2018 23:43:10 +0000 (23:43 +0000)
The NULL ISA doesn't actually have registers, so this setting doesn't
matter. By making it 64 bits the ISA is more compatible with the other
ISAs.

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

src/arch/null/registers.hh

index 3d27d95a2d492fce8c8074c857f73087e1c02d6e..5dd873222bd30ca031b3a8dfb93c20898f5d018c 100644 (file)
@@ -47,8 +47,8 @@
 namespace NullISA {
 
 typedef uint64_t IntReg;
-typedef uint32_t FloatRegBits;
-typedef float FloatReg;
+typedef uint64_t FloatRegBits;
+typedef double FloatReg;
 typedef uint8_t CCReg;
 typedef uint64_t MiscReg;
 const RegIndex ZeroReg = 0;