Joseph Myers
b75bc69cdf
Don't use dbl-64/wordsize-64 lround based on llround for ILP32 (bug 19079).
...
The implementation of lround in dbl-64/wordsize-64 as an alias or
wrapper for llround is always incorrect when long is not 64-bit,
because it misses required exceptions in overflow cases, as shown by
my recently added tests. This patch removes that alias / wrapper in
the non-LP64 case, together with the REGISTER_CAST_INT32_TO_INT64
macro, restoring the previous version of lround for dbl-64/wordsize-64
(newly conditioned on !_LP64).
Tested for x86_64, and for mips64 with use of dbl-64/wordsize-64
enabled.
[BZ #19079 ]
* sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
file, conditioned on [!_LP64].
* sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
[!_LP64] (__lround): Do not define as function or alias.
[!_LP64] (lround): Likewise.
[!_LP64] (__lroundl): Likewise.
[!_LP64] (lroundl): Likewise.
* sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
macro.
* sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
Likewise.
2015-10-07 00:40:12 +00:00
..
2014-07-17 14:31:12 +00:00
2015-10-03 11:31:21 -07:00
2015-10-06 20:47:40 +00:00
2015-08-25 04:34:13 -07:00
2015-10-07 00:40:12 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-09-11 20:00:19 +00:00
2015-09-08 21:11:03 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-08-20 04:29:23 -07:00
2015-10-06 20:47:40 +00:00
2015-10-06 20:47:40 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-03-31 05:16:57 -07:00
2015-08-25 04:34:13 -07:00
2015-08-13 03:41:22 -07:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-08-25 04:34:13 -07:00
2015-08-25 04:34:13 -07:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-08-25 04:34:13 -07:00
2015-08-25 04:34:13 -07:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-08-13 03:41:22 -07:00
2014-05-30 10:50:21 -07:00
2015-07-29 11:58:06 -07:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-08-26 07:55:42 -07:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2013-02-17 21:57:26 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-08-25 08:48:34 -07:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2013-10-30 17:32:08 +10:00
2013-10-30 17:32:08 +10:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2014-06-20 19:50:16 -07:00
2013-09-23 00:52:09 -04:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-08-25 12:38:11 -07:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-08-25 08:51:23 -07:00
2013-03-18 07:39:12 +01:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2013-02-17 21:57:26 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-06-09 14:25:49 +03:00
2015-01-02 16:29:47 +00:00
2014-11-05 15:24:08 +05:30
2014-11-05 15:24:08 +05:30
2014-11-05 15:24:08 +05:30
2015-07-15 15:10:23 +05:30
2013-04-25 19:23:11 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2013-04-25 19:23:11 +00:00
2013-04-25 19:23:11 +00:00
2013-04-25 19:23:11 +00:00
2015-07-07 06:09:29 -07:00
2013-04-25 19:23:11 +00:00
2015-07-07 06:09:29 -07:00
2013-04-25 19:23:11 +00:00
2015-07-07 06:09:29 -07:00
2015-07-07 06:09:29 -07:00
2013-04-25 19:23:11 +00:00
2015-07-07 06:09:29 -07:00
2015-01-02 16:29:47 +00:00
2015-07-07 06:09:29 -07:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-08-19 05:37:01 -07:00
2015-08-19 05:37:01 -07:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-06-09 21:07:30 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00