debug = x overrides command line

via Digitalmars-d digitalmars-d at puremagic.com
Wed Oct 22 12:44:09 PDT 2014


On Wednesday, 22 October 2014 at 19:24:54 UTC, Walter Bright 
wrote:
> On 10/22/2014 4:30 AM, "Ola Fosheim Grøstad" 
> <ola.fosheim.grostad+dlang at gmail.com>" wrote:
>> On a related note, how do you provide multiple execution paths 
>> based on cpuid
>> without making the code dirty?
>
> https://github.com/D-Programming-Language/druntime/blob/master/src/rt/arrayfloat.d

Hmm… that looks a bit complicated. I was thinking about compiling 
the same function with different backend settings, so you get 
myfunc_AVX() and myfunc_SSE() from the same function body.


More information about the Digitalmars-d mailing list