Using SIMD in DMD?

107 views Asked by At

I'm trying to use SIMD intrinsics with 32-bit DMD on Windows. I'm importing core.simd and trying to use float4 but I get an error:

Error: undefined identifier 'float4'

According to the documentation I should use some compiler flags:

Depending on the architecture, compiler flags may be required to activate support for SIMD types.

but the documentation does not state what those flags are and running dmd --help I didn't see anything that enables it. How do I enable SIMD on 32-bit DMD?

0

There are 0 answers