This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/14412] Removal of sysdeps/x86_64/fpu/s_sincos.S causes pdf rendering time regression
- From: "markus at trippelsdorf dot de" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Thu, 09 Aug 2012 10:14:25 +0000
- Subject: [Bug math/14412] Removal of sysdeps/x86_64/fpu/s_sincos.S causes pdf rendering time regression
- Auto-submitted: auto-generated
- References: <bug-14412-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=14412
--- Comment #6 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2012-08-09 10:14:25 UTC ---
Using Intel's SSE2 sinf and cosf
http://sourceware.org/ml/libc-alpha/2012-06/msg00692.html solves the issue.
It only takes ~26 seconds to open the testcase:
# Overhead Command Shared Object Symbol
11.16% okular libpoppler.so.26.0.0 [.]
SplashXPathScanner::computeIntersections()
11.04% okular libpoppler.so.26.0.0 [.] void
std::__introsort_loop<SplashIntersect*, long,
cmpIntersectFunctor>(SplashIntersect*, Sp
lashIntersect*, long, cmpIntersectFunctor) [clone .isra.15]
8.27% okular libpoppler.so.26.0.0 [.]
Gfx::doRadialShFill(GfxRadialShading*)
5.43% okular libc-2.16.90.so [.] _int_malloc
5.31% okular libm-2.16.90.so [.] __cosf
5.16% okular libpoppler.so.26.0.0 [.]
SplashXPathScanner::addIntersection(double, double, unsigned int, int, int,
int)
5.01% okular libm-2.16.90.so [.] __sinf
2.98% okular libc-2.16.90.so [.] _int_free
2.83% okular libpoppler.so.26.0.0 [.] Lexer::getObj(Object*,
int)
I had to manually hook up the new functions with:
#undef sin
#define sin sinf
#undef cos
#define cos cosf
--
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.