CT Information about target CPU and Related cross-compile

Johan Engelen via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Mon Jan 4 08:04:31 PST 2016


On Saturday, 26 December 2015 at 20:47:39 UTC, Ilya Yaroshenko 
wrote:
>
> 2. Related cross-compile. For example: target is x86_64; AVX 
> support can be checked at runtime using core.cpuid; so I want 
> to force LDC to compile three versions of BLAS for SSE, AVX and 
> AVX512, and choose better in runtime.

I think we could also implement this as a library solution, 
instead of compiler-internally. Would that make more sense?


More information about the digitalmars-d-ldc mailing list