summaryrefslogtreecommitdiff
path: root/ext/fputils/include
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas.sandberg@arm.com>2016-11-18 18:08:20 +0000
committerAndreas Sandberg <andreas.sandberg@arm.com>2016-11-18 18:08:20 +0000
commitaf934452af57df02100aa17836fdbb21c68a77a8 (patch)
treeafb9d2d197ee9fd52e190da4306e8a5d81d45a54 /ext/fputils/include
parentb8a162087ddddecf78306d39c15b304cb98c6f09 (diff)
downloadgem5-af934452af57df02100aa17836fdbb21c68a77a8.tar.xz
ext: Update fputils to rev 13589cd
This patch updates fputils to the latest revision (13589cd) from the upstream repository (github.com/andysan/fputils).
Diffstat (limited to 'ext/fputils/include')
-rw-r--r--ext/fputils/include/fputils/fptypes.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/fputils/include/fputils/fptypes.h b/ext/fputils/include/fputils/fptypes.h
index 714ddd439..2ccf6df26 100644
--- a/ext/fputils/include/fputils/fptypes.h
+++ b/ext/fputils/include/fputils/fptypes.h
@@ -69,12 +69,16 @@ typedef union {
uint64_t fi;
/** Raw representation of sign bit and exponent */
uint16_t se;
+ /** Add explicit padding to ensure this data structure
+ * is properly aligned.
+ */
+ uint16_t pad[3];
} repr;
/**
* Represented as a char array, mainly intended for debug dumping
* and serialization.
*/
- char bits[10];
+ char bits[16];
} fp80_t;
/** @} */