ctorstest: some more variants

This commit is contained in:
Michael McLoughlin
2018-11-27 22:11:45 -08:00
parent 4395adacc8
commit 23289963d9
2 changed files with 1755 additions and 15 deletions

View File

@@ -67,7 +67,7 @@ var validArgs = map[string][]string{
// Immediates
"1": {"operand.Imm(1)"},
"3": {"operand.Imm(3)"},
"imm2u": {"operand.Imm(3)"},
"imm2u": {"operand.Imm(1)", "operand.Imm(3)"},
"imm8": {"operand.Imm(math.MaxInt8)"},
"imm16": {"operand.Imm(math.MaxInt16)"},
"imm32": {"operand.Imm(math.MaxInt32)"},
@@ -79,8 +79,8 @@ var validArgs = map[string][]string{
"ax": {"reg.AX"},
"eax": {"reg.EAX"},
"rax": {"reg.RAX"},
"r8": {"reg.CH"},
"r16": {"reg.R9W"},
"r8": {"reg.CH", "reg.BL", "reg.R13B"},
"r16": {"reg.CX", "reg.R9W"},
"r32": {"reg.R10L"},
"r64": {"reg.R11"},
"xmm0": {"reg.X0"},