From 14b0481f7fdc355154001e842c960d6a1c2c2e1a Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Fri, 12 Oct 2018 17:51:14 -0700 Subject: [PATCH] null: Claim to use 64 bit floating point registers. 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 Maintainer: Jason Lowe-Power --- src/arch/null/registers.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/arch/null/registers.hh b/src/arch/null/registers.hh index 3d27d95a2..5dd873222 100644 --- a/src/arch/null/registers.hh +++ b/src/arch/null/registers.hh @@ -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; -- 2.30.2