Adding MC regressions tests to cover the AVX and AVX2 ISA sets.
This patch is part of a larger task to cover MC encoding of all X86 ISA Sets.
See revision: https://reviews.llvm.org/D39952
You mean that each instruction should cover all registers?
I did a quick check and it produces a huge number of tests that exceed 200k including AVX512.
I, therefore, chose to use only representatives.
Are gather instructions in a different ISA set? Architecturally they are part of AVX2, but i don't see them here.
This also doesn't appear to test the VEX.X bit since your addresses never use r8-r15 for an index.