Bug 16958 – replace -mavx switch with -mcpu=id

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2016-12-08T05:18:00Z
Last change time
2017-01-16T23:25:39Z
Keywords
SIMD
Assigned to
nobody
Creator
bugzilla
See also
https://issues.dlang.org/show_bug.cgi?id=16914, https://issues.dlang.org/show_bug.cgi?id=16945

Comments

Comment #0 by bugzilla — 2016-12-08T05:18:26Z
More expandable. Support -mcpu=?|avx|native, where native means the architecture of the machine the compiler is running on. Suggested by John Colvin.
Comment #1 by bugzilla — 2016-12-08T05:20:35Z
Comment #2 by github-bugzilla — 2016-12-12T18:10:29Z
Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/a967ec85c8ff5f8a9aa3a7bafc174d3c13c6d4fd fix Issue 16958 - replace -mavx switch with -mcpu=id https://github.com/dlang/dmd/commit/6da3eeabf1ee1f2ad7477e3e6e836584edefc048 Merge pull request #6306 from WalterBright/mcpu fix Issue 16958 - replace -mavx switch with -mcpu=id
Comment #3 by github-bugzilla — 2016-12-27T14:41:34Z
Commits pushed to scope at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/a967ec85c8ff5f8a9aa3a7bafc174d3c13c6d4fd fix Issue 16958 - replace -mavx switch with -mcpu=id https://github.com/dlang/dmd/commit/6da3eeabf1ee1f2ad7477e3e6e836584edefc048 Merge pull request #6306 from WalterBright/mcpu
Comment #4 by github-bugzilla — 2017-01-16T23:25:39Z
Commits pushed to newCTFE at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/a967ec85c8ff5f8a9aa3a7bafc174d3c13c6d4fd fix Issue 16958 - replace -mavx switch with -mcpu=id https://github.com/dlang/dmd/commit/6da3eeabf1ee1f2ad7477e3e6e836584edefc048 Merge pull request #6306 from WalterBright/mcpu