www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17751] New: Internal error: ddmd/backend/el.c 2927

https://issues.dlang.org/show_bug.cgi?id=17751

          Issue ID: 17751
           Summary: Internal error: ddmd/backend/el.c 2927
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: ibuclaw gdcproject.org

Test case:
---
import core.simd;

pure  safe V1 simd(XMM opcode, V1, V2)(V1 op1, V2 op2, ubyte imm8)
    if (is(V1 == __vector) && is(V2 == __vector))
{
    return cast(V1)__simd(opcode, op1, op2, imm8);
}

void main()
{
    float4 a, b;
    a = simd!(XMM.CMPPD)(a, b, 0x7A);
}

--
Aug 13