SIMD under LDC

Igor via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Sep 5 10:19:41 PDT 2017


On Tuesday, 5 September 2017 at 01:11:29 UTC, 12345swordy wrote:
> On Monday, 4 September 2017 at 23:06:27 UTC, Nicholas Wilson 
> wrote:
>> Don't underestimate ldc's optimiser ;)
> I seen cases where the compiler fail to optimized for smid.

I tried it and LDC optimized build did generate SIMD instructions 
from regular code but it used multiple ones to do job so it is 
about 1.4 times slower than manual SIMD version with DMD. That is 
probably good enough for me.


More information about the Digitalmars-d-learn mailing list