Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC

Commits:

3 changed files:

Changes:

  • testsuite/driver/cpu_features.py
    ... ... @@ -8,7 +8,7 @@ SUPPORTED_CPU_FEATURES = {
    8 8
         # These aren't comprehensive; they are only CPU features that we care about
    
    9 9
     
    
    10 10
         # x86:
    
    11
    -    'sse', 'sse2', 'sse3', 'ssse3', 'sse4_1', 'sse4_2',
    
    11
    +    'sse', 'sse2', 'sse3', 'pni', 'ssse3', 'sse4_1', 'sse4_2',
    
    12 12
         'avx', 'avx2', 'avx512f',
    
    13 13
         'fma',
    
    14 14
         'popcnt', 'bmi1', 'bmi2'
    

  • testsuite/tests/perf/should_run/T3586.hs
    1 1
     {-# LANGUAGE BangPatterns #-}
    
    2
    -{-# OPTIONS -fvia-C -optc-O3 -fexcess-precision -optc-msse3 #-}
    
    2
    +{-# OPTIONS -optc-O3 -fexcess-precision #-}
    
    3 3
     
    
    4 4
     import Control.Monad.ST
    
    5 5
     import Data.Array.ST
    

  • testsuite/tests/perf/should_run/all.T
    ... ... @@ -43,6 +43,7 @@ test('T3586',
    43 43
          [collect_runtime_residency(2),
    
    44 44
           collect_stats('bytes allocated', 5),
    
    45 45
           only_ways(['normal']),
    
    46
    +      when(have_cpu_feature('pni') or have_cpu_feature('sse3'), extra_hc_opts('-optc-msse3')),
    
    46 47
           ],
    
    47 48
          compile_and_run,
    
    48 49
          ['-O'])