From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23547 invoked by alias); 16 Apr 2015 11:37:20 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 23479 invoked by uid 48); 16 Apr 2015 11:37:13 -0000 From: "vincent-srcware at vinc17 dot net" To: glibc-bugs@sourceware.org Subject: [Bug math/5781] Slow dbl-64 sin/cos/sincos for special values Date: Thu, 16 Apr 2015 11:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: vincent-srcware at vinc17 dot net X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: siddhesh at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-04/txt/msg00084.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D5781 Vincent Lef=C3=A8vre changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vincent-srcware at vinc17 = dot net --=20 You are receiving this mail because: You are on the CC list for the bug. >>From glibc-bugs-return-28027-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Apr 16 11:45:44 2015 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 42805 invoked by alias); 16 Apr 2015 11:45:43 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 42726 invoked by uid 48); 16 Apr 2015 11:45:40 -0000 From: "vincent-srcware at vinc17 dot net" To: glibc-bugs@sourceware.org Subject: [Bug math/16526] Missing underflow exception from sincos Date: Thu, 16 Apr 2015 11:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vincent-srcware at vinc17 dot net X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-04/txt/msg00085.txt.bz2 Content-length: 421 https://sourceware.org/bugzilla/show_bug.cgi?id=3D16526 Vincent Lef=C3=A8vre changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vincent-srcware at vinc17 = dot net --=20 You are receiving this mail because: You are on the CC list for the bug. >>From glibc-bugs-return-28028-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Apr 16 13:15:06 2015 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 88650 invoked by alias); 16 Apr 2015 13:15:06 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 88537 invoked by uid 48); 16 Apr 2015 13:15:01 -0000 From: "vincent-srcware at vinc17 dot net" To: glibc-bugs@sourceware.org Subject: [Bug math/5781] Slow dbl-64 sin/cos/sincos for special values Date: Thu, 16 Apr 2015 13:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: vincent-srcware at vinc17 dot net X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: siddhesh at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-04/txt/msg00086.txt.bz2 Content-length: 1941 https://sourceware.org/bugzilla/show_bug.cgi?id=3D5781 --- Comment #17 from Vincent Lef=C3=A8vre --- (In reply to Petr Cervenka from comment #16) > Simple workaround to use fast computation is to use functions from spec. > header similar to following: [long double versions: sinl, etc.] This is not quite correct. These long double versions currently have a lower worst-case time (this might change in the future), but in average they are slower than the current double versions, with a factor around 5 - 6 from so= me tests on my machine. So, use this workaround only if you want a better worst-case time, e.g. for real-time system (this is your case[1], isn't it?= ). [1] http://www.xenomai.org/pipermail/xenomai/2008-February/012416.html The current library is slow, and libraries such as CRlibm could greatly imp= rove things, but hard-to-round cases would always be slower than the average cas= es. So, the best implementation depends on the user's application. I suppose th= at most users would be happy with a *good* correctly rounded implementation si= nce the loss due to correct rounding should hardly be noticeable *in average* compared to an implementation with just a very good accuracy (something clo= se to 0.5 ulp). Then there are users who accept to sacrifice correct rounding = and accuracy for faster functions. IMHO, the question is whether the GNU libc should implement such variants and provide a way for the user to select them (but this could mean other two variants or more[2]) or the user should build his own library based on his own requirements, e.g. with tools like MetaLib= m[3] or other future tools. [2] This should cover the accuracy for small arguments, but users may also = have different requirements concerning the range reduction (large arguments). [3] http://www.metalibm.org/ --=20 You are receiving this mail because: You are on the CC list for the bug. >>From glibc-bugs-return-28029-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Apr 16 13:52:46 2015 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 41551 invoked by alias); 16 Apr 2015 13:52:46 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 41516 invoked by uid 48); 16 Apr 2015 13:52:43 -0000 From: "vincent-srcware at vinc17 dot net" To: glibc-bugs@sourceware.org Subject: [Bug math/13932] dbl-64 pow unexpectedly slow for some inputs Date: Thu, 16 Apr 2015 13:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: vincent-srcware at vinc17 dot net X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: siddhesh at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-04/txt/msg00087.txt.bz2 Content-length: 421 https://sourceware.org/bugzilla/show_bug.cgi?id=3D13932 Vincent Lef=C3=A8vre changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vincent-srcware at vinc17 = dot net --=20 You are receiving this mail because: You are on the CC list for the bug. >>From glibc-bugs-return-28030-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Apr 16 14:00:28 2015 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 55211 invoked by alias); 16 Apr 2015 14:00:28 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 55108 invoked by uid 48); 16 Apr 2015 14:00:21 -0000 From: "vincent-srcware at vinc17 dot net" To: glibc-bugs@sourceware.org Subject: [Bug math/13932] dbl-64 pow unexpectedly slow for some inputs Date: Thu, 16 Apr 2015 14:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: vincent-srcware at vinc17 dot net X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: siddhesh at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-04/txt/msg00088.txt.bz2 Content-length: 995 https://sourceware.org/bugzilla/show_bug.cgi?id=3D13932 --- Comment #10 from Vincent Lef=C3=A8vre --- (In reply to Paul Pluzhnikov from comment #2) > # x86_64: > ./elf/ld.so --library-path .:math:dlfcn /tmp/test_pow64 > pow(0.562500, 1.5): 0.000990 calls/usec > pow(0.563250, 1.5): 12.753271 calls/usec > ratio: 12887 Note that mathematically x^1.5 =3D sqrt(x)^3. Now, 0.562500 is a perfect square: ? sqrt(0.562500) %1 =3D 0.75000000000000000000000000000000000000 This is probably related to the slowness. Unless the implementation tries to provide the correct inexact flag (which I doubt), I don't see a theoretical reason for which it would be slow in rounding to nearest. It would be very different in a directed rounding mode since this is an exact case. Still, t= his could be a corner case for an algorithm that doesn't expect exact results or something like that. --=20 You are receiving this mail because: You are on the CC list for the bug. >>From glibc-bugs-return-28032-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Apr 16 19:33:55 2015 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 12223 invoked by alias); 16 Apr 2015 19:33:55 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 12172 invoked by uid 48); 16 Apr 2015 19:33:52 -0000 From: "daniel at iogearbox dot net" To: glibc-bugs@sourceware.org Subject: [Bug libc/18271] Expose new bpf(2) system call Date: Thu, 16 Apr 2015 19:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: daniel at iogearbox dot net X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-04/txt/msg00090.txt.bz2 Content-length: 399 https://sourceware.org/bugzilla/show_bug.cgi?id=18271 Daniel Borkmann changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |daniel at iogearbox dot net -- You are receiving this mail because: You are on the CC list for the bug.