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

Denis Yaroshevskiy via libcxx-commits libcxx-commits at lists.llvm.org
Thu Mar 14 14:27:47 PDT 2024


DenisYaroshevskiy 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.

Is it legal for unseq to just call serial version? I don't know of anything unseq could have done better here

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


More information about the libcxx-commits mailing list