ldc
ldc copied to clipboard
The LLVM-based D Compiler.
This adds support for riscv64gc with the default LP64D ABI. This work with https://github.com/ldc-developers/druntime/pull/204 and https://github.com/ldc-developers/phobos/pull/71. Enable attribute `+d` by default to support riscv64gc D standard extension. ABI is implemented...
I don't have a good repro for this, but I've seen it happen a few times now: a binary that should have a `lea` to `.dynarraystorage` instead gets a `lea`...
This error only happens on Windows. Tested with LDC 1.29.0
This error only happens on Windows. Tested with LDC 1.29.0
Target: Windows 64bit Compiler: 1.30-beta1 Scenario: Shared library built with -betterC (may have static library dependencies), no ModuleInfo. Full D executable, depends on shared library. Result: > spew-dem2-base-test-library.obj : error...
https://github.com/libmir/mir-algorithm/runs/6755750372?check_suite_focus=true
cc @JohanEngelen https://github.com/ldc-developers/ldc/pull/2556/#issuecomment-1147265717 Whats the best way to do this for all targets that LDC supports?
DCompute targets NVPTX, so we should generate the GCC builtins.
This compiles: ```D import core.simd; auto foo() { int[3] arr; return cast(int4) arr; } auto bar(int[] arr) { return cast(int4) arr; } ``` In both cases, we simply memcpy the...
[on top of #3980]