about summary refs log tree commit diff
path: root/stdio-common/tst-printfsz.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2014-03-20 11:24:52 -0500
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2014-03-20 11:24:52 -0500
commit6eaf95cbfa0031ea267682dc2c9c17ed3e3dc167 (patch)
tree93cf4f0efb9ce1654e9f298b6342953a7935965a /stdio-common/tst-printfsz.c
parentae3a5dff0f4135cc57ddddf3c19ed5be80285b54 (diff)
downloadglibc-6eaf95cbfa0031ea267682dc2c9c17ed3e3dc167.tar.gz
glibc-6eaf95cbfa0031ea267682dc2c9c17ed3e3dc167.tar.xz
glibc-6eaf95cbfa0031ea267682dc2c9c17ed3e3dc167.zip
PowerPC: optimized strcspn for PPC64/POWER7
This patch add a optimized strcspn for POWER7 by using a different
algorithm than default implementation: it constructs a table based on
the 'accept' argument and use this table to check for any occurance
on the input string. The idea is similar as x86_64 uses.
For PowerPC some tunings were added, such as unroll loops and align
stack memory to table to 16 bytes (so VSX clean can ran without
alignment issues).
Diffstat (limited to 'stdio-common/tst-printfsz.c')
0 files changed, 0 insertions, 0 deletions