This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug math/6406] Improve performance of libm wrapper functions.


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]