CT Information about target CPU and Related cross-compile

Johan Engelen via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Sun Dec 27 13:18:11 PST 2015


> On Saturday, 26 December 2015 at 20:47:39 UTC, Ilya Yaroshenko 
> wrote:
>> Hi all,
>>
>> 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.

An LLVM presentation I found on the topic:
http://llvm.org/devmtg/2014-10/Slides/Christopher-Function%20Multiversioning%20Talk.pdf

(perhaps mostly a reminder to self ;)


More information about the digitalmars-d-ldc mailing list