Bug 17356 – [Reg 2.075] __simd_sto no longer executed
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2017-04-27T11:22:00Z
Last change time
2017-08-07T13:16:09Z
Keywords
wrong-code
Assigned to
nobody
Creator
code
Comments
Comment #0 by code — 2017-04-27T11:22:18Z
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.