# RUN: llvm-mc -triple x86_64 -show-encoding -x86-asm-syntax=intel -output-asm-variant=1 %s | FileCheck %s
# CHECK: {evex} xor bl, 123
# CHECK: encoding: [0x62,0xf4,0x7c,0x08,0x80,0xf3,0x7b]
{evex} xor bl, 123
# CHECK: {nf} xor bl, 123
# CHECK: encoding: [0x62,0xf4,0x7c,0x0c,0x80,0xf3,0x7b]
{nf} xor bl, 123
# CHECK: xor cl, bl, 123
# CHECK: encoding: [0x62,0xf4,0x74,0x18,0x80,0xf3,0x7b]
xor cl, bl, 123
# CHECK: {nf} xor cl, bl, 123
# CHECK: encoding: [0x62,0xf4,0x74,0x1c,0x80,0xf3,0x7b]
{nf} xor cl, bl, 123
# CHECK: {evex} xor dx, 123
# CHECK: encoding: [0x62,0xf4,0x7d,0x08,0x83,0xf2,0x7b]
{evex} xor dx, 123
# CHECK: {nf} xor dx, 123
# CHECK: encoding: [0x62,0xf4,0x7d,0x0c,0x83,0xf2,0x7b]
{nf} xor dx, 123
# CHECK: xor ax, dx, 123
# CHECK: encoding: [0x62,0xf4,0x7d,0x18,0x83,0xf2,0x7b]
xor ax, dx, 123
# CHECK: {nf} xor ax, dx, 123
# CHECK: encoding: [0x62,0xf4,0x7d,0x1c,0x83,0xf2,0x7b]
{nf} xor ax, dx, 123
# CHECK: {evex} xor ecx, 123
# CHECK: encoding: [0x62,0xf4,0x7c,0x08,0x83,0xf1,0x7b]
{evex} xor ecx, 123
# CHECK: {nf} xor ecx, 123
# CHECK: encoding: [0x62,0xf4,0x7c,0x0c,0x83,0xf1,0x7b]
{nf} xor ecx, 123
# CHECK: xor edx, ecx, 123
# CHECK: encoding: [0x62,0xf4,0x6c,0x18,0x83,0xf1,0x7b]
xor edx, ecx, 123
# CHECK: {nf} xor edx, ecx, 123
# CHECK: encoding: [0x62,0xf4,0x6c,0x1c,0x83,0xf1,0x7b]
{nf} xor edx, ecx, 123
# CHECK: {evex} xor r9, 123
# CHECK: encoding: [0x62,0xd4,0xfc,0x08,0x83,0xf1,0x7b]
{evex} xor r9, 123
# CHECK: {nf} xor r9, 123
# CHECK: encoding: [0x62,0xd4,0xfc,0x0c,0x83,0xf1,0x7b]
{nf} xor r9, 123
# CHECK: xor r15, r9, 123
# CHECK: encoding: [0x62,0xd4,0x84,0x18,0x83,0xf1,0x7b]
xor r15, r9, 123
# CHECK: {nf} xor r15, r9, 123
# CHECK: encoding: [0x62,0xd4,0x84,0x1c,0x83,0xf1,0x7b]
{nf} xor r15, r9, 123
# CHECK: {evex} xor byte ptr [r8 + 4*rax + 291], 123
# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0x80,0xb4,0x80,0x23,0x01,0x00,0x00,0x7b]
{evex} xor byte ptr [r8 + 4*rax + 291], 123
# CHECK: {nf} xor byte ptr [r8 + 4*rax + 291], 123
# CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0x80,0xb4,0x80,0x23,0x01,0x00,0x00,0x7b]
{nf} xor byte ptr [r8 + 4*rax + 291], 123
# CHECK: xor bl, byte ptr [r8 + 4*rax + 291], 123
# CHECK: encoding: [0x62,0xd4,0x64,0x18,0x80,0xb4,0x80,0x23,0x01,0x00,0x00,0x7b]
xor bl, byte ptr [r8 + 4*rax + 291], 123
# CHECK: {nf} xor bl, byte ptr [r8 + 4*rax + 291], 123
# CHECK: encoding: [0x62,0xd4,0x64,0x1c,0x80,0xb4,0x80,0x23,0x01,0x00,0x00,0x7b]
{nf} xor bl, byte ptr [r8 + 4*rax + 291], 123
# CHECK: {evex} xor word ptr [r8 + 4*rax + 291], 123
# CHECK: encoding: [0x62,0xd4,0x7d,0x08,0x83,0xb4,0x80,0x23,0x01,0x00,0x00,0x7b]
{evex} xor word ptr [r8 + 4*rax + 291], 123
# CHECK: {nf} xor word ptr [r8 + 4*rax + 291], 123
# CHECK: encoding: [0x62,0xd4,0x7d,0x0c,0x83,0xb4,0x80,0x23,0x01,0x00,0x00,0x7b]
{nf} xor word ptr [r8 + 4*rax + 291], 123
# CHECK: xor dx, word ptr [r8 + 4*rax + 291], 123
# CHECK: encoding: [0x62,0xd4,0x6d,0x18,0x83,0xb4,0x80,0x23,0x01,0x00,0x00,0x7b]
xor dx, word ptr [r8 + 4*rax + 291], 123
# CHECK: {nf} xor dx, word ptr [r8 + 4*rax + 291], 123
# CHECK: encoding: [0x62,0xd4,0x6d,0x1c,0x83,0xb4,0x80,0x23,0x01,0x00,0x00,0x7b]
{nf} xor dx, word ptr [r8 + 4*rax + 291], 123
# CHECK: {evex} xor dword ptr [r8 + 4*rax + 291], 123
# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0x83,0xb4,0x80,0x23,0x01,0x00,0x00,0x7b]
{evex} xor dword ptr [r8 + 4*rax + 291], 123
# CHECK: {nf} xor dword ptr [r8 + 4*rax + 291], 123
# CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0x83,0xb4,0x80,0x23,0x01,0x00,0x00,0x7b]
{nf} xor dword ptr [r8 + 4*rax + 291], 123
# CHECK: xor ecx, dword ptr [r8 + 4*rax + 291], 123
# CHECK: encoding: [0x62,0xd4,0x74,0x18,0x83,0xb4,0x80,0x23,0x01,0x00,0x00,0x7b]
xor ecx, dword ptr [r8 + 4*rax + 291], 123
# CHECK: {nf} xor ecx, dword ptr [r8 + 4*rax + 291], 123
# CHECK: encoding: [0x62,0xd4,0x74,0x1c,0x83,0xb4,0x80,0x23,0x01,0x00,0x00,0x7b]
{nf} xor ecx, dword ptr [r8 + 4*rax + 291], 123
# CHECK: {evex} xor qword ptr [r8 + 4*rax + 291], 123
# CHECK: encoding: [0x62,0xd4,0xfc,0x08,0x83,0xb4,0x80,0x23,0x01,0x00,0x00,0x7b]
{evex} xor qword ptr [r8 + 4*rax + 291], 123
# CHECK: {nf} xor qword ptr [r8 + 4*rax + 291], 123
# CHECK: encoding: [0x62,0xd4,0xfc,0x0c,0x83,0xb4,0x80,0x23,0x01,0x00,0x00,0x7b]
{nf} xor qword ptr [r8 + 4*rax + 291], 123
# CHECK: xor r9, qword ptr [r8 + 4*rax + 291], 123
# CHECK: encoding: [0x62,0xd4,0xb4,0x18,0x83,0xb4,0x80,0x23,0x01,0x00,0x00,0x7b]
xor r9, qword ptr [r8 + 4*rax + 291], 123
# CHECK: {nf} xor r9, qword ptr [r8 + 4*rax + 291], 123
# CHECK: encoding: [0x62,0xd4,0xb4,0x1c,0x83,0xb4,0x80,0x23,0x01,0x00,0x00,0x7b]
{nf} xor r9, qword ptr [r8 + 4*rax + 291], 123
# CHECK: {evex} xor dx, 1234
# CHECK: encoding: [0x62,0xf4,0x7d,0x08,0x81,0xf2,0xd2,0x04]
{evex} xor dx, 1234
# CHECK: {nf} xor dx, 1234
# CHECK: encoding: [0x62,0xf4,0x7d,0x0c,0x81,0xf2,0xd2,0x04]
{nf} xor dx, 1234
# CHECK: xor ax, dx, 1234
# CHECK: encoding: [0x62,0xf4,0x7d,0x18,0x81,0xf2,0xd2,0x04]
xor ax, dx, 1234
# CHECK: {nf} xor ax, dx, 1234
# CHECK: encoding: [0x62,0xf4,0x7d,0x1c,0x81,0xf2,0xd2,0x04]
{nf} xor ax, dx, 1234
# CHECK: {evex} xor word ptr [r8 + 4*rax + 291], 1234
# CHECK: encoding: [0x62,0xd4,0x7d,0x08,0x81,0xb4,0x80,0x23,0x01,0x00,0x00,0xd2,0x04]
{evex} xor word ptr [r8 + 4*rax + 291], 1234
# CHECK: {nf} xor word ptr [r8 + 4*rax + 291], 1234
# CHECK: encoding: [0x62,0xd4,0x7d,0x0c,0x81,0xb4,0x80,0x23,0x01,0x00,0x00,0xd2,0x04]
{nf} xor word ptr [r8 + 4*rax + 291], 1234
# CHECK: xor dx, word ptr [r8 + 4*rax + 291], 1234
# CHECK: encoding: [0x62,0xd4,0x6d,0x18,0x81,0xb4,0x80,0x23,0x01,0x00,0x00,0xd2,0x04]
xor dx, word ptr [r8 + 4*rax + 291], 1234
# CHECK: {nf} xor dx, word ptr [r8 + 4*rax + 291], 1234
# CHECK: encoding: [0x62,0xd4,0x6d,0x1c,0x81,0xb4,0x80,0x23,0x01,0x00,0x00,0xd2,0x04]
{nf} xor dx, word ptr [r8 + 4*rax + 291], 1234
# CHECK: {evex} xor ecx, 123456
# CHECK: encoding: [0x62,0xf4,0x7c,0x08,0x81,0xf1,0x40,0xe2,0x01,0x00]
{evex} xor ecx, 123456
# CHECK: {nf} xor ecx, 123456
# CHECK: encoding: [0x62,0xf4,0x7c,0x0c,0x81,0xf1,0x40,0xe2,0x01,0x00]
{nf} xor ecx, 123456
# CHECK: xor edx, ecx, 123456
# CHECK: encoding: [0x62,0xf4,0x6c,0x18,0x81,0xf1,0x40,0xe2,0x01,0x00]
xor edx, ecx, 123456
# CHECK: {nf} xor edx, ecx, 123456
# CHECK: encoding: [0x62,0xf4,0x6c,0x1c,0x81,0xf1,0x40,0xe2,0x01,0x00]
{nf} xor edx, ecx, 123456
# CHECK: {evex} xor r9, 123456
# CHECK: encoding: [0x62,0xd4,0xfc,0x08,0x81,0xf1,0x40,0xe2,0x01,0x00]
{evex} xor r9, 123456
# CHECK: {nf} xor r9, 123456
# CHECK: encoding: [0x62,0xd4,0xfc,0x0c,0x81,0xf1,0x40,0xe2,0x01,0x00]
{nf} xor r9, 123456
# CHECK: xor r15, r9, 123456
# CHECK: encoding: [0x62,0xd4,0x84,0x18,0x81,0xf1,0x40,0xe2,0x01,0x00]
xor r15, r9, 123456
# CHECK: {nf} xor r15, r9, 123456
# CHECK: encoding: [0x62,0xd4,0x84,0x1c,0x81,0xf1,0x40,0xe2,0x01,0x00]
{nf} xor r15, r9, 123456
# CHECK: {evex} xor dword ptr [r8 + 4*rax + 291], 123456
# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0x81,0xb4,0x80,0x23,0x01,0x00,0x00,0x40,0xe2,0x01,0x00]
{evex} xor dword ptr [r8 + 4*rax + 291], 123456
# CHECK: {nf} xor dword ptr [r8 + 4*rax + 291], 123456
# CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0x81,0xb4,0x80,0x23,0x01,0x00,0x00,0x40,0xe2,0x01,0x00]
{nf} xor dword ptr [r8 + 4*rax + 291], 123456
# CHECK: xor ecx, dword ptr [r8 + 4*rax + 291], 123456
# CHECK: encoding: [0x62,0xd4,0x74,0x18,0x81,0xb4,0x80,0x23,0x01,0x00,0x00,0x40,0xe2,0x01,0x00]
xor ecx, dword ptr [r8 + 4*rax + 291], 123456
# CHECK: {nf} xor ecx, dword ptr [r8 + 4*rax + 291], 123456
# CHECK: encoding: [0x62,0xd4,0x74,0x1c,0x81,0xb4,0x80,0x23,0x01,0x00,0x00,0x40,0xe2,0x01,0x00]
{nf} xor ecx, dword ptr [r8 + 4*rax + 291], 123456
# CHECK: {evex} xor qword ptr [r8 + 4*rax + 291], 123456
# CHECK: encoding: [0x62,0xd4,0xfc,0x08,0x81,0xb4,0x80,0x23,0x01,0x00,0x00,0x40,0xe2,0x01,0x00]
{evex} xor qword ptr [r8 + 4*rax + 291], 123456
# CHECK: {nf} xor qword ptr [r8 + 4*rax + 291], 123456
# CHECK: encoding: [0x62,0xd4,0xfc,0x0c,0x81,0xb4,0x80,0x23,0x01,0x00,0x00,0x40,0xe2,0x01,0x00]
{nf} xor qword ptr [r8 + 4*rax + 291], 123456
# CHECK: xor r9, qword ptr [r8 + 4*rax + 291], 123456
# CHECK: encoding: [0x62,0xd4,0xb4,0x18,0x81,0xb4,0x80,0x23,0x01,0x00,0x00,0x40,0xe2,0x01,0x00]
xor r9, qword ptr [r8 + 4*rax + 291], 123456
# CHECK: {nf} xor r9, qword ptr [r8 + 4*rax + 291], 123456
# CHECK: encoding: [0x62,0xd4,0xb4,0x1c,0x81,0xb4,0x80,0x23,0x01,0x00,0x00,0x40,0xe2,0x01,0x00]
{nf} xor r9, qword ptr [r8 + 4*rax + 291], 123456
# CHECK: {evex} xor cl, bl
# CHECK: encoding: [0x62,0xf4,0x7c,0x08,0x30,0xd9]
{evex} xor cl, bl
# CHECK: {nf} xor cl, bl
# CHECK: encoding: [0x62,0xf4,0x7c,0x0c,0x30,0xd9]
{nf} xor cl, bl
# CHECK: xor r8b, cl, bl
# CHECK: encoding: [0x62,0xf4,0x3c,0x18,0x30,0xd9]
xor r8b, cl, bl
# CHECK: {nf} xor r8b, cl, bl
# CHECK: encoding: [0x62,0xf4,0x3c,0x1c,0x30,0xd9]
{nf} xor r8b, cl, bl
# CHECK: {evex} xor byte ptr [r8 + 4*rax + 291], bl
# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0x30,0x9c,0x80,0x23,0x01,0x00,0x00]
{evex} xor byte ptr [r8 + 4*rax + 291], bl
# CHECK: {nf} xor byte ptr [r8 + 4*rax + 291], bl
# CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0x30,0x9c,0x80,0x23,0x01,0x00,0x00]
{nf} xor byte ptr [r8 + 4*rax + 291], bl
# CHECK: xor cl, byte ptr [r8 + 4*rax + 291], bl
# CHECK: encoding: [0x62,0xd4,0x74,0x18,0x30,0x9c,0x80,0x23,0x01,0x00,0x00]
xor cl, byte ptr [r8 + 4*rax + 291], bl
# CHECK: {nf} xor cl, byte ptr [r8 + 4*rax + 291], bl
# CHECK: encoding: [0x62,0xd4,0x74,0x1c,0x30,0x9c,0x80,0x23,0x01,0x00,0x00]
{nf} xor cl, byte ptr [r8 + 4*rax + 291], bl
# CHECK: {evex} xor ax, dx
# CHECK: encoding: [0x62,0xf4,0x7d,0x08,0x31,0xd0]
{evex} xor ax, dx
# CHECK: {nf} xor ax, dx
# CHECK: encoding: [0x62,0xf4,0x7d,0x0c,0x31,0xd0]
{nf} xor ax, dx
# CHECK: xor r9w, ax, dx
# CHECK: encoding: [0x62,0xf4,0x35,0x18,0x31,0xd0]
xor r9w, ax, dx
# CHECK: {nf} xor r9w, ax, dx
# CHECK: encoding: [0x62,0xf4,0x35,0x1c,0x31,0xd0]
{nf} xor r9w, ax, dx
# CHECK: {evex} xor word ptr [r8 + 4*rax + 291], dx
# CHECK: encoding: [0x62,0xd4,0x7d,0x08,0x31,0x94,0x80,0x23,0x01,0x00,0x00]
{evex} xor word ptr [r8 + 4*rax + 291], dx
# CHECK: {nf} xor word ptr [r8 + 4*rax + 291], dx
# CHECK: encoding: [0x62,0xd4,0x7d,0x0c,0x31,0x94,0x80,0x23,0x01,0x00,0x00]
{nf} xor word ptr [r8 + 4*rax + 291], dx
# CHECK: xor ax, word ptr [r8 + 4*rax + 291], dx
# CHECK: encoding: [0x62,0xd4,0x7d,0x18,0x31,0x94,0x80,0x23,0x01,0x00,0x00]
xor ax, word ptr [r8 + 4*rax + 291], dx
# CHECK: {nf} xor ax, word ptr [r8 + 4*rax + 291], dx
# CHECK: encoding: [0x62,0xd4,0x7d,0x1c,0x31,0x94,0x80,0x23,0x01,0x00,0x00]
{nf} xor ax, word ptr [r8 + 4*rax + 291], dx
# CHECK: {evex} xor edx, ecx
# CHECK: encoding: [0x62,0xf4,0x7c,0x08,0x31,0xca]
{evex} xor edx, ecx
# CHECK: {nf} xor edx, ecx
# CHECK: encoding: [0x62,0xf4,0x7c,0x0c,0x31,0xca]
{nf} xor edx, ecx
# CHECK: xor r10d, edx, ecx
# CHECK: encoding: [0x62,0xf4,0x2c,0x18,0x31,0xca]
xor r10d, edx, ecx
# CHECK: {nf} xor r10d, edx, ecx
# CHECK: encoding: [0x62,0xf4,0x2c,0x1c,0x31,0xca]
{nf} xor r10d, edx, ecx
# CHECK: {evex} xor dword ptr [r8 + 4*rax + 291], ecx
# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0x31,0x8c,0x80,0x23,0x01,0x00,0x00]
{evex} xor dword ptr [r8 + 4*rax + 291], ecx
# CHECK: {nf} xor dword ptr [r8 + 4*rax + 291], ecx
# CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0x31,0x8c,0x80,0x23,0x01,0x00,0x00]
{nf} xor dword ptr [r8 + 4*rax + 291], ecx
# CHECK: xor edx, dword ptr [r8 + 4*rax + 291], ecx
# CHECK: encoding: [0x62,0xd4,0x6c,0x18,0x31,0x8c,0x80,0x23,0x01,0x00,0x00]
xor edx, dword ptr [r8 + 4*rax + 291], ecx
# CHECK: {nf} xor edx, dword ptr [r8 + 4*rax + 291], ecx
# CHECK: encoding: [0x62,0xd4,0x6c,0x1c,0x31,0x8c,0x80,0x23,0x01,0x00,0x00]
{nf} xor edx, dword ptr [r8 + 4*rax + 291], ecx
# CHECK: {evex} xor r15, r9
# CHECK: encoding: [0x62,0x54,0xfc,0x08,0x31,0xcf]
{evex} xor r15, r9
# CHECK: {nf} xor r15, r9
# CHECK: encoding: [0x62,0x54,0xfc,0x0c,0x31,0xcf]
{nf} xor r15, r9
# CHECK: xor r11, r15, r9
# CHECK: encoding: [0x62,0x54,0xa4,0x18,0x31,0xcf]
xor r11, r15, r9
# CHECK: {nf} xor r11, r15, r9
# CHECK: encoding: [0x62,0x54,0xa4,0x1c,0x31,0xcf]
{nf} xor r11, r15, r9
# CHECK: {evex} xor qword ptr [r8 + 4*rax + 291], r9
# CHECK: encoding: [0x62,0x54,0xfc,0x08,0x31,0x8c,0x80,0x23,0x01,0x00,0x00]
{evex} xor qword ptr [r8 + 4*rax + 291], r9
# CHECK: {nf} xor qword ptr [r8 + 4*rax + 291], r9
# CHECK: encoding: [0x62,0x54,0xfc,0x0c,0x31,0x8c,0x80,0x23,0x01,0x00,0x00]
{nf} xor qword ptr [r8 + 4*rax + 291], r9
# CHECK: xor r15, qword ptr [r8 + 4*rax + 291], r9
# CHECK: encoding: [0x62,0x54,0x84,0x18,0x31,0x8c,0x80,0x23,0x01,0x00,0x00]
xor r15, qword ptr [r8 + 4*rax + 291], r9
# CHECK: {nf} xor r15, qword ptr [r8 + 4*rax + 291], r9
# CHECK: encoding: [0x62,0x54,0x84,0x1c,0x31,0x8c,0x80,0x23,0x01,0x00,0x00]
{nf} xor r15, qword ptr [r8 + 4*rax + 291], r9
# CHECK: {evex} xor bl, byte ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0x32,0x9c,0x80,0x23,0x01,0x00,0x00]
{evex} xor bl, byte ptr [r8 + 4*rax + 291]
# CHECK: {nf} xor bl, byte ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0x32,0x9c,0x80,0x23,0x01,0x00,0x00]
{nf} xor bl, byte ptr [r8 + 4*rax + 291]
# CHECK: xor cl, bl, byte ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x74,0x18,0x32,0x9c,0x80,0x23,0x01,0x00,0x00]
xor cl, bl, byte ptr [r8 + 4*rax + 291]
# CHECK: {nf} xor cl, bl, byte ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x74,0x1c,0x32,0x9c,0x80,0x23,0x01,0x00,0x00]
{nf} xor cl, bl, byte ptr [r8 + 4*rax + 291]
# CHECK: {evex} xor dx, word ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x7d,0x08,0x33,0x94,0x80,0x23,0x01,0x00,0x00]
{evex} xor dx, word ptr [r8 + 4*rax + 291]
# CHECK: {nf} xor dx, word ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x7d,0x0c,0x33,0x94,0x80,0x23,0x01,0x00,0x00]
{nf} xor dx, word ptr [r8 + 4*rax + 291]
# CHECK: xor ax, dx, word ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x7d,0x18,0x33,0x94,0x80,0x23,0x01,0x00,0x00]
xor ax, dx, word ptr [r8 + 4*rax + 291]
# CHECK: {nf} xor ax, dx, word ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x7d,0x1c,0x33,0x94,0x80,0x23,0x01,0x00,0x00]
{nf} xor ax, dx, word ptr [r8 + 4*rax + 291]
# CHECK: {evex} xor ecx, dword ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0x33,0x8c,0x80,0x23,0x01,0x00,0x00]
{evex} xor ecx, dword ptr [r8 + 4*rax + 291]
# CHECK: {nf} xor ecx, dword ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0x33,0x8c,0x80,0x23,0x01,0x00,0x00]
{nf} xor ecx, dword ptr [r8 + 4*rax + 291]
# CHECK: xor edx, ecx, dword ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x6c,0x18,0x33,0x8c,0x80,0x23,0x01,0x00,0x00]
xor edx, ecx, dword ptr [r8 + 4*rax + 291]
# CHECK: {nf} xor edx, ecx, dword ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x6c,0x1c,0x33,0x8c,0x80,0x23,0x01,0x00,0x00]
{nf} xor edx, ecx, dword ptr [r8 + 4*rax + 291]
# CHECK: {evex} xor r9, qword ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0x54,0xfc,0x08,0x33,0x8c,0x80,0x23,0x01,0x00,0x00]
{evex} xor r9, qword ptr [r8 + 4*rax + 291]
# CHECK: {nf} xor r9, qword ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0x54,0xfc,0x0c,0x33,0x8c,0x80,0x23,0x01,0x00,0x00]
{nf} xor r9, qword ptr [r8 + 4*rax + 291]
# CHECK: xor r15, r9, qword ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0x54,0x84,0x18,0x33,0x8c,0x80,0x23,0x01,0x00,0x00]
xor r15, r9, qword ptr [r8 + 4*rax + 291]
# CHECK: {nf} xor r15, r9, qword ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0x54,0x84,0x1c,0x33,0x8c,0x80,0x23,0x01,0x00,0x00]
{nf} xor r15, r9, qword ptr [r8 + 4*rax + 291]