Commit 7ea64145 authored by Mythri A's avatar Mythri A Committed by Commit Bot

[turboprop] Add a new test variant for turboprop-as-toptier

Bug: v8:9684
Change-Id: Ie8c684998b9811c85ab385037d13604ac838b962
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2637225Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
Commit-Queue: Mythri Alle <mythria@chromium.org>
Cr-Commit-Position: refs/heads/master@{#72249}
parent 9e3822d0
......@@ -259,7 +259,7 @@
{'name': 'mozilla'},
{'name': 'test262', 'variant': 'default'},
{'name': 'v8testing', 'shards': 7},
{'name': 'v8testing', 'variant': 'extra', 'shards': 6},
{'name': 'v8testing', 'variant': 'extra', 'shards': 7},
{'name': 'v8testing', 'variant': 'trusted', 'shards': 2},
],
},
......@@ -280,7 +280,7 @@
{'name': 'mozilla', 'shards': 2},
{'name': 'test262', 'variant': 'default', 'shards': 2},
{'name': 'v8testing', 'shards': 10},
{'name': 'v8testing', 'variant': 'extra', 'shards': 8},
{'name': 'v8testing', 'variant': 'extra', 'shards': 10},
{'name': 'v8testing', 'variant': 'trusted', 'shards': 2},
],
},
......@@ -506,7 +506,7 @@
{'name': 'mozilla', 'shards': 4},
{'name': 'test262', 'variant': 'default', 'shards': 4},
{'name': 'v8testing', 'shards': 14},
{'name': 'v8testing', 'variant': 'extra', 'shards': 10},
{'name': 'v8testing', 'variant': 'extra', 'shards': 12},
{'name': 'v8testing', 'variant': 'trusted', 'shards': 5},
],
},
......@@ -527,7 +527,7 @@
{'name': 'mozilla', 'shards': 4},
{'name': 'test262', 'variant': 'default', 'shards': 4},
{'name': 'v8testing', 'shards': 14},
{'name': 'v8testing', 'variant': 'extra', 'shards': 10},
{'name': 'v8testing', 'variant': 'extra', 'shards': 12},
{'name': 'v8testing', 'variant': 'trusted', 'shards': 5},
],
},
......@@ -1603,7 +1603,7 @@
{'name': 'mozilla', 'shards': 6},
{'name': 'test262', 'variant': 'default'},
{'name': 'v8testing', 'shards': 10},
{'name': 'v8testing', 'variant': 'extra', 'shards': 8},
{'name': 'v8testing', 'variant': 'extra', 'shards': 10},
{'name': 'v8testing', 'variant': 'trusted', 'shards': 4},
# Armv8-a.
{
......@@ -1689,7 +1689,7 @@
{'name': 'mozilla', 'shards': 2},
{'name': 'test262', 'variant': 'default', 'shards': 2},
{'name': 'v8testing', 'shards': 12},
{'name': 'v8testing', 'variant': 'extra', 'shards': 9},
{'name': 'v8testing', 'variant': 'extra', 'shards': 11},
{'name': 'v8testing', 'variant': 'trusted', 'shards': 2},
],
},
......
......@@ -625,7 +625,7 @@
}], # variant == jitless
##############################################################################
['variant == turboprop', {
['variant == turboprop or variant == turboprop_as_toptier', {
# Require inlining.
'test-cpu-profiler/DeoptAtFirstLevelInlinedSource': [SKIP],
'test-cpu-profiler/DeoptAtSecondLevelInlinedSource': [SKIP],
......@@ -636,7 +636,7 @@
'serializer-tester/BoundFunctionArguments': [SKIP],
'serializer-tester/BoundFunctionTarget': [SKIP],
'test-js-to-wasm/*': [SKIP],
}], # variant == turboprop
}], # variant == turboprop or variant == turboprop_as_toptier
##############################################################################
['no_i18n == True', {
......
......@@ -140,11 +140,11 @@
}], # lite_mode or variant == jitless
##############################################################################
['variant == turboprop or variant == nci or variant == nci_as_midtier', {
['variant == turboprop or variant == turboprop_as_toptier or variant == nci or variant == nci_as_midtier', {
# Deopts differently than TurboFan.
'debug/debug-optimize': [SKIP],
'debug/debug-compile-optimized': [SKIP],
}], # variant == turboprop or variant == nci or variant == nci_as_midtier
}], # variant == turboprop or variant == turboprop_as_toptier or variant == nci or variant == nci_as_midtier
##############################################################################
# Liftoff needs to be enabled before running these tests.
......
......@@ -1156,7 +1156,7 @@
}],
##############################################################################
['variant == turboprop', {
['variant == turboprop or variant == turboprop_as_toptier', {
# Deopts differently than TurboFan.
'compiler/native-context-specialization-hole-check': [SKIP],
'compiler/number-comparison-truncations': [SKIP],
......@@ -1212,7 +1212,7 @@
'compiler/abstract-equal-receiver': [FAIL],
'compiler/constant-fold-cow-array': [FAIL],
'compiler/promise-resolve-stable-maps': [FAIL],
}], # variant == turboprop
}], # variant == turboprop or variant = turboprop_as_toptier
##############################################################################
['variant == top_level_await', {
......
......@@ -43,6 +43,7 @@ ALL_VARIANT_FLAGS = {
"trusted": [["--no-untrusted-code-mitigations"]],
"no_wasm_traps": [["--no-wasm-trap-handler"]],
"turboprop": [["--turboprop"]],
"turboprop_as_toptier": [["--turboprop-as-toptier"]],
"instruction_scheduling": [["--turbo-instruction-scheduling"]],
"stress_instruction_scheduling": [["--turbo-stress-instruction-scheduling"]],
"top_level_await": [["--harmony-top-level-await"]],
......@@ -64,6 +65,7 @@ INCOMPATIBLE_FLAGS_PER_VARIANT = {
"stress": ["--no-stress-opt", "--always-opt", "--no-always-opt", "--liftoff", "--max-inlined-bytecode-size=*",
"--max-inlined-bytecode-size-cumulative=*", "--stress-inline"],
"turboprop": ["--interrupt-budget=*", "--no-turboprop"],
"turboprop_as_toptier": ["--interrupt-budget=*", "--no-turboprop", "--no-turboprop-as-toptier"],
"code_serializer": ["--cache=after-execute", "--cache=full-code-cache", "--cache=none"],
"no_local_heaps": ["--concurrent-inlining", "--turboprop"],
"experimental_regexp": ["--no-enable-experimental-regexp-engine", "--no-default-to-experimental-regexp-engine"],
......
......@@ -46,7 +46,7 @@ VARIANT_ALIASES = {
'exhaustive': MORE_VARIANTS + VARIANTS,
# Additional variants, run on a subset of bots.
'extra': ['nooptimization', 'future', 'no_wasm_traps', 'turboprop',
'instruction_scheduling'],
'instruction_scheduling', 'turboprop_as_toptier'],
}
# Extra flags passed to all tests using the standard test runner.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment