Optimizing for SIMD: best practices?(i.e. what features are allowed?)

z z at z.com
Sun Mar 7 14:15:58 UTC 2021


On Thursday, 25 February 2021 at 14:28:40 UTC, Guillaume Piolat 
wrote:
> On Thursday, 25 February 2021 at 11:28:14 UTC, z wrote:
>> How does one optimize code to make full use of the CPU's SIMD 
>> capabilities?
>> Is there any way to guarantee that "packed" versions of SIMD 
>> instructions will be used?(e.g. vmulps, vsqrtps, etc...)
>
> https://code.dlang.org/packages/intel-intrinsics

I'd try to use it but the platform i'm building on requires AVX 
to get the most performance.




More information about the Digitalmars-d-learn mailing list