Simon Jakobi pushed to branch wip/sjakobi/T25450-print-cpu at Glasgow Haskell Compiler / GHC
Commits:
-
07e80ec3
by Simon Jakobi at 2026-05-29T10:30:43+02:00
1 changed file:
Changes:
| ... | ... | @@ -8,12 +8,7 @@ description: { |
| 8 | 8 | prints a JSON object describing the CPU features currently enabled for code
|
| 9 | 9 | generation, together with a minimal set of ``-m...`` flags that would
|
| 10 | 10 | reproduce the non-default effective feature set for the current target.
|
| 11 | - Dynamic options such as ``-mavx2`` and ``-mbmi2`` are respected. ::
|
|
| 11 | + Dynamic options such as ``-mavx2`` and ``-mbmi2`` are respected.
|
|
| 12 | 12 | |
| 13 | - $ ghc -mavx2 --print-enabled-cpu-features
|
|
| 14 | - {"tag":"enabled-cpu-features","version":1,"target":"x86_64-linux-gnu",
|
|
| 15 | - "features":["SSE2","SSE3","SSSE3","SSE4.1","SSE4.2","AVX","AVX2"],
|
|
| 16 | - "as_m_flags":["-mavx2"]}
|
|
| 17 | - |
|
| 18 | - This is a first step toward implementing ``-march=native`` (:ghc-ticket:`25450`).
|
|
| 13 | + This is a first step toward implementing ``-march=native``.
|
|
| 19 | 14 | } |