powerpc: Add a POWER8-optimized version of cosf()
authorPaul Clarke <pc@us.ibm.com>
Wed, 17 May 2017 19:35:33 +0000 (16:35 -0300)
committerTulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
Wed, 17 May 2017 21:37:48 +0000 (18:37 -0300)
commitb2980e3c545294d71b3960ce74b6148e274d2488
tree498610360b62003398c9544dbdfa1ba1da95d884
parent7620dc123570e2c8080a4dcc51d220a9d92c8841
powerpc: Add a POWER8-optimized version of cosf()

This implementation is based on the one already used at
sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S.

* sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
[$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
s_cosf-ppc64.
* sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
* sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
* sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
* sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
ChangeLog
sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S [new file with mode: 0644]
sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c [new file with mode: 0644]
sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c [new file with mode: 0644]
sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S [new file with mode: 0644]