]> sourceware.org Git - glibc.git/commit
powerpc: Optimized stpcpy for POWER9
authorAnton Blanchard via Libc-alpha <libc-alpha@sourceware.org>
Wed, 13 May 2020 23:08:35 +0000 (09:08 +1000)
committerPaul E. Murphy <murphyp@linux.vnet.ibm.com>
Mon, 18 May 2020 13:26:22 +0000 (08:26 -0500)
commitaa70d0563256b8ea053203177f756bca33b5cf37
tree152631b5f088b02e3a42f3e1f7defe63cefe33dd
parent39037048502d52ab6422c18f2d178d6228d2c7b9
powerpc: Optimized stpcpy for POWER9

Add stpcpy support to the POWER9 strcpy. This is up to 40% faster on
small strings and up to 90% faster on long relatively unaligned strings,
compared to the POWER8 version. A few examples:

                                        __stpcpy_power9  __stpcpy_power8
Length   20, alignments in bytes  4/ 4:  2.58246          4.8788
Length 1024, alignments in bytes  1/ 6: 24.8186          47.8528
sysdeps/powerpc/powerpc64/le/power9/stpcpy.S [new file with mode: 0644]
sysdeps/powerpc/powerpc64/le/power9/strcpy.S
sysdeps/powerpc/powerpc64/multiarch/Makefile
sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
sysdeps/powerpc/powerpc64/multiarch/stpcpy-power9.S [new file with mode: 0644]
sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
This page took 0.041419 seconds and 5 git commands to generate.