summaryrefslogtreecommitdiffstats
path: root/gcc/real.c
diff options
context:
space:
mode:
authorljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-25 00:11:33 +0000
committerljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-25 00:11:33 +0000
commite97f0bd60765119183ab4a4833d870fa04ab3cb1 (patch)
tree07f9d16ec822ee7be90b343888e46d9c530ec5b8 /gcc/real.c
parent2e88e31e87abf1f7ac3fbca09e834c78065b82be (diff)
downloadppe42-gcc-e97f0bd60765119183ab4a4833d870fa04ab3cb1.tar.gz
ppe42-gcc-e97f0bd60765119183ab4a4833d870fa04ab3cb1.zip
* real.h (ieee_extended_intel_96_round_53_format): New.
* real.c (ieee_extended_intel_96_round_53_format): New. * config/i386/freebsd.h (SUBTARGET_OVERRIDE_OPTIONS): Use it for XFmode and TFmode. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68445 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/real.c')
-rw-r--r--gcc/real.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/gcc/real.c b/gcc/real.c
index 4e1dc227f12..b491d885a9f 100644
--- a/gcc/real.c
+++ b/gcc/real.c
@@ -3326,6 +3326,25 @@ const struct real_format ieee_extended_intel_128_format =
true
};
+/* The following caters to i386 systems that set the rounding precision
+ to 53 bits instead of 64, e.g. FreeBSD. */
+const struct real_format ieee_extended_intel_96_round_53_format =
+ {
+ encode_ieee_extended,
+ decode_ieee_extended,
+ 2,
+ 1,
+ 53,
+ 53,
+ -16381,
+ 16384,
+ 79,
+ true,
+ true,
+ true,
+ true,
+ true
+ };
/* IBM 128-bit extended precision format: a pair of IEEE double precision
numbers whose sum is equal to the extended precision value. The number
OpenPOWER on IntegriCloud