[Issue 16550] Generic SIMD shuffle for Mir

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Nov 16 02:24:23 PST 2016


https://issues.dlang.org/show_bug.cgi?id=16550

--- Comment #6 from Илья Ярошенко <ilyayaroshenko at gmail.com> ---
(In reply to Walter Bright from comment #4)
> I also cannot find any documentation on extractRe() and extractIm(). I
> googled for "ldc extractre extractim" and there were no results.

LLVM has a very generic instruction
http://llvm.org/docs/LangRef.html#shufflevector-instruction /
https://github.com/ldc-developers/druntime/blob/1fa60c4f5516e63a5050255c5757f48c31273ec3/src/ldc/simd.di#L121,
which is used in GLAS to perform required permutations.

--


More information about the Digitalmars-d-bugs mailing list