]> git.ipfire.org Git - thirdparty/glibc.git/commit
Trigonometric optimizations for POWER cpus
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Thu, 18 Aug 2011 14:25:37 +0000 (09:25 -0500)
committerRyan S. Arnold <rsa@us.ibm.com>
Thu, 18 Aug 2011 14:25:37 +0000 (09:25 -0500)
commit0c6ff7937931f1171a6aba3970c4aea7978a1b86
treedc7266c5d33149a5464bce77921f5c42dc0b15d7
parentde9b5ed644a701c5ed44b347f4d72534f1cefa44
Trigonometric optimizations for POWER cpus

These POWER optimizations remove most of the FP->INT conversions in
hypot/hypotf and sinf/cosf on POWER making the computation done with
FP operations instead.  This eliminates Load-Hit-Store (LHS) stalls,
increasing performance of hypot/hypotf (by about 100% on POWER7 and
12% on POWER6) and sinf/cosf (by 80% on POWER7 and 30% on POWER6).
ChangeLog
sysdeps/powerpc/fpu/e_hypot.c [new file with mode: 0644]
sysdeps/powerpc/fpu/e_hypotf.c [new file with mode: 0644]
sysdeps/powerpc/fpu/e_rem_pio2f.c [new file with mode: 0644]
sysdeps/powerpc/fpu/k_cosf.c [new file with mode: 0644]
sysdeps/powerpc/fpu/k_rem_pio2f.c [new file with mode: 0644]
sysdeps/powerpc/fpu/k_sinf.c [new file with mode: 0644]
sysdeps/powerpc/fpu/s_cosf.c [new file with mode: 0644]
sysdeps/powerpc/fpu/s_float_bitwise.h [new file with mode: 0644]
sysdeps/powerpc/fpu/s_sinf.c [new file with mode: 0644]