From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31160 invoked by alias); 15 Apr 2008 02:28:00 -0000 Received: (qmail 31048 invoked by uid 48); 15 Apr 2008 02:27:17 -0000 Date: Tue, 15 Apr 2008 02:28:00 -0000 Message-ID: <20080415022717.31046.qmail@sourceware.org> From: "sjmunroe at us dot ibm dot com" To: glibc-bugs@sources.redhat.com In-Reply-To: <20080415015106.6406.sjmunroe@us.ibm.com> References: <20080415015106.6406.sjmunroe@us.ibm.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug math/6406] Improve performance of libm wrapper functions. X-Bugzilla-Reason: CC 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 X-SW-Source: 2008-04/txt/msg00094.txt.bz2 ------- Additional Comments From sjmunroe at us dot ibm dot com 2008-04-15 02:27 ------- Created an attachment (id=2692) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2692&action=view) Example implementation of the x86_64 platform This is an example for x86_64. So far it returns mixed results. the results are disappointing for w_exp and w_log but an impressive 43% improvement for w_pow. Not sure why the simpler w_exp and w_log case do not improve. As far as I can tell the total path is shorter with this test patch. This is only test and without this patch ./math/math_privated.h from the previous patch maintains the existing implementation. I am sure someone more skilled in x86_64 can devise a solution that retains the gains for w_pow and resolves the problems with w_exp and w_log. -- http://sourceware.org/bugzilla/show_bug.cgi?id=6406 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.