This website requires JavaScript.
Explore
Help
Register
Sign In
system
/
glibc
Watch
3
Star
0
Fork
0
You've already forked glibc
Code
Issues
Projects
Releases
Wiki
Activity
glibc
/
sysdeps
/
powerpc
/
powerpc64
/
power6
/
wcschr.c
2 lines
43 B
C
Raw
Normal View
History
Unescape
Escape
Add versions of wcscpy, wcschr, wcsrchr for power6/power7. Initially based on the versions found in wcsmbs/* ; these files have been changed by hand unrolling, and adding some additional variables to allow some read-ahead to occur, which then relieves some of the wait-for-increment/wait-for-load/wait-for-compare-results pressure that was slowing down every iteration through the while-loop. For 64-bit Power7, These changes give an approx 20% throughput boost for the wcschr and wcsrchr functions; and approx 40% boost for the wcscpy function. 32-bit improvements appear to be slightly better with ~ %30 and ~ %45 respectively. Results for Power6 closely match those for power7.
2012-08-22 11:04:42 -05:00
#
include
"../../powerpc32/power6/wcschr.c"
Reference in New Issue
Copy Permalink