[Bug tree-optimization/116126] vectorize libcpp search_line_fast

uis9936 at gmail dot com via Gcc-bugs <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116126

uis <uis9936 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |uis9936 at gmail dot com

--- Comment #12 from uis <uis9936 at gmail dot com> ---
Some vector instruction sets have non-immediate permutation instructions, so
there are better alternatives to multiple comparisons to scalars or vectors
full of scalars.
https://lemire.me/blog/2024/07/20/scan-html-even-faster-with-simd-instructions-c-and-c/
It looks like SIMD hash table. Usually shift right is good enough.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.