[Issue 16550] Generic SIMD shuffle for Mir
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat Nov 26 14:02:03 PST 2016
https://issues.dlang.org/show_bug.cgi?id=16550
--- Comment #9 from Iain Buclaw <ibuclaw at gdcproject.org> ---
(In reply to Manu from comment #8)
> I've wanted to put a SIMD helper library in std for ages. Ie, not intended
> to present raw arch-specific intrinsics like core.simd, but useful functions
> typically implemented as small compound operations.
> LLVM kinda does this already; it presents SIMD in a fairly abstract
> high-level way, and codegen's aggressively. We could get a lot of that value
> from a phobos lib I think.
Yeah, two high level abstractions you could expose that should be well
understood by compilers are vector permutation/shuffle, and vector conditions.
--
More information about the Digitalmars-d-bugs
mailing list