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/14412] Removal of sysdeps/x86_64/fpu/s_sincos.S causes regressions


http://sourceware.org/bugzilla/show_bug.cgi?id=14412

--- Comment #12 from Rich Felker <bugdal at aerifal dot cx> 2013-04-26 00:14:13 UTC ---
Sorry, I see that you did acknowledge that already. I just skimmed through the
code but I'm not familiar enough with out glibc's math library is laid out to
figure out where feraiseexcept is getting called from... Once it's found,
fixing the problem should just be a matter of replacing the call with code that
would generate the exception naturally. However since the only exception that
should be needed is the inexact exception, it should already be getting raised
by the code to compute sin/cos.

A quick test to see if this is the source of the problem would be to make a
no-op implementation of feraiseexcept and link it in (might need to use static
linking to get libm to use it) then measure the performance.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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