SIMD on Windows
Benjamin Thaut
code at benjamin-thaut.de
Sat Jun 22 08:36:18 PDT 2013
Am 22.06.2013 15:53, schrieb jerro:
>> In its current state you don't want to be using SIMD with dmd because
>> the generated assembly will be significantly slower then if you just
>> use the default FPU math.
>
> That may be true for some kinds of code, but it isn't true int general.
> For example, see the comparison of pfft's performance when built with 64
> bit DMD using SIMD and without SIMD:
>
> http://i.imgur.com/kYYI9R9.png
>
> This benchmark was run on a core i5 2500K on 64 bit Debian Wheezy.
Well, but judging from the assembly it generates, it could be even
faster. What exactly is pfft? Does it use dmd's __simd intrinsics?
Or does it only do primitive operations (* / - +) on simd types?
Kind Regards
Benjamin Thaut
More information about the Digitalmars-d
mailing list