How use ldc pragmas?
johan_forsberg_86 at hotmail.com
Fri Oct 1 20:08:27 UTC 2021
On Friday, 1 October 2021 at 19:23:06 UTC, james.p.leblanc wrote:
> After experimenting with ldc's autovectorization of avx code,
> it appears there may
> be counter-intuitiveness to the autovectorization (especially
> for complex numbers).
> (My comment may be wrong, so any corrections are quite welcome).
pragma(LDC_intrinsic, "llvm.sqrt.f32") float sqrt(float);
float x = 42.42;
More information about the Digitalmars-d-learn