This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH v2 0/3] Generic sincosf
- From: Rajalakshmi Srinivasaraghavan <raji at linux dot vnet dot ibm dot com>
- To: libc-alpha at sourceware dot org
- Cc: Rajalakshmi Srinivasaraghavan <raji at linux dot vnet dot ibm dot com>
- Date: Mon, 9 Oct 2017 14:34:14 +0530
- Subject: [PATCH v2 0/3] Generic sincosf
- Authentication-results: sourceware.org; auth=none
Paul Clarke (1):
Optimized sincosf
Rajalakshmi Srinivasaraghavan (3):
Optimized sincosf
Add benchtests for sincosf
powerpc: Update ulps
Tested on ppc64le, x86_64 and s390.
Bench test result on powerpc64le:
With patch:
"sincosf": {
"": {
"duration": 5.11603e+09,
"iterations": 3.4812e+08,
"max": 339.623,
"min": 3.429,
"mean": 14.6962
}
}
Without patch:
"sincosf": {
"": {
"duration": 5.14199e+09,
"iterations": 1.39248e+08,
"max": 343.32,
"min": 9.391,
"mean": 36.9268
}
}
benchtests/Makefile | 2 +-
benchtests/sincosf-inputs | 1936 ++++++++++++++++++++
sysdeps/ieee754/flt-32/s_sincosf.c | 265 ++-
sysdeps/powerpc/fpu/libm-test-ulps | 40 +-
sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile | 2 +
.../powerpc64/fpu/multiarch/s_sincosf-power8.c | 26 +
.../powerpc64/fpu/multiarch/s_sincosf-ppc64.c | 26 +
.../powerpc/powerpc64/fpu/multiarch/s_sincosf.c | 31 +
8 files changed, 2267 insertions(+), 61 deletions(-)
create mode 100644 benchtests/sincosf-inputs
create mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_sincosf-power8.c
create mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_sincosf-ppc64.c
create mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_sincosf.c
--
2.11.0