Mitchell Horne
bbfbc439f2
Fix printf(3) output of long doubles on RISC-V
...
When the RISC-V port was initially committed to FreeBSD, GCC would
generate 64-bit long doubles, and the definitions in _fpmath.h reflected
that. This was changed to 128-bit in GCC later that year [1], but the
definitions were never updated, despite the documented workaround. This
causes printf(3) and friends to interpret only the low 64-bits of a long
double in ldtoa, thereby printing incorrect values.
Update the definitions now that both clang and GCC generate 128-bit long
doubles.
[1] 54b21fc5ae
PR: 242067
Reported by: Dennis Clarke <dclarke@blastwave.org>
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D25420
2020-06-29 19:30:35 +00:00
..
2019-12-11 17:37:53 +00:00
2020-06-28 07:43:43 +00:00
2020-06-29 17:19:08 +00:00
2020-06-22 07:46:24 +00:00
2019-09-17 06:07:08 +00:00
2020-03-26 17:34:17 +00:00
2019-12-11 17:37:53 +00:00
2020-05-16 02:29:10 +00:00
2020-05-20 20:58:48 +00:00
2020-04-19 02:20:39 +00:00
2020-01-24 02:18:09 +00:00
2019-02-26 05:59:22 +00:00
2019-12-11 17:37:53 +00:00
2019-12-11 17:37:53 +00:00
2019-12-20 19:53:05 +00:00
2019-12-11 17:37:53 +00:00
2019-12-11 17:37:53 +00:00
2020-04-19 02:18:40 +00:00
2020-04-01 15:25:16 +00:00
2019-12-11 17:37:53 +00:00
2020-06-29 19:30:35 +00:00
2020-03-10 06:49:43 +00:00
2019-12-20 19:53:05 +00:00
2019-12-11 17:37:53 +00:00
2020-03-10 23:58:41 +00:00
2020-01-02 23:07:45 +00:00
2020-06-27 11:13:45 +00:00
2020-05-23 10:32:18 +00:00
2019-12-11 17:37:53 +00:00
2018-10-28 02:58:15 +00:00
2020-02-13 12:52:24 +00:00
2019-12-11 17:37:53 +00:00
2019-12-11 17:37:53 +00:00
2020-01-14 17:50:13 +00:00
2019-12-11 17:37:53 +00:00
2020-06-23 16:29:59 +00:00
2019-12-11 17:37:53 +00:00
2019-12-11 17:37:53 +00:00
2019-12-11 17:37:53 +00:00
2019-12-11 17:37:53 +00:00
2019-12-11 17:37:53 +00:00
2019-12-11 17:37:53 +00:00
2019-12-11 17:37:53 +00:00
2019-12-05 13:20:15 +00:00
2020-05-28 22:05:50 +00:00
2019-12-20 19:53:05 +00:00
2019-12-11 17:37:53 +00:00
2020-02-21 18:21:57 +00:00
2019-12-11 17:37:53 +00:00
2020-01-14 17:50:13 +00:00
2020-04-30 22:08:40 +00:00
2019-12-11 17:37:53 +00:00
2019-12-11 17:37:53 +00:00
2019-12-11 17:37:53 +00:00
2018-07-08 23:22:04 +00:00
2020-05-27 18:26:10 +00:00
2020-06-04 22:58:37 +00:00
2019-10-10 12:46:34 +00:00
2020-01-07 21:44:27 +00:00
2019-09-05 14:13:08 +00:00
2020-06-25 20:04:35 +00:00
2019-12-11 17:37:53 +00:00
2020-04-29 13:41:32 +00:00
2020-03-23 18:26:23 +00:00
2020-06-20 21:32:07 +00:00
2020-06-17 15:57:59 +00:00
2020-06-06 00:35:41 +00:00
2020-02-19 18:48:46 +00:00
2019-12-11 17:37:53 +00:00
2019-12-11 17:37:53 +00:00
2019-12-11 17:37:53 +00:00
2018-07-30 15:46:40 +00:00
2020-05-15 12:04:39 +00:00
2019-12-11 17:37:53 +00:00
2020-06-27 02:17:04 +00:00
2020-01-27 18:04:28 +00:00
2018-12-05 10:58:02 +00:00
2020-06-17 10:42:20 +00:00
2019-12-11 17:37:53 +00:00
2020-03-24 01:08:06 +00:00
2019-12-21 21:01:03 +00:00
2019-09-05 14:15:47 +00:00
2020-04-24 16:05:35 +00:00
2020-03-25 01:32:16 +00:00
2020-05-12 17:05:55 +00:00
2020-05-24 14:54:21 +00:00
2019-12-13 04:55:17 +00:00
2019-09-26 16:19:22 +00:00
2019-12-11 17:37:53 +00:00
2019-12-11 17:37:53 +00:00
2019-09-05 14:15:47 +00:00
2020-06-05 18:44:14 +00:00
2019-12-11 17:37:53 +00:00
2019-12-11 17:37:53 +00:00
2020-06-12 21:55:30 +00:00
2018-09-20 09:31:27 +00:00
2019-12-11 17:37:53 +00:00
2020-03-14 15:15:27 +00:00
2020-01-04 20:19:25 +00:00
2019-12-02 20:58:04 +00:00
2019-12-11 17:37:53 +00:00
2020-04-01 19:22:09 +00:00
2019-12-13 05:11:34 +00:00
2020-06-10 22:13:24 +00:00
2020-02-27 04:44:58 +00:00
2019-12-11 17:37:53 +00:00
2020-06-23 21:37:12 +00:00
2020-05-21 01:55:35 +00:00
2019-12-11 17:37:53 +00:00
2020-05-21 21:00:46 +00:00
2020-06-09 17:17:43 +00:00
2020-06-05 07:57:16 +00:00
2020-06-25 21:34:43 +00:00
2020-04-01 05:45:12 +00:00
2019-12-11 17:37:53 +00:00
2020-05-15 15:54:22 +00:00
2019-12-11 17:37:53 +00:00
2020-05-31 17:20:17 +00:00
2018-06-17 18:05:27 +00:00
2019-12-11 17:37:53 +00:00
2020-05-12 01:47:33 +00:00
2020-05-23 21:23:46 +00:00
2020-06-24 13:11:19 +00:00
2020-02-20 09:12:07 +00:00
2019-12-11 17:37:53 +00:00
2020-05-28 22:05:50 +00:00