powerpc: Add multiarch sqrtf128 for ppc64le
commit2c93fce76a8e672abfdf7771c97be9ea49b7222b
authorRajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
Wed, 30 May 2018 16:01:27 +0000 (30 21:31 +0530)
committerRajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
Wed, 30 May 2018 16:01:27 +0000 (30 21:31 +0530)
treecd26dc9267362ea09096d4ab2e15e1626adf78ec
parent0ce2fa6973810b2b99c85f446f79c505cfbf5652
powerpc: Add multiarch sqrtf128 for ppc64le

This patch creates ifunc for sqrtf128() to make use of new xssqrtqp
instruction for POWER9 when --enable-multi-arch and --with-cpu=power8
options are used on power9 system.  This is achieved by explicitly
adding -mcpu=power9 flag for sqrtf128-power9.
ChangeLog
sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile [new file with mode: 0644]
sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c [new file with mode: 0644]
sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c [new file with mode: 0644]
sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c [new file with mode: 0644]