D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 17356 - [Reg 2.075] __simd_sto no longer executed
Summary: [Reg 2.075] __simd_sto no longer executed
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: x86_64 Linux
: P1 regression
Assignee: No Owner
URL:
Keywords: wrong-code
Depends on:
Blocks:
 
Reported: 2017-04-27 11:22 UTC by Martin Nowak
Modified: 2017-08-07 13:16 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Martin Nowak 2017-04-27 11:22:18 UTC
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.
Comment 1 Walter Bright 2017-05-09 20:49:17 UTC
https://github.com/dlang/dmd/pull/6763
Comment 2 github-bugzilla 2017-05-16 15:19:03 UTC
Commits pushed to master at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/894d9950f4ff996e1342242e7e51953ac718fc01
fix Issue 17356 - [Reg 2.075] __simd_sto no longer executed

https://github.com/dlang/dmd/commit/1d29b792fe7fd2694d25544179021976e2e81184
Merge pull request #6763 from WalterBright/fix17356

fix Issue 17356 - [Reg 2.075] __simd_sto no longer executed
merged-on-behalf-of: Martin Nowak <code@dawg.eu>
Comment 3 github-bugzilla 2017-06-17 11:34:25 UTC
Commits pushed to stable at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/894d9950f4ff996e1342242e7e51953ac718fc01
fix Issue 17356 - [Reg 2.075] __simd_sto no longer executed

https://github.com/dlang/dmd/commit/1d29b792fe7fd2694d25544179021976e2e81184
Merge pull request #6763 from WalterBright/fix17356
Comment 4 github-bugzilla 2017-08-07 13:16:09 UTC
Commits pushed to newCTFE at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/894d9950f4ff996e1342242e7e51953ac718fc01
fix Issue 17356 - [Reg 2.075] __simd_sto no longer executed

https://github.com/dlang/dmd/commit/1d29b792fe7fd2694d25544179021976e2e81184
Merge pull request #6763 from WalterBright/fix17356