summaryrefslogtreecommitdiff
path: root/testsuite/tests/cmm/should_run/all.T
blob: 5222a55c8043a04ee53ba9f3dbade38ca7364e09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
test('HooplPostorder',
     extra_run_opts('"' + config.libdir + '"'),
     compile_and_run,
     ['-package ghc'])

test('cmp64',
     [    extra_run_opts('"' + config.libdir + '"')
     ,    omit_ways(['ghci'])
     ,    req_cmm
     ],
     multi_compile_and_run,
     ['cmp64', [('cmp64_cmm.cmm', '')], '-O'])


# test('T17516',
#       [ collect_compiler_stats('bytes allocated', 5),
#       ],
#       multimod_compile,
#       ['T17516', '-O -v0'])

test('ByteSwitch',
     [    extra_run_opts('"' + config.libdir + '"')
     ,    omit_ways(['ghci'])
     ,    req_cmm
     ],
     multi_compile_and_run,
     ['ByteSwitch', [('ByteSwitch_cmm.cmm', '')], ''])

test('T22871',
     [    extra_run_opts('"' + config.libdir + '"')
     ,    omit_ways(['ghci'])
     ,    req_cmm
     ,    when(arch('i386'), skip) # x86 NCG panics with "iselExpr64(i386)"
     ],
     multi_compile_and_run,
     ['T22871', [('T22871_cmm.cmm', '')], ''])

test('AtomicFetch',
     [    extra_run_opts('"' + config.libdir + '"')
     ,    omit_ways(['ghci'])
     ,    req_cmm
     ,    when(arch('i386'), skip) # https://gitlab.haskell.org/ghc/ghc/-/issues/23217
     ],
     multi_compile_and_run,
     ['AtomicFetch', [('AtomicFetch_cmm.cmm', '')], ''])