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 /ChangeLog | |
parent | 3172b27b2b3b0033e85ddf3566c7533a8f3b4bda (diff) | |
download | glibc-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 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index caf784ed17..3bc23fef90 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2017-02-15 Wilco Dijkstra <wdijkstr@arm.com> + * string/bits/string2.h (strcmp): Remove define. + (__strcmp_cg): Likewise. + (strncmp): Likewise. + +2017-02-15 Wilco Dijkstra <wdijkstr@arm.com> + * include/string.h: Add __cplusplus check. 2017-02-15 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com> |