www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17106] New: [ICE] SIMD Internal error with optimizations:

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

          Issue ID: 17106
           Summary: [ICE] SIMD Internal error with optimizations: Internal
                    error: backend\cgcod.c 1666
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: simen.kjaras gmail.com

Test case:

module foo;
import core.simd;

struct bug {
    float4 value;

    this(float4 ) {
    }

    auto normalize() {
        bug t1 = __simd(XMM.DPPS, value, value);
        value = __simd(XMM.MULPS, value);
        return this;
    }
}


command line: dmd -m64 -O foo.d

--
Jan 18