On Wednesday, 11 March 2020 at 22:18:04 UTC, kdevel wrote:
Disassembly on the AMD 64 it reveals that ldc also emits the movds instructions:

0x08051ba2 <+434>: call 0x804f680 <_D2rt5minfo11ModuleGroup6__ctorMFNbNcNiAyPS6object10ModuleInfoZSQCkQCkQCh>
   0x08051ba7 <+439>:     sub    $0x8,%esp
   0x08051baa <+442>:     movsd  0x30(%esp),%xmm0
   0x08051bb0 <+448>:     movsd  0x38(%esp),%xmm1

That's in druntime, not your cross-compiled code; you'll need to cross-compile druntime and Phobos first, see https://wiki.dlang.org/Building_LDC_runtime_libraries.

Reply via email to