Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/compiler_rt/dist/lib/builtins Make the soft...
details: https://anonhg.NetBSD.org/src/rev/ad380f1fbd21
branches: trunk
changeset: 344383:ad380f1fbd21
user: martin <martin%NetBSD.org@localhost>
date: Sat Mar 26 07:21:11 2016 +0000
description:
Make the softfloat variant compile
diffstat:
sys/external/bsd/compiler_rt/dist/lib/builtins/floatdidf.c | 4 ++--
sys/external/bsd/compiler_rt/dist/lib/builtins/floatundidf.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (31 lines):
diff -r 088767ac8cdd -r ad380f1fbd21 sys/external/bsd/compiler_rt/dist/lib/builtins/floatdidf.c
--- a/sys/external/bsd/compiler_rt/dist/lib/builtins/floatdidf.c Fri Mar 25 23:04:41 2016 +0000
+++ b/sys/external/bsd/compiler_rt/dist/lib/builtins/floatdidf.c Sat Mar 26 07:21:11 2016 +0000
@@ -98,10 +98,10 @@
/* a is now rounded to DBL_MANT_DIG bits */
}
double_bits fb;
- fb.u.high = ((su_int)s & 0x80000000) | /* sign */
+ fb.u.s.high = ((su_int)s & 0x80000000) | /* sign */
((e + 1023) << 20) | /* exponent */
((su_int)(a >> 32) & 0x000FFFFF); /* mantissa-high */
- fb.u.low = (su_int)a; /* mantissa-low */
+ fb.u.s.low = (su_int)a; /* mantissa-low */
return fb.f;
}
#endif
diff -r 088767ac8cdd -r ad380f1fbd21 sys/external/bsd/compiler_rt/dist/lib/builtins/floatundidf.c
--- a/sys/external/bsd/compiler_rt/dist/lib/builtins/floatundidf.c Fri Mar 25 23:04:41 2016 +0000
+++ b/sys/external/bsd/compiler_rt/dist/lib/builtins/floatundidf.c Sat Mar 26 07:21:11 2016 +0000
@@ -98,9 +98,9 @@
/* a is now rounded to DBL_MANT_DIG bits */
}
double_bits fb;
- fb.u.high = ((e + 1023) << 20) | /* exponent */
+ fb.u.s.high = ((e + 1023) << 20) | /* exponent */
((su_int)(a >> 32) & 0x000FFFFF); /* mantissa-high */
- fb.u.low = (su_int)a; /* mantissa-low */
+ fb.u.s.low = (su_int)a; /* mantissa-low */
return fb.f;
}
#endif
Home |
Main Index |
Thread Index |
Old Index