Any usable SIMD implementation?

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Wed Apr 13 12:34:19 PDT 2016


On 4/13/2016 5:47 AM, Marco Leise wrote:
> Yes, they are all @property and a substitution with direct
> access to the globals will work around GDC's lack of
> cross-module inlining. Otherwise these feature checks which
> might be used in hot code, are more costly than they should be.
> I hate when things get in the way of efficiency. :)


It doesn't need to be efficient, because such checks should be done at a higher 
level in the program's logic, not on low level code. Even so, the program could 
cache the result of the call.


More information about the Digitalmars-d mailing list