about summary refs log tree commit diff
path: root/include/bits
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2017-02-15 15:23:52 +0000
committerWilco Dijkstra <wdijkstr@arm.com>2017-02-15 15:23:52 +0000
commitf7db120f67d853e0cfa272fa39c8b9be67c0a935 (patch)
tree90dee57467c79f59aeb095bbc16a9589dfe05656 /include/bits
parent3172b27b2b3b0033e85ddf3566c7533a8f3b4bda (diff)
downloadglibc-f7db120f67d853e0cfa272fa39c8b9be67c0a935.tar.gz
glibc-f7db120f67d853e0cfa272fa39c8b9be67c0a935.tar.xz
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 'include/bits')
0 files changed, 0 insertions, 0 deletions