[PATCH] D45571: [ELF] - Speedup MergeInputSection::splitStrings
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 18 13:18:40 PDT 2018
ruiu added a comment.
I believe a fast strlen() can be implemented using SSE instructions. And if you are using SSE instructions, your data is loaded to XMM registers. I believe there exists a fast vectorized hash function that works on data on a XMM register. I wonder if we can combine the two to create a single fast function that returns the length of a string as well as its hash value.
https://reviews.llvm.org/D45571
More information about the llvm-commits
mailing list