diff options
author | Joseph Myers <joseph@codesourcery.com> | 2017-06-23 20:23:26 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2017-06-23 20:23:26 +0000 |
commit | 06a5b8f7994c241dccfaebd5c08c3e06a2dedb8f (patch) | |
tree | 31819b0b710bdcc79fa17df9cb980312114387f6 | |
parent | Make libm-test-support code clear exceptions after each test. (diff) | |
download | glibc-06a5b8f7994c241dccfaebd5c08c3e06a2dedb8f.tar.gz glibc-06a5b8f7994c241dccfaebd5c08c3e06a2dedb8f.tar.bz2 glibc-06a5b8f7994c241dccfaebd5c08c3e06a2dedb8f.zip |
Update x86 ulps for GCC 7.
Testing with GCC 7 for 32-bit x86 showed some ulps differences,
presumably from variation in when values with excess precision get
spilled to the stack and so lose that precision. This patch updates
the libm-test-ulps files accordingly.
* sysdeps/i386/fpu/libm-test-ulps: Update.
* sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | sysdeps/i386/fpu/libm-test-ulps | 16 | ||||
-rw-r--r-- | sysdeps/i386/i686/fpu/multiarch/libm-test-ulps | 16 |
3 files changed, 19 insertions, 16 deletions
@@ -1,5 +1,8 @@ 2017-06-23 Joseph Myers <joseph@codesourcery.com> + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise. + * libm-test-support.c (check_float_internal): Clear exceptions at end of function. (check_int): Likewise. diff --git a/sysdeps/i386/fpu/libm-test-ulps b/sysdeps/i386/fpu/libm-test-ulps index 0fc50907ad..5ab15890c6 100644 --- a/sysdeps/i386/fpu/libm-test-ulps +++ b/sysdeps/i386/fpu/libm-test-ulps @@ -1629,9 +1629,9 @@ ildouble: 1 ldouble: 1 Function: "j0": -double: 1 +double: 2 float: 1 -idouble: 1 +idouble: 2 ifloat: 1 ildouble: 2 ldouble: 2 @@ -1653,9 +1653,9 @@ ildouble: 5 ldouble: 5 Function: "j0_upward": -double: 1 +double: 2 float: 3 -idouble: 1 +idouble: 2 ifloat: 3 ildouble: 4 ldouble: 4 @@ -1678,9 +1678,9 @@ ldouble: 4 Function: "j1_towardzero": double: 2 -float: 1 +float: 2 idouble: 2 -ifloat: 1 +ifloat: 2 ildouble: 4 ldouble: 4 @@ -2129,9 +2129,9 @@ ldouble: 5 Function: "y0_upward": double: 1 -float: 2 +float: 3 idouble: 1 -ifloat: 2 +ifloat: 3 ildouble: 3 ldouble: 3 diff --git a/sysdeps/i386/i686/fpu/multiarch/libm-test-ulps b/sysdeps/i386/i686/fpu/multiarch/libm-test-ulps index 04bc23b37b..611ae2d158 100644 --- a/sysdeps/i386/i686/fpu/multiarch/libm-test-ulps +++ b/sysdeps/i386/i686/fpu/multiarch/libm-test-ulps @@ -1631,9 +1631,9 @@ ildouble: 1 ldouble: 1 Function: "j0": -double: 1 +double: 2 float: 1 -idouble: 1 +idouble: 2 ifloat: 1 ildouble: 2 ldouble: 2 @@ -1655,9 +1655,9 @@ ildouble: 5 ldouble: 5 Function: "j0_upward": -double: 1 +double: 2 float: 3 -idouble: 1 +idouble: 2 ifloat: 3 ildouble: 4 ldouble: 4 @@ -1680,9 +1680,9 @@ ldouble: 4 Function: "j1_towardzero": double: 2 -float: 1 +float: 2 idouble: 2 -ifloat: 1 +ifloat: 2 ildouble: 4 ldouble: 4 @@ -2115,9 +2115,9 @@ ldouble: 5 Function: "y0_upward": double: 1 -float: 2 +float: 3 idouble: 1 -ifloat: 2 +ifloat: 3 ildouble: 3 ldouble: 3 |