Since not all the test machines have AVX support. But if the machine does have AVX, it would be best to run -mavx globally to give it the most thorough workout.
For reference:
https://github.com/dlang/dmd/pull/6296
Comment #1 by braddr — 2016-12-04T01:45:21Z
Also consider something akin to:
if (cpuid.hasAVX) {
...
}
within the tests