File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -152,11 +152,13 @@ def randomize_feature_opts():
152
152
# The shared-everything feature is new and we want to fuzz it, but it
153
153
# also currently disables fuzzing V8, so disable it most of the time.
154
154
# Same with custom descriptors and strings - all these cannot be run in
155
- # V8 for now.
155
+ # V8 for now. Relaxed SIMD's nondeterminism disables much but not all of
156
+ # our V8 fuzzing, so avoid it too.
156
157
if random .random () < 0.9 :
157
158
FEATURE_OPTS .append ('--disable-shared-everything' )
158
159
FEATURE_OPTS .append ('--disable-custom-descriptors' )
159
160
FEATURE_OPTS .append ('--disable-strings' )
161
+ FEATURE_OPTS .append ('--disable-relaxed-simd' )
160
162
161
163
print ('randomized feature opts:' , '\n ' + '\n ' .join (FEATURE_OPTS ))
162
164
@@ -828,8 +830,10 @@ def can_compare_to_self(self):
828
830
829
831
def can_compare_to_others (self ):
830
832
# If not legalized, the JS will fail immediately, so no point to
831
- # compare to others.
832
- return LEGALIZE and not NANS
833
+ # compare to others. Relaxed SIMD allows different behavior
834
+ # between VMs (in principle we could compare to other D8
835
+ # variants, though TODO).
836
+ return self .can_compare_to_self () and LEGALIZE and all_disallowed (['relaxed-simd' ])
833
837
834
838
class D8Liftoff (D8 ):
835
839
name = 'd8_liftoff'
You can’t perform that action at this time.
0 commit comments