http://d.puremagic.com/issues/show_bug.cgi?id=9200



--- Comment #1 from jerro.pub...@gmail.com 2012-12-23 10:49:42 PST ---
I managed to reduce it a bit further:

import std.stdio;
import core.simd;

double2 * v(double2* a)
{
    return a;
}

void main()
{
    double2 a = [1, 2];

    *v(&a) = a;

    writeln(a.array);
}

And the disassembly:


movsd  QWORD PTR [rbp-0x20],xmm1
lea    rdi,[rbp-0x10]
call   4263f4 <_D3tmp1vFPNhG2dZPNhG2d>
movsd  xmm1,QWORD PTR [rbp-0x20]
movapd XMMWORD PTR [rax],xmm1

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to