summaryrefslogtreecommitdiff
path: root/ext/fputils/fpbits.h
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas@sandberg.pp.se>2013-10-01 15:19:56 +0200
committerAndreas Sandberg <andreas@sandberg.pp.se>2013-10-01 15:19:56 +0200
commit7c52865d1bd63e4b3a4352d6178a391e1b0ed29d (patch)
tree32432ea31bafd089966fbf9e66fa73c5f627c6fb /ext/fputils/fpbits.h
parentfec2dea5c35d830ab4f4dc5295e6dba0e152f18e (diff)
downloadgem5-7c52865d1bd63e4b3a4352d6178a391e1b0ed29d.tar.xz
ext: Update fputils to rev 52b6190b4e
This changeset updates the external library to git revision 52b6190b4e. This update includes changes that fix compilation errors on old gcc versions and fixes to test a case that affect ICC.
Diffstat (limited to 'ext/fputils/fpbits.h')
-rw-r--r--ext/fputils/fpbits.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/fputils/fpbits.h b/ext/fputils/fpbits.h
index 9fb934843..335a122d3 100644
--- a/ext/fputils/fpbits.h
+++ b/ext/fputils/fpbits.h
@@ -76,15 +76,15 @@
#define BUILD_FP80(sign, frac, exp) \
{ \
- .u.repr.se = BUILD_FP80_SE(sign, exp), \
- .u.repr.fi = BUILD_FP80_FI(frac, exp) \
+ .repr.se = BUILD_FP80_SE(sign, exp), \
+ .repr.fi = BUILD_FP80_FI(frac, exp) \
}
#define FP80_FRAC(fp80) \
- (fp80.u.repr.fi & FP80_FRAC_MASK)
+ (fp80.repr.fi & FP80_FRAC_MASK)
#define FP80_EXP(fp80) \
- (fp80.u.repr.se & FP80_EXP_MASK)
+ (fp80.repr.se & FP80_EXP_MASK)
#define FP64_FRAC(fp64) \
(fp64.bits & FP64_FRAC_MASK)