wasm-spec-tests.status 6.17 KB
Newer Older
1 2 3 4 5 6
# Copyright 2016 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

[
[ALWAYS, {
7
  'skip-stack-guard-page': [PASS, ['((arch == ppc or arch == ppc64 or arch == s390 or arch == s390x) and simulator_run)', SKIP]],
8
  # TODO(v8:10994): Failing spec test after update.
9
  'proposals/js-types/data': [FAIL],
10

11 12 13 14 15
  # Missing rebase in the proposal repository.
  'proposals/js-types/table': [FAIL],
  'proposals/memory64/linking': [FAIL],
  'proposals/memory64/table': [FAIL],
  'proposals/memory64/unreached-invalid': [FAIL],
16

17
  # TODO(wasm): Roll newest tests into "js-types" repository.
18
  'proposals/js-types/elem': [FAIL],
19
  'proposals/js-types/globals': [FAIL],
20
  'proposals/js-types/imports': [FAIL],
21
  'proposals/js-types/linking': [FAIL],
22

23 24 25 26 27 28
  # TODO(wasm): Roll newest tests into "tail-call" repository.
  'proposals/tail-call/exports': [FAIL],
  'proposals/tail-call/func': [FAIL],
  'proposals/tail-call/globals': [FAIL],
  'proposals/tail-call/linking': [FAIL],

29 30 31 32 33
  # TODO(v8:11401): Fix memory64 spec tests / the v8 implementation (whatever
  # is broken).
  'proposals/memory64/data': [FAIL],
  'proposals/memory64/elem': [FAIL],
  'proposals/memory64/imports': [FAIL],
34 35 36 37 38 39

  # Tests that need to run sequentially (e.g. due to memory consumption).
  'proposals/simd/simd_f32x4*': [PASS, HEAVY],
  'proposals/simd/simd_f64x2*': [PASS, HEAVY],
  'f32*': [PASS, HEAVY],
  'f64*': [PASS, HEAVY],
40 41
}],  # ALWAYS

42 43 44 45 46
['arch == arm and not simulator_run', {
  # See https://crbug.com/v8/10938 denormals not handled correctly on ARM.
  'proposals/simd/simd_f32x4': [PASS, FAIL],
  'proposals/simd/simd_f32x4_arith': [PASS, FAIL],
  'proposals/simd/simd_f32x4_cmp': [PASS, FAIL],
47 48 49
  # This test only has 1 problematic use of f32x4.min and f32x4.div, consider
  # removing it from upstream, then we can run this test.
  'proposals/simd/simd_splat' : [PASS, FAIL],
50
  'proposals/simd/simd_f32x4_pmin_pmax' : [PASS, FAIL],
51 52
}],  # arch == arm and not simulator_run

53 54
['arch == mipsel or arch == mips64el or arch == mips or arch == mips64', {
  # These tests fail because mips does not support the correct NaN bit patterns.
55 56 57 58 59 60 61 62
  'float_misc': [SKIP],
  'float_exprs': [SKIP],
  'f32': [SKIP],
  'f64': [SKIP],
  'f32_bitwise': [SKIP],
  'f64_bitwise': [SKIP],
  'proposals/reference-types/conversions':  [SKIP],
  'proposals/bulk-memory-operations/conversions': [SKIP],
63 64 65 66 67 68 69
  'proposals/js-types/f32': [SKIP],
  'proposals/js-types/f64': [SKIP],
  'proposals/js-types/f32_bitwise': [SKIP],
  'proposals/js-types/f64_bitwise': [SKIP],
  'proposals/js-types/float_exprs': [SKIP],
  'proposals/js-types/float_misc': [SKIP],
  'proposals/js-types/conversions': [SKIP],
70 71 72 73 74 75
  'proposals/bulk-memory-operations/f32': [SKIP],
  'proposals/bulk-memory-operations/f64': [SKIP],
  'proposals/reference-types/f32': [SKIP],
  'proposals/reference-types/f64': [SKIP],
  'proposals/bulk-memory-operations/float_misc': [SKIP],
  'proposals/reference-types/float_misc': [SKIP],
76 77 78 79 80
  'proposals/tail-call/f32': [SKIP],
  'proposals/tail-call/f32_bitwise': [SKIP],
  'proposals/tail-call/f64': [SKIP],
  'proposals/tail-call/f64_bitwise': [SKIP],
  'proposals/tail-call/float_exprs': [SKIP],
81
  'proposals/tail-call/float_misc': [SKIP],
82
  'proposals/tail-call/conversions': [SKIP],
83 84 85 86 87
}],  # 'arch == mipsel or arch == mips64el or arch == mips or arch == mips64'

['(arch == mipsel or arch == mips64el or arch == mips or arch == mips64) and not simulator_run', {
  # This test fail because mips does not support the correct NaN bit patterns.
  # But it doesn't fail in simulator.
88
  'conversions': [SKIP],
89 90
}],  # '(arch == mipsel or arch == mips64el or arch == mips or arch == mips64) and not simulator_run'

91
['(arch == mipsel or arch == mips64el or arch == loong64) and simulator_run', {
92 93 94 95 96
  # These tests need larger stack size on simulator.
  'skip-stack-guard-page': '--sim-stack-size=8192',
  'proposals/tail-call/skip-stack-guard-page': '--sim-stack-size=8192',
}],  # '(arch == mipsel or arch == mips64el) and simulator_run'

Brice Dobry's avatar
Brice Dobry committed
97 98 99 100 101 102 103 104 105
['arch == riscv64', {
   # These tests need larger stack size on simulator.
   'skip-stack-guard-page': '--sim-stack-size=8192',
   'proposals/tail-call/skip-stack-guard-page': '--sim-stack-size=8192',

   # SIMD is not fully implemented yet.
   'proposals/simd/*': [SKIP],
}],  # 'arch == riscv64

106 107
['arch == ppc or arch == ppc64', {
  # These tests fail because ppc float min and max doesn't convert sNaN to qNaN.
108 109
  'f32': [SKIP],
  'f64': [SKIP],
110 111
  'proposals/js-types/f32': [SKIP],
  'proposals/js-types/f64': [SKIP],
112 113 114 115
  'proposals/bulk-memory-operations/f32': [SKIP],
  'proposals/bulk-memory-operations/f64': [SKIP],
  'proposals/reference-types/f32': [SKIP],
  'proposals/reference-types/f64': [SKIP],
116 117
  'proposals/tail-call/f32': [SKIP],
  'proposals/tail-call/f64': [SKIP],
118
  # This test fails because ppc float to double doesn't convert sNaN to qNaN.
119
  'conversions': [SKIP],
120
  'proposals/js-types/conversions': [SKIP],
121 122
  'proposals/bulk-memory-operations/conversions': [SKIP],
  'proposals/reference-types/conversions':  [SKIP],
123
  'proposals/tail-call/conversions':  [SKIP],
124 125 126 127
}],  # 'arch == ppc or arch == ppc64'

['arch == s390 or arch == s390x', {
  # These tests fail because s390 float min and max doesn't convert sNaN to qNaN.
128 129
  'f32': [SKIP],
  'f64': [SKIP],
130 131
  'proposals/js-types/f32': [SKIP],
  'proposals/js-types/f64': [SKIP],
132 133 134 135
  'proposals/bulk-memory-operations/f32': [SKIP],
  'proposals/bulk-memory-operations/f64': [SKIP],
  'proposals/reference-types/f32': [SKIP],
  'proposals/reference-types/f64': [SKIP],
136 137
  'proposals/tail-call/f32': [SKIP],
  'proposals/tail-call/f64': [SKIP],
138 139
}],  # 'arch == s390 or arch == s390x'

140
##############################################################################
141 142
# TODO(v8:7777): Change this once wasm is supported in jitless mode.
['not has_webassembly or variant == jitless', {
143
  '*': [SKIP],
144
}],  # not has_webassembly or variant == jitless
145

146 147 148 149
################################################################################
['variant == stress_snapshot', {
  '*': [SKIP],  # only relevant for mjsunit tests.
}],
150

151
##############################################################################
152
['no_simd_hardware == True', {
153
  'proposals/simd/*': [SKIP],
154
}],  # no_simd_hardware == True
155

156
]