Commit ab1b511c authored by Michael Achenbach's avatar Michael Achenbach Committed by Commit Bot

[test] Add more flags to numfuzz flags fuzzer

This adds a selection of flags to numfuzz that are already used
for different testing variants or on clusterfuzz for
correctness testing.

No-Try: true
Change-Id: I79745b281b001f57d2b24977f3a8e9ce3bbab2a4
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1906573
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#64884}
parent 80dc6a33
...@@ -11,6 +11,15 @@ from . import base ...@@ -11,6 +11,15 @@ from . import base
# Extra flags randomly added to all fuzz tests with numfuzz. List of tuples # Extra flags randomly added to all fuzz tests with numfuzz. List of tuples
# (probability, flag). # (probability, flag).
EXTRA_FLAGS = [ EXTRA_FLAGS = [
(0.1, '--always-opt'),
(0.1, '--assert-types'),
(0.1, '--cache=code'),
(0.1, '--force-slow-path'),
(0.2, '--future'),
(0.1, '--jitless'),
(0.1, '--liftoff'),
(0.1, '--minor-mc'),
(0.2, '--no-analyze-environment-liveness'),
(0.1, '--no-enable-sse3'), (0.1, '--no-enable-sse3'),
(0.1, '--no-enable-ssse3'), (0.1, '--no-enable-ssse3'),
(0.1, '--no-enable-sse4_1'), (0.1, '--no-enable-sse4_1'),
...@@ -22,6 +31,17 @@ EXTRA_FLAGS = [ ...@@ -22,6 +31,17 @@ EXTRA_FLAGS = [
(0.1, '--no-enable-bmi2'), (0.1, '--no-enable-bmi2'),
(0.1, '--no-enable-lzcnt'), (0.1, '--no-enable-lzcnt'),
(0.1, '--no-enable-popcnt'), (0.1, '--no-enable-popcnt'),
(0.1, '--no-liftoff'),
(0.1, '--no-opt'),
(0.2, '--no-regexp-tier-up'),
(0.1, '--no-wasm-tier-up'),
(0.1, '--regexp-interpret-all'),
(0.1, '--regexp-tier-up-ticks=10'),
(0.1, '--regexp-tier-up-ticks=100'),
(0.1, '--stress-background-compile'),
(0.1, '--turbo-instruction-scheduling'),
(0.1, '--turbo-stress-instruction-scheduling'),
(0.1, '--turboprop'),
] ]
def random_extra_flags(rng): def random_extra_flags(rng):
......
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