# RUN: llvm-mc -triple x86_64 -show-encoding -x86-asm-syntax=intel -output-asm-variant=1 %s | FileCheck %s
# CHECK: {evex} not bl
# CHECK: encoding: [0x62,0xf4,0x7c,0x08,0xf6,0xd3]
{evex} not bl
# CHECK: not bl, bl
# CHECK: encoding: [0x62,0xf4,0x64,0x18,0xf6,0xd3]
not bl, bl
# CHECK: {evex} not dx
# CHECK: encoding: [0x62,0xf4,0x7d,0x08,0xf7,0xd2]
{evex} not dx
# CHECK: not dx, dx
# CHECK: encoding: [0x62,0xf4,0x6d,0x18,0xf7,0xd2]
not dx, dx
# CHECK: {evex} not ecx
# CHECK: encoding: [0x62,0xf4,0x7c,0x08,0xf7,0xd1]
{evex} not ecx
# CHECK: not ecx, ecx
# CHECK: encoding: [0x62,0xf4,0x74,0x18,0xf7,0xd1]
not ecx, ecx
# CHECK: {evex} not r9
# CHECK: encoding: [0x62,0xd4,0xfc,0x08,0xf7,0xd1]
{evex} not r9
# CHECK: not r9, r9
# CHECK: encoding: [0x62,0xd4,0xb4,0x18,0xf7,0xd1]
not r9, r9
# CHECK: {evex} not byte ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0xf6,0x94,0x80,0x23,0x01,0x00,0x00]
{evex} not byte ptr [r8 + 4*rax + 291]
# CHECK: not bl, byte ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x64,0x18,0xf6,0x94,0x80,0x23,0x01,0x00,0x00]
not bl, byte ptr [r8 + 4*rax + 291]
# CHECK: {evex} not word ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x7d,0x08,0xf7,0x94,0x80,0x23,0x01,0x00,0x00]
{evex} not word ptr [r8 + 4*rax + 291]
# CHECK: not dx, word ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x6d,0x18,0xf7,0x94,0x80,0x23,0x01,0x00,0x00]
not dx, word ptr [r8 + 4*rax + 291]
# CHECK: {evex} not dword ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0xf7,0x94,0x80,0x23,0x01,0x00,0x00]
{evex} not dword ptr [r8 + 4*rax + 291]
# CHECK: not ecx, dword ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x74,0x18,0xf7,0x94,0x80,0x23,0x01,0x00,0x00]
not ecx, dword ptr [r8 + 4*rax + 291]
# CHECK: {evex} not qword ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0xfc,0x08,0xf7,0x94,0x80,0x23,0x01,0x00,0x00]
{evex} not qword ptr [r8 + 4*rax + 291]
# CHECK: not r9, qword ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0xb4,0x18,0xf7,0x94,0x80,0x23,0x01,0x00,0x00]
not r9, qword ptr [r8 + 4*rax + 291]