From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8609 invoked by alias); 1 Jun 2012 16:56:40 -0000 Received: (qmail 8593 invoked by uid 22791); 1 Jun 2012 16:56:37 -0000 X-SWARE-Spam-Status: No, hits=-5.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-gg0-f169.google.com (HELO mail-gg0-f169.google.com) (209.85.161.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 01 Jun 2012 16:56:21 +0000 Received: by ggm4 with SMTP id 4so2286920ggm.0 for ; Fri, 01 Jun 2012 09:56:20 -0700 (PDT) Received: by 10.50.237.9 with SMTP id uy9mr2392541igc.40.1338569780265; Fri, 01 Jun 2012 09:56:20 -0700 (PDT) Received: from pebble.twiddle.home ([173.160.232.49]) by mx.google.com with ESMTPS id dc7sm4633828igc.13.2012.06.01.09.56.19 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 01 Jun 2012 09:56:19 -0700 (PDT) Message-ID: <4FC8F430.7040109@twiddle.net> Date: Fri, 01 Jun 2012 16:56:00 -0000 From: Richard Henderson User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: "Joseph S. Myers" CC: David Miller , libc-alpha@sourceware.org, libc-ports@sourceware.org Subject: Re-re-update alpha ulps References: <20120531.190058.1154485538611512625.davem@davemloft.net> In-Reply-To: Content-Type: multipart/mixed; boundary="------------070806090903040905030607" X-IsSubscribed: yes Mailing-List: contact libc-ports-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-ports-owner@sourceware.org X-SW-Source: 2012-06/txt/msg00005.txt.bz2 This is a multi-part message in MIME format. --------------070806090903040905030607 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-length: 731 On 05/31/2012 04:05 PM, Joseph S. Myers wrote: > On Thu, 31 May 2012, David Miller wrote: > >> Committed to master. >> >> * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) test entry. > > I believe the > > Function: "sqrt": > ildouble: 1 > ldouble: 1 > > at the end should be removed as well. (Richard, that also applies to the > fma entry at the end of alpha's libm-test-ulps.) > I believe the last time I "regenerated" the file, I didn't do it correctly. This time I started with an empty libm-test-ulps file and things seem to have worked out better. In particular, the sqrt and fma entries are gone. There are some slightly increased ulps, but I diffed my new file against the sparc file and things look good. r~ --------------070806090903040905030607 Content-Type: text/plain; charset=UTF-8; name="z-sparc-diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="z-sparc-diff" Content-length: 2542 --- ../src/sysdeps/sparc/fpu/libm-test-ulps 2012-05-24 12:55:23.964976118 -0700 +++ sysdeps/alpha/fpu/libm-test-ulps 2012-06-01 09:47:24.630248415 -0700 @@ -1375,8 +1375,6 @@ Test "Real part of: ctan (-2 - 3 i) == 0.376402564150424829275122113032269084e-2 - 1.00323862735360980144635859782192726 i": float: 1 ifloat: 1 -ildouble: 1 -ldouble: 1 Test "Imaginary part of: ctan (-2 - 3 i) == 0.376402564150424829275122113032269084e-2 - 1.00323862735360980144635859782192726 i": double: 1 idouble: 1 @@ -1431,18 +1429,14 @@ # ctanh Test "Real part of: ctanh (-2 - 3 i) == -0.965385879022133124278480269394560686 + 0.988437503832249372031403430350121098e-2 i": double: 1 -float: 2 +float: 1 idouble: 1 -ifloat: 2 -ildouble: 1 -ldouble: 1 +ifloat: 1 Test "Imaginary part of: ctanh (-2 - 3 i) == -0.965385879022133124278480269394560686 + 0.988437503832249372031403430350121098e-2 i": double: 1 float: 1 idouble: 1 ifloat: 1 -ildouble: 1 -ldouble: 1 Test "Imaginary part of: ctanh (0 + 0x3.243f6cp-1 i) == 0.0 - 2.287733242885645987394874673945769518150e7 i": float: 1 ifloat: 1 @@ -1460,13 +1454,9 @@ float: 1 idouble: 1 ifloat: 1 -ildouble: 1 -ldouble: 1 Test "Imaginary part of: ctanh (0.75 + 1.25 i) == 1.37260757053378320258048606571226857 + 0.385795952609750664177596760720790220 i": float: 2 ifloat: 2 -ildouble: 1 -ldouble: 1 Test "Real part of: ctanh (1 + 0x1p1023 i) == 0.8786063118883068695462540226219865087189 - 0.2254627924997545057926782581695274244229 i": ildouble: 2 ldouble: 2 @@ -1529,10 +1519,8 @@ # exp10 Test "exp10 (-1) == 0.1": -double: 2 -float: 1 -idouble: 2 -ifloat: 1 +double: 1 +idouble: 1 Test "exp10 (-305) == 1.0e-305": double: 1 idouble: 1 @@ -1541,18 +1529,9 @@ idouble: 1 ildouble: 1 ldouble: 1 -Test "exp10 (0.75) == 5.62341325190349080394951039776481231": +Test "exp10 (3) == 1000": double: 1 -float: 1 idouble: 1 -ifloat: 1 -Test "exp10 (3) == 1000": -double: 6 -float: 2 -idouble: 6 -ifloat: 2 -ildouble: 1 -ldouble: 1 Test "exp10 (36) == 1.0e36": double: 1 idouble: 1 @@ -2102,11 +2081,6 @@ ildouble: 1 ldouble: 1 -# sqrt -Test "sqrt (2) == M_SQRT2l": -ildouble: 1 -ldouble: 1 - # tan_downward Test "tan_downward (1) == 1.5574077246549022305069748074583601730873": float: 1 @@ -2760,10 +2734,8 @@ ldouble: 1 Function: "exp10": -double: 6 -float: 2 -idouble: 6 -ifloat: 2 +double: 1 +idouble: 1 ildouble: 1 ldouble: 1 @@ -2921,10 +2893,6 @@ ildouble: 1 ldouble: 1 -Function: "sqrt": -ildouble: 1 -ldouble: 1 - Function: "tan": double: 1 idouble: 1 --------------070806090903040905030607 Content-Type: text/plain; charset=UTF-8; name="z-alpha-update" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="z-alpha-update" Content-length: 6525 diff --git a/ChangeLog.alpha b/ChangeLog.alpha index 48f3b97..16d73c6 100644 --- a/ChangeLog.alpha +++ b/ChangeLog.alpha @@ -1,3 +1,7 @@ +2012-06-01 Richard Henderson + + * sysdeps/alpha/fpu/libm-test-ulps: Regenerate. + 2012-05-30 Richard Henderson * sysdeps/alpha/Makefile (CFLAGS-s_fma.c): Set -mieee-with-inexact. diff --git a/sysdeps/alpha/fpu/libm-test-ulps b/sysdeps/alpha/fpu/libm-test-ulps index 908154c..bc3d828 100644 --- a/sysdeps/alpha/fpu/libm-test-ulps +++ b/sysdeps/alpha/fpu/libm-test-ulps @@ -964,8 +964,6 @@ ifloat: 1 Test "cos (M_PI_6l * 2.0) == 0.5": double: 1 idouble: 1 -ildouble: 1 -ldouble: 1 Test "cos (M_PI_6l * 4.0) == -0.5": double: 2 float: 1 @@ -1138,9 +1136,6 @@ ifloat: 4 ildouble: 4 ldouble: 4 Test "Real part of: cpow (0.75 + 1.25 i, 1.0 + 0.0 i) == 0.75 + 1.25 i": -ildouble: 2 -ldouble: 2 -Test "Imaginary part of: cpow (0.75 + 1.25 i, 1.0 + 0.0 i) == 0.75 + 1.25 i": ildouble: 1 ldouble: 1 Test "Real part of: cpow (0.75 + 1.25 i, 1.0 + 1.0 i) == 0.0846958290317209430433805274189191353 + 0.513285749182902449043287190519090481 i": @@ -1148,8 +1143,8 @@ double: 2 float: 3 idouble: 2 ifloat: 3 -ildouble: 10 -ldouble: 10 +ildouble: 11 +ldouble: 11 Test "Real part of: cpow (2 + 0 i, 10 + 0 i) == 1024.0 + 0.0 i": ildouble: 2 ldouble: 2 @@ -1158,8 +1153,8 @@ double: 1 float: 4 idouble: 1 ifloat: 4 -ildouble: 3 -ldouble: 3 +ildouble: 2 +ldouble: 2 Test "Imaginary part of: cpow (2 + 3 i, 4 + 0 i) == -119.0 - 120.0 i": float: 2 ifloat: 2 @@ -1380,8 +1375,6 @@ ldouble: 1 Test "Real part of: ctan (-2 - 3 i) == 0.376402564150424829275122113032269084e-2 - 1.00323862735360980144635859782192726 i": float: 1 ifloat: 1 -ildouble: 1 -ldouble: 1 Test "Imaginary part of: ctan (-2 - 3 i) == 0.376402564150424829275122113032269084e-2 - 1.00323862735360980144635859782192726 i": double: 1 idouble: 1 @@ -1436,18 +1429,14 @@ ldouble: 1 # ctanh Test "Real part of: ctanh (-2 - 3 i) == -0.965385879022133124278480269394560686 + 0.988437503832249372031403430350121098e-2 i": double: 1 -float: 2 +float: 1 idouble: 1 -ifloat: 2 -ildouble: 1 -ldouble: 1 +ifloat: 1 Test "Imaginary part of: ctanh (-2 - 3 i) == -0.965385879022133124278480269394560686 + 0.988437503832249372031403430350121098e-2 i": double: 1 float: 1 idouble: 1 ifloat: 1 -ildouble: 1 -ldouble: 1 Test "Imaginary part of: ctanh (0 + 0x3.243f6cp-1 i) == 0.0 - 2.287733242885645987394874673945769518150e7 i": float: 1 ifloat: 1 @@ -1530,10 +1519,8 @@ idouble: 1 # exp10 Test "exp10 (-1) == 0.1": -double: 2 -float: 1 -idouble: 2 -ifloat: 1 +double: 1 +idouble: 1 Test "exp10 (-305) == 1.0e-305": double: 1 idouble: 1 @@ -1542,18 +1529,9 @@ double: 1 idouble: 1 ildouble: 1 ldouble: 1 -Test "exp10 (0.75) == 5.62341325190349080394951039776481231": +Test "exp10 (3) == 1000": double: 1 -float: 1 idouble: 1 -ifloat: 1 -Test "exp10 (3) == 1000": -double: 6 -float: 2 -idouble: 6 -ifloat: 2 -ildouble: 1 -ldouble: 1 Test "exp10 (36) == 1.0e36": double: 1 idouble: 1 @@ -1562,9 +1540,6 @@ ildouble: 1 ldouble: 1 # exp2 -Test "exp2 (10) == 1024": -ildouble: 2 -ldouble: 2 Test "exp2 (100.5) == 1.792728671193156477399422023278661496394e+30": ildouble: 1 ldouble: 1 @@ -1802,9 +1777,9 @@ ildouble: 2 ldouble: 2 Test "jn (10, 2.0) == 0.251538628271673670963516093751820639e-6": double: 1 -float: 4 +float: 2 idouble: 1 -ifloat: 4 +ifloat: 2 Test "jn (2, 0x1.ffff62p+99) == -4.43860668048170034334926693188979974489e-16": double: 2 float: 2 @@ -1835,10 +1810,8 @@ ifloat: 1 ildouble: 2 ldouble: 2 Test "jn (3, 2.0) == 0.128943249474402051098793332969239835": -double: 1 -float: 2 -idouble: 1 -ifloat: 2 +float: 1 +ifloat: 1 Test "jn (3, 2.4048255576957729) == 0.19899990535769083404042146764530813": double: 3 idouble: 3 @@ -2056,15 +2029,11 @@ ifloat: 1 Test "sincos (M_PI_6l*2.0, &sin_res, &cos_res) puts 0.5 in cos_res": double: 1 idouble: 1 -ildouble: 1 -ldouble: 1 Test "sincos (M_PI_6l*2.0, &sin_res, &cos_res) puts 0.86602540378443864676372317075293616 in sin_res": double: 1 float: 1 idouble: 1 ifloat: 1 -ildouble: 1 -ldouble: 1 Test "sincos (pi/6, &sin_res, &cos_res) puts 0.86602540378443864676372317075293616 in cos_res": float: 1 ifloat: 1 @@ -2112,11 +2081,6 @@ Test "sinh_upward (24) == 13244561064.92173614705070540368454568168": ildouble: 1 ldouble: 1 -# sqrt -Test "sqrt (2) == M_SQRT2l": -ildouble: 1 -ldouble: 1 - # tan_downward Test "tan_downward (1) == 1.5574077246549022305069748074583601730873": float: 1 @@ -2474,8 +2438,8 @@ double: 2 float: 1 idouble: 2 ifloat: 1 -ildouble: 1 -ldouble: 1 +ildouble: 3 +ldouble: 3 Function: Real part of "cacosh": double: 1 @@ -2504,8 +2468,8 @@ double: 2 float: 1 idouble: 2 ifloat: 1 -ildouble: 1 -ldouble: 1 +ildouble: 3 +ldouble: 3 Function: Real part of "casinh": double: 5 @@ -2589,9 +2553,9 @@ ldouble: 1 Function: Imaginary part of "cexp": double: 1 -float: 1 +float: 2 idouble: 1 -ifloat: 1 +ifloat: 2 ildouble: 1 ldouble: 1 @@ -2674,8 +2638,8 @@ double: 2 float: 4 idouble: 2 ifloat: 4 -ildouble: 10 -ldouble: 10 +ildouble: 11 +ldouble: 11 Function: Imaginary part of "cpow": double: 2 @@ -2732,8 +2696,8 @@ double: 1 float: 1 idouble: 1 ifloat: 1 -ildouble: 1 -ldouble: 1 +ildouble: 2 +ldouble: 2 Function: Imaginary part of "ctan": double: 1 @@ -2743,19 +2707,19 @@ ldouble: 2 Function: Real part of "ctanh": double: 1 -float: 2 +float: 1 idouble: 1 -ifloat: 2 -ildouble: 1 -ldouble: 1 +ifloat: 1 +ildouble: 2 +ldouble: 2 Function: Imaginary part of "ctanh": double: 1 -float: 1 +float: 2 idouble: 1 -ifloat: 1 -ildouble: 1 -ldouble: 1 +ifloat: 2 +ildouble: 2 +ldouble: 2 Function: "erf": double: 1 @@ -2770,16 +2734,14 @@ ildouble: 1 ldouble: 1 Function: "exp10": -double: 6 -float: 2 -idouble: 6 -ifloat: 2 +double: 1 +idouble: 1 ildouble: 1 ldouble: 1 Function: "exp2": -ildouble: 2 -ldouble: 2 +ildouble: 1 +ldouble: 1 Function: "exp_downward": float: 1 @@ -2807,10 +2769,6 @@ ifloat: 1 ildouble: 1 ldouble: 1 -Function: "fma": -double: 1 -idouble: 1 - Function: "gamma": ildouble: 1 ldouble: 1 @@ -2837,11 +2795,11 @@ ldouble: 4 Function: "jn": double: 4 -float: 4 +float: 5 idouble: 4 -ifloat: 4 -ildouble: 4 -ldouble: 4 +ifloat: 5 +ildouble: 8 +ldouble: 8 Function: "lgamma": double: 1 @@ -2935,10 +2893,6 @@ Function: "sinh_upward": ildouble: 1 ldouble: 1 -Function: "sqrt": -ildouble: 1 -ldouble: 1 - Function: "tan": double: 1 idouble: 1 --------------070806090903040905030607--