summaryrefslogtreecommitdiff
path: root/src/arch/arm/miscregs_types.hh
diff options
context:
space:
mode:
authorEdmund Grimley Evans <Edmund.Grimley-Evans@arm.com>2017-11-10 10:07:30 +0000
committerGiacomo Gabrielli <giacomo.gabrielli@arm.com>2018-10-02 08:53:25 +0000
commit3afece061e063db27798288ec8dc9a378a320e02 (patch)
tree317a7ce92693f259648bd63f7fb1802bb70c3506 /src/arch/arm/miscregs_types.hh
parentb992ecbc5b11c38f9469fe1a02dd1302f97f77c7 (diff)
downloadgem5-3afece061e063db27798288ec8dc9a378a320e02.tar.xz
arch-arm: Add FP16 support and other primitives to fplib
This changeset: - extends fplib to support emulation of half-precision floating-point (FP16) operations; - extends fplib to support additional primitives introduced by the Arm Scalable Vector Extension (SVE) (fplibExpa, fplibScale, fplibTrigMAdd, fplibTrigSMul, fplibTrigSSel); - adds the FZ16 bit to FPSCR; - cleans up fplib code by replacing constants with preprocessor macros and by adding inline functions to recognise NaNs and infinities. Change-Id: If8fdb2a5824b478c8310bbc126ec60cc1105f135 Signed-off-by: Giacomo Gabrielli <giacomo.gabrielli@arm.com> Reviewed-on: https://gem5-review.googlesource.com/13044 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'src/arch/arm/miscregs_types.hh')
-rw-r--r--src/arch/arm/miscregs_types.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/arm/miscregs_types.hh b/src/arch/arm/miscregs_types.hh
index 198f8c88d..0a862360e 100644
--- a/src/arch/arm/miscregs_types.hh
+++ b/src/arch/arm/miscregs_types.hh
@@ -413,6 +413,7 @@ namespace ArmISA
Bitfield<12> ixe;
Bitfield<15> ide;
Bitfield<18, 16> len;
+ Bitfield<19> fz16;
Bitfield<21, 20> stride;
Bitfield<23, 22> rMode;
Bitfield<24> fz;