On 2014-10-10 9:01 AM, ketmar via Digitalmars-d-learn wrote:
   import core.simd;
   import gcc.builtins;
   void main () {
     float4 a, b;
     auto tmp = __builtin_ia32_mulps(a, b); // a*b
   }

i don't know what the hell this means, but at least it accepts types
from core.simd. ;-) so i assume that other such builtins will accept
other types too.

Nice! Nobody knows simd but they all know how to make it work. Go figure =)

Reply via email to