LDC 0.11.0 Beta 3

bearophile bearophileHUGS at lycos.com
Sun Jun 30 10:25:49 PDT 2013


Kai:

> Thanks for the nice test case. I can reproduce it with LDC head 
> and LLVM trunk. I created issue #420 for it.

You are welcome. Have you also seen the two cases above?

import core.simd: double2;
void main() {
     double2 x = [1.0, 2.0];
     double2 r1 = x + [1.0, 2.0];
     double2 r2 = [1.0, 2.0] + x;
}


import core.simd: double2;
void main() {
     double x = 1.0, y = 2.0;
     double2 a = [x, y];
     double2 sum = [0.0, 0.0];
     sum += [x, y] / a;
}


Bye,
bearophile


More information about the digitalmars-d-ldc mailing list