| ... |
... |
@@ -16,6 +16,12 @@ setTestOpts( |
|
16
|
16
|
, omit_ghci
|
|
17
|
17
|
])
|
|
18
|
18
|
|
|
|
19
|
+# These tests currently leave half of their output buffers uninitialised. The
|
|
|
20
|
+# nonmoving ways expose this and produce very large diffs.
|
|
|
21
|
+omit_nonmoving_doublex2 = omit_ways(
|
|
|
22
|
+ ['nonmoving', 'nonmoving_thr', 'nonmoving_thr_ghc',
|
|
|
23
|
+ 'nonmoving_thr_sanity'])
|
|
|
24
|
+
|
|
19
|
25
|
# The code generator may emit different instructions depending on
|
|
20
|
26
|
# the architecture options (e.g. SSE2 vs SSE4.1 vs AVX).
|
|
21
|
27
|
# Ideally, all ISA levels should be tested, but doing so would
|
| ... |
... |
@@ -33,7 +39,7 @@ test('word16x8_basic_baseline', [], compile_and_run, ['']) |
|
33
|
39
|
test('word32x4_basic_baseline', [], compile_and_run, [''])
|
|
34
|
40
|
test('word64x2_basic_baseline', [], compile_and_run, [''])
|
|
35
|
41
|
test('floatx4_arith_baseline', [], compile_and_run, [''])
|
|
36
|
|
-test('doublex2_arith_baseline', [], compile_and_run, [''])
|
|
|
42
|
+test('doublex2_arith_baseline', [omit_nonmoving_doublex2], compile_and_run, [''])
|
|
37
|
43
|
test('floatx4_shuffle_baseline', [], compile_and_run, [''])
|
|
38
|
44
|
test('doublex2_shuffle_baseline', [], compile_and_run, [''])
|
|
39
|
45
|
test('int8x16_arith_baseline', [], compile_and_run, [''])
|
| ... |
... |
@@ -126,15 +132,17 @@ test('word16x8_basic', [], compile_and_run, ['']) |
|
126
|
132
|
test('word32x4_basic', [], compile_and_run, [''])
|
|
127
|
133
|
test('word64x2_basic', [], compile_and_run, [''])
|
|
128
|
134
|
test('floatx4_arith', [], compile_and_run, [''])
|
|
129
|
|
-test('doublex2_arith', [], compile_and_run, [''])
|
|
|
135
|
+test('doublex2_arith', [omit_nonmoving_doublex2], compile_and_run, [''])
|
|
130
|
136
|
test('floatx4_shuffle', [], compile_and_run, [''])
|
|
131
|
137
|
test('doublex2_shuffle', [], compile_and_run, [''])
|
|
132
|
138
|
test('floatx4_fma', [ unless(have_cpu_feature('fma') or arch('aarch64'), skip)
|
|
133
|
139
|
, extra_hc_opts('-mfma')
|
|
134
|
140
|
], compile_and_run, [''])
|
|
135
|
|
-test('doublex2_fma', [ unless(have_cpu_feature('fma') or arch('aarch64'), skip)
|
|
136
|
|
- , extra_hc_opts('-mfma')
|
|
137
|
|
- ], compile_and_run, [''])
|
|
|
141
|
+test('doublex2_fma',
|
|
|
142
|
+ [ unless(have_cpu_feature('fma') or arch('aarch64'), skip)
|
|
|
143
|
+ , extra_hc_opts('-mfma')
|
|
|
144
|
+ , omit_nonmoving_doublex2
|
|
|
145
|
+ ], compile_and_run, [''])
|
|
138
|
146
|
test('int8x16_arith', [], compile_and_run, [''])
|
|
139
|
147
|
test('int16x8_arith', [], compile_and_run, [''])
|
|
140
|
148
|
test('int32x4_arith', [], compile_and_run, [''])
|