From 9dbc9bb4f2b49cfa0d9f1cf844929896c27a2d27 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Fri, 12 Oct 2018 17:21:18 -0700 Subject: [PATCH] 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 --- src/base/types.hh | 3 +++ 1 file changed, 3 insertions(+) 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 */ -- 2.30.2