Disappointing math performance compared to GDC

Trass3r via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Wed Oct 8 10:25:41 PDT 2014


> I'm not an ASM expert

'-output-ll' gives you llvm IR, a bit higher level.

> but as far as I can see it indeed use some SIMD registers and 
> instructions. For examlple:
> 	movss	xmm0, dword ptr [rdx]
> 	mulss	xmm0, dword ptr [r12]
> 	addss	xmm1, xmm0

If you see a 'ps' suffix (packed single-precision) it's SIMD ;)

Your helper functions are probably in a different module.
Cross-module inlining is problematic currently.


More information about the digitalmars-d-ldc mailing list