www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 12430] New: non compile-time __simd opcode causes ICE

https://d.puremagic.com/issues/show_bug.cgi?id=12430

           Summary: non compile-time __simd opcode causes ICE
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: john.loughran.colvin gmail.com


--- Comment #0 from John Colvin <john.loughran.colvin gmail.com> 2014-03-21
12:47:31 GMT ---
import core.simd;

void main()
{
    float4 a;
    auto op = XMM.RSQRTPS;
    auto b = __simd(op, a);
}

Internal error: backend/el.c 2744

If, as is correct, enum is used for the opcode, there is no error.

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