llvm/llvm/test/MC/X86/apx/add-intel.s

# RUN: llvm-mc -triple x86_64 -show-encoding -x86-asm-syntax=intel -output-asm-variant=1 %s | FileCheck %s

# CHECK: {evex}	add	bl, 123
# CHECK: encoding: [0x62,0xf4,0x7c,0x08,0x80,0xc3,0x7b]
         {evex}	add	bl, 123
# CHECK: {nf}	add	bl, 123
# CHECK: encoding: [0x62,0xf4,0x7c,0x0c,0x80,0xc3,0x7b]
         {nf}	add	bl, 123
# CHECK: add	cl, bl, 123
# CHECK: encoding: [0x62,0xf4,0x74,0x18,0x80,0xc3,0x7b]
         add	cl, bl, 123
# CHECK: {nf}	add	cl, bl, 123
# CHECK: encoding: [0x62,0xf4,0x74,0x1c,0x80,0xc3,0x7b]
         {nf}	add	cl, bl, 123
# CHECK: {evex}	add	dx, 123
# CHECK: encoding: [0x62,0xf4,0x7d,0x08,0x83,0xc2,0x7b]
         {evex}	add	dx, 123
# CHECK: {nf}	add	dx, 123
# CHECK: encoding: [0x62,0xf4,0x7d,0x0c,0x83,0xc2,0x7b]
         {nf}	add	dx, 123
# CHECK: add	ax, dx, 123
# CHECK: encoding: [0x62,0xf4,0x7d,0x18,0x83,0xc2,0x7b]
         add	ax, dx, 123
# CHECK: {nf}	add	ax, dx, 123
# CHECK: encoding: [0x62,0xf4,0x7d,0x1c,0x83,0xc2,0x7b]
         {nf}	add	ax, dx, 123
# CHECK: {evex}	add	ecx, 123
# CHECK: encoding: [0x62,0xf4,0x7c,0x08,0x83,0xc1,0x7b]
         {evex}	add	ecx, 123
# CHECK: {nf}	add	ecx, 123
# CHECK: encoding: [0x62,0xf4,0x7c,0x0c,0x83,0xc1,0x7b]
         {nf}	add	ecx, 123
# CHECK: add	edx, ecx, 123
# CHECK: encoding: [0x62,0xf4,0x6c,0x18,0x83,0xc1,0x7b]
         add	edx, ecx, 123
# CHECK: {nf}	add	edx, ecx, 123
# CHECK: encoding: [0x62,0xf4,0x6c,0x1c,0x83,0xc1,0x7b]
         {nf}	add	edx, ecx, 123
# CHECK: {evex}	add	r9, 123
# CHECK: encoding: [0x62,0xd4,0xfc,0x08,0x83,0xc1,0x7b]
         {evex}	add	r9, 123
# CHECK: {nf}	add	r9, 123
# CHECK: encoding: [0x62,0xd4,0xfc,0x0c,0x83,0xc1,0x7b]
         {nf}	add	r9, 123
# CHECK: add	r15, r9, 123
# CHECK: encoding: [0x62,0xd4,0x84,0x18,0x83,0xc1,0x7b]
         add	r15, r9, 123
# CHECK: {nf}	add	r15, r9, 123
# CHECK: encoding: [0x62,0xd4,0x84,0x1c,0x83,0xc1,0x7b]
         {nf}	add	r15, r9, 123
# CHECK: {evex}	add	byte ptr [r8 + 4*rax + 291], 123
# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0x80,0x84,0x80,0x23,0x01,0x00,0x00,0x7b]
         {evex}	add	byte ptr [r8 + 4*rax + 291], 123
# CHECK: {nf}	add	byte ptr [r8 + 4*rax + 291], 123
# CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0x80,0x84,0x80,0x23,0x01,0x00,0x00,0x7b]
         {nf}	add	byte ptr [r8 + 4*rax + 291], 123
# CHECK: add	bl, byte ptr [r8 + 4*rax + 291], 123
# CHECK: encoding: [0x62,0xd4,0x64,0x18,0x80,0x84,0x80,0x23,0x01,0x00,0x00,0x7b]
         add	bl, byte ptr [r8 + 4*rax + 291], 123
# CHECK: {nf}	add	bl, byte ptr [r8 + 4*rax + 291], 123
# CHECK: encoding: [0x62,0xd4,0x64,0x1c,0x80,0x84,0x80,0x23,0x01,0x00,0x00,0x7b]
         {nf}	add	bl, byte ptr [r8 + 4*rax + 291], 123
# CHECK: {evex}	add	word ptr [r8 + 4*rax + 291], 123
# CHECK: encoding: [0x62,0xd4,0x7d,0x08,0x83,0x84,0x80,0x23,0x01,0x00,0x00,0x7b]
         {evex}	add	word ptr [r8 + 4*rax + 291], 123
# CHECK: {nf}	add	word ptr [r8 + 4*rax + 291], 123
# CHECK: encoding: [0x62,0xd4,0x7d,0x0c,0x83,0x84,0x80,0x23,0x01,0x00,0x00,0x7b]
         {nf}	add	word ptr [r8 + 4*rax + 291], 123
# CHECK: add	dx, word ptr [r8 + 4*rax + 291], 123
# CHECK: encoding: [0x62,0xd4,0x6d,0x18,0x83,0x84,0x80,0x23,0x01,0x00,0x00,0x7b]
         add	dx, word ptr [r8 + 4*rax + 291], 123
# CHECK: {nf}	add	dx, word ptr [r8 + 4*rax + 291], 123
# CHECK: encoding: [0x62,0xd4,0x6d,0x1c,0x83,0x84,0x80,0x23,0x01,0x00,0x00,0x7b]
         {nf}	add	dx, word ptr [r8 + 4*rax + 291], 123
# CHECK: {evex}	add	dword ptr [r8 + 4*rax + 291], 123
# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0x83,0x84,0x80,0x23,0x01,0x00,0x00,0x7b]
         {evex}	add	dword ptr [r8 + 4*rax + 291], 123
# CHECK: {nf}	add	dword ptr [r8 + 4*rax + 291], 123
# CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0x83,0x84,0x80,0x23,0x01,0x00,0x00,0x7b]
         {nf}	add	dword ptr [r8 + 4*rax + 291], 123
# CHECK: add	ecx, dword ptr [r8 + 4*rax + 291], 123
# CHECK: encoding: [0x62,0xd4,0x74,0x18,0x83,0x84,0x80,0x23,0x01,0x00,0x00,0x7b]
         add	ecx, dword ptr [r8 + 4*rax + 291], 123
# CHECK: {nf}	add	ecx, dword ptr [r8 + 4*rax + 291], 123
# CHECK: encoding: [0x62,0xd4,0x74,0x1c,0x83,0x84,0x80,0x23,0x01,0x00,0x00,0x7b]
         {nf}	add	ecx, dword ptr [r8 + 4*rax + 291], 123
# CHECK: {evex}	add	qword ptr [r8 + 4*rax + 291], 123
# CHECK: encoding: [0x62,0xd4,0xfc,0x08,0x83,0x84,0x80,0x23,0x01,0x00,0x00,0x7b]
         {evex}	add	qword ptr [r8 + 4*rax + 291], 123
# CHECK: {nf}	add	qword ptr [r8 + 4*rax + 291], 123
# CHECK: encoding: [0x62,0xd4,0xfc,0x0c,0x83,0x84,0x80,0x23,0x01,0x00,0x00,0x7b]
         {nf}	add	qword ptr [r8 + 4*rax + 291], 123
# CHECK: add	r9, qword ptr [r8 + 4*rax + 291], 123
# CHECK: encoding: [0x62,0xd4,0xb4,0x18,0x83,0x84,0x80,0x23,0x01,0x00,0x00,0x7b]
         add	r9, qword ptr [r8 + 4*rax + 291], 123
# CHECK: {nf}	add	r9, qword ptr [r8 + 4*rax + 291], 123
# CHECK: encoding: [0x62,0xd4,0xb4,0x1c,0x83,0x84,0x80,0x23,0x01,0x00,0x00,0x7b]
         {nf}	add	r9, qword ptr [r8 + 4*rax + 291], 123
# CHECK: {evex}	add	dx, 1234
# CHECK: encoding: [0x62,0xf4,0x7d,0x08,0x81,0xc2,0xd2,0x04]
         {evex}	add	dx, 1234
# CHECK: {nf}	add	dx, 1234
# CHECK: encoding: [0x62,0xf4,0x7d,0x0c,0x81,0xc2,0xd2,0x04]
         {nf}	add	dx, 1234
# CHECK: add	ax, dx, 1234
# CHECK: encoding: [0x62,0xf4,0x7d,0x18,0x81,0xc2,0xd2,0x04]
         add	ax, dx, 1234
# CHECK: {nf}	add	ax, dx, 1234
# CHECK: encoding: [0x62,0xf4,0x7d,0x1c,0x81,0xc2,0xd2,0x04]
         {nf}	add	ax, dx, 1234
# CHECK: {evex}	add	word ptr [r8 + 4*rax + 291], 1234
# CHECK: encoding: [0x62,0xd4,0x7d,0x08,0x81,0x84,0x80,0x23,0x01,0x00,0x00,0xd2,0x04]
         {evex}	add	word ptr [r8 + 4*rax + 291], 1234
# CHECK: {nf}	add	word ptr [r8 + 4*rax + 291], 1234
# CHECK: encoding: [0x62,0xd4,0x7d,0x0c,0x81,0x84,0x80,0x23,0x01,0x00,0x00,0xd2,0x04]
         {nf}	add	word ptr [r8 + 4*rax + 291], 1234
# CHECK: add	dx, word ptr [r8 + 4*rax + 291], 1234
# CHECK: encoding: [0x62,0xd4,0x6d,0x18,0x81,0x84,0x80,0x23,0x01,0x00,0x00,0xd2,0x04]
         add	dx, word ptr [r8 + 4*rax + 291], 1234
# CHECK: {nf}	add	dx, word ptr [r8 + 4*rax + 291], 1234
# CHECK: encoding: [0x62,0xd4,0x6d,0x1c,0x81,0x84,0x80,0x23,0x01,0x00,0x00,0xd2,0x04]
         {nf}	add	dx, word ptr [r8 + 4*rax + 291], 1234
# CHECK: {evex}	add	ecx, 123456
# CHECK: encoding: [0x62,0xf4,0x7c,0x08,0x81,0xc1,0x40,0xe2,0x01,0x00]
         {evex}	add	ecx, 123456
# CHECK: {nf}	add	ecx, 123456
# CHECK: encoding: [0x62,0xf4,0x7c,0x0c,0x81,0xc1,0x40,0xe2,0x01,0x00]
         {nf}	add	ecx, 123456
# CHECK: add	edx, ecx, 123456
# CHECK: encoding: [0x62,0xf4,0x6c,0x18,0x81,0xc1,0x40,0xe2,0x01,0x00]
         add	edx, ecx, 123456
# CHECK: {nf}	add	edx, ecx, 123456
# CHECK: encoding: [0x62,0xf4,0x6c,0x1c,0x81,0xc1,0x40,0xe2,0x01,0x00]
         {nf}	add	edx, ecx, 123456
# CHECK: {evex}	add	r9, 123456
# CHECK: encoding: [0x62,0xd4,0xfc,0x08,0x81,0xc1,0x40,0xe2,0x01,0x00]
         {evex}	add	r9, 123456
# CHECK: {nf}	add	r9, 123456
# CHECK: encoding: [0x62,0xd4,0xfc,0x0c,0x81,0xc1,0x40,0xe2,0x01,0x00]
         {nf}	add	r9, 123456
# CHECK: add	r15, r9, 123456
# CHECK: encoding: [0x62,0xd4,0x84,0x18,0x81,0xc1,0x40,0xe2,0x01,0x00]
         add	r15, r9, 123456
# CHECK: {nf}	add	r15, r9, 123456
# CHECK: encoding: [0x62,0xd4,0x84,0x1c,0x81,0xc1,0x40,0xe2,0x01,0x00]
         {nf}	add	r15, r9, 123456
# CHECK: {evex}	add	dword ptr [r8 + 4*rax + 291], 123456
# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0x81,0x84,0x80,0x23,0x01,0x00,0x00,0x40,0xe2,0x01,0x00]
         {evex}	add	dword ptr [r8 + 4*rax + 291], 123456
# CHECK: {nf}	add	dword ptr [r8 + 4*rax + 291], 123456
# CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0x81,0x84,0x80,0x23,0x01,0x00,0x00,0x40,0xe2,0x01,0x00]
         {nf}	add	dword ptr [r8 + 4*rax + 291], 123456
# CHECK: add	ecx, dword ptr [r8 + 4*rax + 291], 123456
# CHECK: encoding: [0x62,0xd4,0x74,0x18,0x81,0x84,0x80,0x23,0x01,0x00,0x00,0x40,0xe2,0x01,0x00]
         add	ecx, dword ptr [r8 + 4*rax + 291], 123456
# CHECK: {nf}	add	ecx, dword ptr [r8 + 4*rax + 291], 123456
# CHECK: encoding: [0x62,0xd4,0x74,0x1c,0x81,0x84,0x80,0x23,0x01,0x00,0x00,0x40,0xe2,0x01,0x00]
         {nf}	add	ecx, dword ptr [r8 + 4*rax + 291], 123456
# CHECK: {evex}	add	qword ptr [r8 + 4*rax + 291], 123456
# CHECK: encoding: [0x62,0xd4,0xfc,0x08,0x81,0x84,0x80,0x23,0x01,0x00,0x00,0x40,0xe2,0x01,0x00]
         {evex}	add	qword ptr [r8 + 4*rax + 291], 123456
# CHECK: {nf}	add	qword ptr [r8 + 4*rax + 291], 123456
# CHECK: encoding: [0x62,0xd4,0xfc,0x0c,0x81,0x84,0x80,0x23,0x01,0x00,0x00,0x40,0xe2,0x01,0x00]
         {nf}	add	qword ptr [r8 + 4*rax + 291], 123456
# CHECK: add	r9, qword ptr [r8 + 4*rax + 291], 123456
# CHECK: encoding: [0x62,0xd4,0xb4,0x18,0x81,0x84,0x80,0x23,0x01,0x00,0x00,0x40,0xe2,0x01,0x00]
         add	r9, qword ptr [r8 + 4*rax + 291], 123456
# CHECK: {nf}	add	r9, qword ptr [r8 + 4*rax + 291], 123456
# CHECK: encoding: [0x62,0xd4,0xb4,0x1c,0x81,0x84,0x80,0x23,0x01,0x00,0x00,0x40,0xe2,0x01,0x00]
         {nf}	add	r9, qword ptr [r8 + 4*rax + 291], 123456
# CHECK: {evex}	add	cl, bl
# CHECK: encoding: [0x62,0xf4,0x7c,0x08,0x00,0xd9]
         {evex}	add	cl, bl
# CHECK: {nf}	add	cl, bl
# CHECK: encoding: [0x62,0xf4,0x7c,0x0c,0x00,0xd9]
         {nf}	add	cl, bl
# CHECK: add	r8b, cl, bl
# CHECK: encoding: [0x62,0xf4,0x3c,0x18,0x00,0xd9]
         add	r8b, cl, bl
# CHECK: {nf}	add	r8b, cl, bl
# CHECK: encoding: [0x62,0xf4,0x3c,0x1c,0x00,0xd9]
         {nf}	add	r8b, cl, bl
# CHECK: {evex}	add	byte ptr [r8 + 4*rax + 291], bl
# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0x00,0x9c,0x80,0x23,0x01,0x00,0x00]
         {evex}	add	byte ptr [r8 + 4*rax + 291], bl
# CHECK: {nf}	add	byte ptr [r8 + 4*rax + 291], bl
# CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0x00,0x9c,0x80,0x23,0x01,0x00,0x00]
         {nf}	add	byte ptr [r8 + 4*rax + 291], bl
# CHECK: add	cl, byte ptr [r8 + 4*rax + 291], bl
# CHECK: encoding: [0x62,0xd4,0x74,0x18,0x00,0x9c,0x80,0x23,0x01,0x00,0x00]
         add	cl, byte ptr [r8 + 4*rax + 291], bl
# CHECK: {nf}	add	cl, byte ptr [r8 + 4*rax + 291], bl
# CHECK: encoding: [0x62,0xd4,0x74,0x1c,0x00,0x9c,0x80,0x23,0x01,0x00,0x00]
         {nf}	add	cl, byte ptr [r8 + 4*rax + 291], bl
# CHECK: {evex}	add	ax, dx
# CHECK: encoding: [0x62,0xf4,0x7d,0x08,0x01,0xd0]
         {evex}	add	ax, dx
# CHECK: {nf}	add	ax, dx
# CHECK: encoding: [0x62,0xf4,0x7d,0x0c,0x01,0xd0]
         {nf}	add	ax, dx
# CHECK: add	r9w, ax, dx
# CHECK: encoding: [0x62,0xf4,0x35,0x18,0x01,0xd0]
         add	r9w, ax, dx
# CHECK: {nf}	add	r9w, ax, dx
# CHECK: encoding: [0x62,0xf4,0x35,0x1c,0x01,0xd0]
         {nf}	add	r9w, ax, dx
# CHECK: {evex}	add	word ptr [r8 + 4*rax + 291], dx
# CHECK: encoding: [0x62,0xd4,0x7d,0x08,0x01,0x94,0x80,0x23,0x01,0x00,0x00]
         {evex}	add	word ptr [r8 + 4*rax + 291], dx
# CHECK: {nf}	add	word ptr [r8 + 4*rax + 291], dx
# CHECK: encoding: [0x62,0xd4,0x7d,0x0c,0x01,0x94,0x80,0x23,0x01,0x00,0x00]
         {nf}	add	word ptr [r8 + 4*rax + 291], dx
# CHECK: add	ax, word ptr [r8 + 4*rax + 291], dx
# CHECK: encoding: [0x62,0xd4,0x7d,0x18,0x01,0x94,0x80,0x23,0x01,0x00,0x00]
         add	ax, word ptr [r8 + 4*rax + 291], dx
# CHECK: {nf}	add	ax, word ptr [r8 + 4*rax + 291], dx
# CHECK: encoding: [0x62,0xd4,0x7d,0x1c,0x01,0x94,0x80,0x23,0x01,0x00,0x00]
         {nf}	add	ax, word ptr [r8 + 4*rax + 291], dx
# CHECK: {evex}	add	edx, ecx
# CHECK: encoding: [0x62,0xf4,0x7c,0x08,0x01,0xca]
         {evex}	add	edx, ecx
# CHECK: {nf}	add	edx, ecx
# CHECK: encoding: [0x62,0xf4,0x7c,0x0c,0x01,0xca]
         {nf}	add	edx, ecx
# CHECK: add	r10d, edx, ecx
# CHECK: encoding: [0x62,0xf4,0x2c,0x18,0x01,0xca]
         add	r10d, edx, ecx
# CHECK: {nf}	add	r10d, edx, ecx
# CHECK: encoding: [0x62,0xf4,0x2c,0x1c,0x01,0xca]
         {nf}	add	r10d, edx, ecx
# CHECK: {evex}	add	dword ptr [r8 + 4*rax + 291], ecx
# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0x01,0x8c,0x80,0x23,0x01,0x00,0x00]
         {evex}	add	dword ptr [r8 + 4*rax + 291], ecx
# CHECK: {nf}	add	dword ptr [r8 + 4*rax + 291], ecx
# CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0x01,0x8c,0x80,0x23,0x01,0x00,0x00]
         {nf}	add	dword ptr [r8 + 4*rax + 291], ecx
# CHECK: add	edx, dword ptr [r8 + 4*rax + 291], ecx
# CHECK: encoding: [0x62,0xd4,0x6c,0x18,0x01,0x8c,0x80,0x23,0x01,0x00,0x00]
         add	edx, dword ptr [r8 + 4*rax + 291], ecx
# CHECK: {nf}	add	edx, dword ptr [r8 + 4*rax + 291], ecx
# CHECK: encoding: [0x62,0xd4,0x6c,0x1c,0x01,0x8c,0x80,0x23,0x01,0x00,0x00]
         {nf}	add	edx, dword ptr [r8 + 4*rax + 291], ecx
# CHECK: {evex}	add	r15, r9
# CHECK: encoding: [0x62,0x54,0xfc,0x08,0x01,0xcf]
         {evex}	add	r15, r9
# CHECK: {nf}	add	r15, r9
# CHECK: encoding: [0x62,0x54,0xfc,0x0c,0x01,0xcf]
         {nf}	add	r15, r9
# CHECK: add	r11, r15, r9
# CHECK: encoding: [0x62,0x54,0xa4,0x18,0x01,0xcf]
         add	r11, r15, r9
# CHECK: {nf}	add	r11, r15, r9
# CHECK: encoding: [0x62,0x54,0xa4,0x1c,0x01,0xcf]
         {nf}	add	r11, r15, r9
# CHECK: {evex}	add	qword ptr [r8 + 4*rax + 291], r9
# CHECK: encoding: [0x62,0x54,0xfc,0x08,0x01,0x8c,0x80,0x23,0x01,0x00,0x00]
         {evex}	add	qword ptr [r8 + 4*rax + 291], r9
# CHECK: {nf}	add	qword ptr [r8 + 4*rax + 291], r9
# CHECK: encoding: [0x62,0x54,0xfc,0x0c,0x01,0x8c,0x80,0x23,0x01,0x00,0x00]
         {nf}	add	qword ptr [r8 + 4*rax + 291], r9
# CHECK: add	r15, qword ptr [r8 + 4*rax + 291], r9
# CHECK: encoding: [0x62,0x54,0x84,0x18,0x01,0x8c,0x80,0x23,0x01,0x00,0x00]
         add	r15, qword ptr [r8 + 4*rax + 291], r9
# CHECK: {nf}	add	r15, qword ptr [r8 + 4*rax + 291], r9
# CHECK: encoding: [0x62,0x54,0x84,0x1c,0x01,0x8c,0x80,0x23,0x01,0x00,0x00]
         {nf}	add	r15, qword ptr [r8 + 4*rax + 291], r9
# CHECK: {evex}	add	bl, byte ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0x02,0x9c,0x80,0x23,0x01,0x00,0x00]
         {evex}	add	bl, byte ptr [r8 + 4*rax + 291]
# CHECK: {nf}	add	bl, byte ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0x02,0x9c,0x80,0x23,0x01,0x00,0x00]
         {nf}	add	bl, byte ptr [r8 + 4*rax + 291]
# CHECK: add	cl, bl, byte ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x74,0x18,0x02,0x9c,0x80,0x23,0x01,0x00,0x00]
         add	cl, bl, byte ptr [r8 + 4*rax + 291]
# CHECK: {nf}	add	cl, bl, byte ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x74,0x1c,0x02,0x9c,0x80,0x23,0x01,0x00,0x00]
         {nf}	add	cl, bl, byte ptr [r8 + 4*rax + 291]
# CHECK: {evex}	add	dx, word ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x7d,0x08,0x03,0x94,0x80,0x23,0x01,0x00,0x00]
         {evex}	add	dx, word ptr [r8 + 4*rax + 291]
# CHECK: {nf}	add	dx, word ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x7d,0x0c,0x03,0x94,0x80,0x23,0x01,0x00,0x00]
         {nf}	add	dx, word ptr [r8 + 4*rax + 291]
# CHECK: add	ax, dx, word ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x7d,0x18,0x03,0x94,0x80,0x23,0x01,0x00,0x00]
         add	ax, dx, word ptr [r8 + 4*rax + 291]
# CHECK: {nf}	add	ax, dx, word ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x7d,0x1c,0x03,0x94,0x80,0x23,0x01,0x00,0x00]
         {nf}	add	ax, dx, word ptr [r8 + 4*rax + 291]
# CHECK: {evex}	add	ecx, dword ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0x03,0x8c,0x80,0x23,0x01,0x00,0x00]
         {evex}	add	ecx, dword ptr [r8 + 4*rax + 291]
# CHECK: {nf}	add	ecx, dword ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0x03,0x8c,0x80,0x23,0x01,0x00,0x00]
         {nf}	add	ecx, dword ptr [r8 + 4*rax + 291]
# CHECK: add	edx, ecx, dword ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x6c,0x18,0x03,0x8c,0x80,0x23,0x01,0x00,0x00]
         add	edx, ecx, dword ptr [r8 + 4*rax + 291]
# CHECK: {nf}	add	edx, ecx, dword ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x6c,0x1c,0x03,0x8c,0x80,0x23,0x01,0x00,0x00]
         {nf}	add	edx, ecx, dword ptr [r8 + 4*rax + 291]
# CHECK: {evex}	add	r9, qword ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0x54,0xfc,0x08,0x03,0x8c,0x80,0x23,0x01,0x00,0x00]
         {evex}	add	r9, qword ptr [r8 + 4*rax + 291]
# CHECK: {nf}	add	r9, qword ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0x54,0xfc,0x0c,0x03,0x8c,0x80,0x23,0x01,0x00,0x00]
         {nf}	add	r9, qword ptr [r8 + 4*rax + 291]
# CHECK: add	r15, r9, qword ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0x54,0x84,0x18,0x03,0x8c,0x80,0x23,0x01,0x00,0x00]
         add	r15, r9, qword ptr [r8 + 4*rax + 291]
# CHECK: {nf}	add	r15, r9, qword ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0x54,0x84,0x1c,0x03,0x8c,0x80,0x23,0x01,0x00,0x00]
         {nf}	add	r15, r9, qword ptr [r8 + 4*rax + 291]