@@ -198,6 +198,30 @@ class suppress_WLOGMIXUP(CompatFeature):
198198 short = "Suppress the warning 'WLOGMIXUP' by default"
199199 last_api_version = api_6
200200
201+ @feature
202+ class suppress_WBIGUNROLL (CompatFeature ):
203+ '''This compatibility feature makes it so the warning `WBIGUNROLL` is
204+ suppressed by default. `WBIGUNROLL` warns about `#foreach` and `#select`
205+ statements that compile to large unrolled loops — for more
206+ information, see the documentation of `WBIGUNROLL` in the
207+ [Messages](messages.html) section.
208+
209+ `WBIGUNROLL` is suppressed by default below Simics API version 8 in order
210+ to avoid overwhelming users with warnings. Addressing occurences of large
211+ unrolled loops should be done before or as part of migration to Simics API
212+ version 8.
213+
214+ Passing `--no-compat=suppress_WBUGUNROLL` to DMLC has almost the same effect
215+ as passing `--warn=WBIGUNROLL`; either will cause DMLC to report the warning
216+ even when the Simics API version in use is below 8. The only difference
217+ between these two options is that if `--no-compat=suppress_WBIGUNROLL` is
218+ used (and `--warn=WBIGUNROLL` is not), then `WBIGUNROLL` may still be
219+ explicitly suppressed via `--no-warn=WBIGUNROLL`. In contrast,
220+ `--warn=WBIGUNROLL` doesn't allow for `WBIGUNROLL` to be suppressed at
221+ all.'''
222+ short = "Suppress the warning 'WBIGUNROLL' by default"
223+ last_api_version = api_7
224+
201225@feature
202226class legacy_attributes (CompatFeature ):
203227 '''This compatibility feature makes DMLC register all attributes using the
0 commit comments