mirror of https://github.com/icedland/iced.git
Disable invalid-encoding checks iff VSIB instr (memory tests)
This commit is contained in:
parent
46f004c619
commit
1a4393ee4a
|
@ -144,7 +144,10 @@ namespace Iced.UnitTests.Intel.DecoderTests {
|
|||
int displSize = (int)ParseUInt32(parts[9].Trim());
|
||||
var constantOffsets = ParseConstantOffsets(parts[10].Trim());
|
||||
string encodedHexBytes = parts.Length > 11 ? parts[11].Trim() : hexBytes;
|
||||
var options = DecoderOptions.NoInvalidCheck;
|
||||
var options = DecoderOptions.None;
|
||||
// There are some invalid encodings so disable decoder's invalid-encoding checks
|
||||
if (code == Code.EVEX_Vpscatterdd_vm32x_k1_xmm)
|
||||
options |= DecoderOptions.NoInvalidCheck;
|
||||
yield return new object[13] { hexBytes, code, register, prefixSeg, segReg, baseReg, indexReg, scale, displ, displSize, constantOffsets, encodedHexBytes, options };
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue