summaryrefslogtreecommitdiff
path: root/nptl/tst-robust4.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2011-12-29 19:43:33 -0500
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2011-12-29 19:43:33 -0500
commitb20eec6a2b7056d4a1737a92574cab6d15225796 (patch)
treefb4b8e1422fa11219e79370fc5718534fb5b313b /nptl/tst-robust4.c
parenta960be3fad233bd721f64dfe62d3f0ee798d26e3 (diff)
downloadglibc-b20eec6a2b7056d4a1737a92574cab6d15225796.tar.gz
PowerPC - Optimization for str[n]casecmp functions
This patch provides throughput boost for the strcasecmp function (25% on ppc32 and 40% on ppc64) and strncasecmp (15% on both ppc32 and ppc64) for POWER7. The optimization is done by manually (strcasecmp) or automatically (strncasecmp) unrolling the test loop to avoid CPU stalls caused by a test followed by a load.
Diffstat (limited to 'nptl/tst-robust4.c')
0 files changed, 0 insertions, 0 deletions