H.J. Lu
4b71ce6c1a
Update lrint/lrintf/lrintl for x32
...
The x86_64 versions of lrint/lrintf/ lrintl are aliases for the long
long versions which isn't correct for x32, where exceptions must respect
overflow for 32-bit long. Separate versions of the long functions for
x32 that convert to 32-bit long and raise the right exceptions for that
conversion, while keeping the aliases in the non-x32 case.
Tested on x86_64 and x32. There are no code changes in libm.so on
x86_64.
* sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
__ILP32__ isn't defined.
(lrint): Likewise.
* sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
(lrintf): Likewise.
* sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
(lrintl): Likewise.
* sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
* sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
* sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
2015-10-09 11:42:10 -07:00
..
2014-07-17 14:31:12 +00:00
2015-10-09 11:42:10 -07:00
2015-10-08 15:59:32 +00:00
2015-08-25 04:34:13 -07:00
2015-10-09 11:42:10 -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-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-09 16:03:48 +00:00
2015-10-09 16:03:48 +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-10-08 15:59:32 +00: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
2012-05-30 14:13:18 -07:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2011-08-11 14:07:04 -04:00
2015-08-13 03:41:22 -07:00
2014-05-30 10:50:21 -07:00
2010-07-30 00:14:04 -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-10-09 16:03:48 +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
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
2012-01-07 23:57:22 -05:00
2010-07-30 00:14:04 -07:00
2010-07-30 00:14:04 -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 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
2012-01-07 23:57:22 -05:00
2010-08-14 22:04:01 -07:00
2010-08-14 22:04:01 -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
2012-07-17 11:30:58 +00: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
2012-05-10 17:05:06 -07:00
2012-05-10 17:05:06 -07:00
2012-05-10 17:05:06 -07:00
2015-01-02 16:29:47 +00:00
2012-05-10 17:05:06 -07:00
2015-01-02 16:29:47 +00:00
2012-05-10 17:05:06 -07: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
2011-04-01 19:38:21 -04: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