[libcxx-commits] [libcxx] [libc++] Vectorize mismatch (PR #73255)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Thu Mar 14 12:39:43 PDT 2024


ldionne wrote:

> > I think we should use the same underlying machinery for both.
> 
> How'd you go about that? You need some compiler extensions to do predicates

At the very least, `std::mismatch(std::execution::unseq, ...)` should be able to use the same optimizations as the serial version, so there's something to be shared. Not everything may be shareable, but some of it must be.

https://github.com/llvm/llvm-project/pull/73255


More information about the libcxx-commits mailing list