diff options
author | Wilco Dijkstra <wdijkstr@arm.com> | 2017-02-15 15:23:52 +0000 |
---|---|---|
committer | Wilco Dijkstra <wdijkstr@arm.com> | 2017-02-15 15:23:52 +0000 |
commit | f7db120f67d853e0cfa272fa39c8b9be67c0a935 (patch) | |
tree | 90dee57467c79f59aeb095bbc16a9589dfe05656 /posix | |
parent | 3172b27b2b3b0033e85ddf3566c7533a8f3b4bda (diff) | |
download | glibc-f7db120f67d853e0cfa272fa39c8b9be67c0a935.tar glibc-f7db120f67d853e0cfa272fa39c8b9be67c0a935.tar.gz glibc-f7db120f67d853e0cfa272fa39c8b9be67c0a935.tar.bz2 glibc-f7db120f67d853e0cfa272fa39c8b9be67c0a935.zip |
Remove the str(n)cmp inlines from string/bits/string2.h. The strncmp
optimization seems unlikely to ever be useful, but if it occurs in
real code it should be added to GCC. Expanding strcmp of small strings
does appear useful (benchmarking shows it is 2-3x faster), so this would
be useful to implement in GCC (PR 78809).
* string/bits/string2.h (strcmp): Remove define.
(__strcmp_cg): Likewise.
(strncmp): Likewise.
Diffstat (limited to 'posix')
0 files changed, 0 insertions, 0 deletions