logoalt Hacker News

jandrewrogerstoday at 4:43 AM1 replyview on HN

The full scope of what SIMD is used for is much larger than parallelizing evaluation of numeric types and algorithms.

For example, it is used for parallel evaluation of complex constraints on unrelated types simultaneously while packed into a single vector. Think a WHERE clause on an arbitrary SQL schema evaluated in full parallel in a handful of clock cycles. SIMD turns out to be brilliant for this but it looks nothing like auto-vectorization.

None of the SIMD libraries like Google Highway cover this case.


Replies

camel-cdrtoday at 5:35 AM

I don't quite get how something like highway doesn't cover this, while intrinsics do.

Can you explain the usecase more concretely?

show 1 reply