about summary refs log tree commit diff
path: root/sysdeps/tile/memcmp.c
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright dates with scripts/update-copyrights.Joseph Myers2015-01-021-1/+1
|
* tile: fix copyright header blocks in just-committed filesChris Metcalf2014-10-061-1/+0
| | | | I accidentally committed versions not following the conventions.
* tile: optimize memcmpChris Metcalf2014-10-061-0/+367
Customize memcmp.c for tile, using similar tricks from memcpy: - replace MERGE macro with dblalign. - replace memcmp_bytes function with revbytes. - use __glibc_likely. - use post-increment addressing. The schedule is still not perfect: the compiler is not hoisting code above the comparison branch, which could save a bundle or two. memcmp speeds up by 30-40% on shorter aligned tests in benchtest, with some tests with unaligned lengths taking a small performance hit.