From: Gabe Black Date: Sat, 13 Oct 2018 00:21:18 +0000 (-0700) Subject: base: Add standard types for floating and nonfloating point register values. X-Git-Tag: v19.0.0.0~1434 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9dbc9bb4f2b49cfa0d9f1cf844929896c27a2d27;p=gem5.git base: Add standard types for floating and nonfloating point register values. These should be used instead of the ISA specific ones, and should be at least as large as the largest primitive register type in all the ISAs. Change-Id: Iaac104eef74eabcdd87787b1cdf8bea22d449eda Reviewed-on: https://gem5-review.googlesource.com/c/13615 Reviewed-by: Jason Lowe-Power Maintainer: Gabe Black --- diff --git a/src/base/types.hh b/src/base/types.hh index d07c370ab..a53f4db9d 100644 --- a/src/base/types.hh +++ b/src/base/types.hh @@ -165,6 +165,9 @@ isRomMicroPC(MicroPC upc) const Addr MaxAddr = (Addr)-1; +typedef uint64_t RegVal; +typedef double FloatRegVal; + /** * Thread index/ID type */