www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17356] New: [Reg 2.075] __simd_sto no longer executed

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

          Issue ID: 17356
           Summary: [Reg 2.075] __simd_sto no longer executed
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Keywords: wrong-code
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: code dawg.eu

cat > bug.d << CODE
import core.simd;

void main()
{
    float4 a = 13, b = 0;
    __simd_sto(XMM.STOUPS, b, a);
    assert(b.array == [13, 13, 13, 13]);
}
CODE

dmd -run bug
----

The SIMD intrinsic is never run at all.
Digger says this was introduced by https://github.com/dlang/dmd/pull/6705.

--
Apr 27