Simon Jakobi pushed to branch wip/sjakobi/T25450-print-cpu at Glasgow Haskell Compiler / GHC

Commits:

1 changed file:

Changes:

  • changelog.d/print-enabled-cpu-features
    ... ... @@ -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
     }