Gabe Black has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/13615

Change subject: base: Add standard types for floating and nonfloating point register values.
......................................................................

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
---
M src/base/types.hh
1 file changed, 3 insertions(+), 0 deletions(-)



diff --git a/src/base/types.hh b/src/base/types.hh
index d07c370..a53f4db 100644
--- a/src/base/types.hh
+++ b/src/base/types.hh
@@ -165,6 +165,9 @@

 const Addr MaxAddr = (Addr)-1;

+typedef uint64_t RegVal;
+typedef double FloatRegVal;
+
 /**
  * Thread index/ID type
  */

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/13615
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: Iaac104eef74eabcdd87787b1cdf8bea22d449eda
Gerrit-Change-Number: 13615
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to