llvm/llvm/test/MC/X86/apx/not-att.s

# RUN: llvm-mc -triple x86_64 -show-encoding %s | FileCheck %s
# RUN: not llvm-mc -triple i386 -show-encoding %s 2>&1 | FileCheck %s --check-prefix=ERROR

# ERROR-COUNT-16: error:
# ERROR-NOT: error:
# CHECK: {evex}	notb	%bl
# CHECK: encoding: [0x62,0xf4,0x7c,0x08,0xf6,0xd3]
         {evex}	notb	%bl
# CHECK: notb	%bl, %bl
# CHECK: encoding: [0x62,0xf4,0x64,0x18,0xf6,0xd3]
         notb	%bl, %bl
# CHECK: {evex}	notw	%dx
# CHECK: encoding: [0x62,0xf4,0x7d,0x08,0xf7,0xd2]
         {evex}	notw	%dx
# CHECK: notw	%dx, %dx
# CHECK: encoding: [0x62,0xf4,0x6d,0x18,0xf7,0xd2]
         notw	%dx, %dx
# CHECK: {evex}	notl	%ecx
# CHECK: encoding: [0x62,0xf4,0x7c,0x08,0xf7,0xd1]
         {evex}	notl	%ecx
# CHECK: notl	%ecx, %ecx
# CHECK: encoding: [0x62,0xf4,0x74,0x18,0xf7,0xd1]
         notl	%ecx, %ecx
# CHECK: {evex}	notq	%r9
# CHECK: encoding: [0x62,0xd4,0xfc,0x08,0xf7,0xd1]
         {evex}	notq	%r9
# CHECK: notq	%r9, %r9
# CHECK: encoding: [0x62,0xd4,0xb4,0x18,0xf7,0xd1]
         notq	%r9, %r9
# CHECK: {evex}	notb	291(%r8,%rax,4)
# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0xf6,0x94,0x80,0x23,0x01,0x00,0x00]
         {evex}	notb	291(%r8,%rax,4)
# CHECK: notb	291(%r8,%rax,4), %bl
# CHECK: encoding: [0x62,0xd4,0x64,0x18,0xf6,0x94,0x80,0x23,0x01,0x00,0x00]
         notb	291(%r8,%rax,4), %bl
# CHECK: {evex}	notw	291(%r8,%rax,4)
# CHECK: encoding: [0x62,0xd4,0x7d,0x08,0xf7,0x94,0x80,0x23,0x01,0x00,0x00]
         {evex}	notw	291(%r8,%rax,4)
# CHECK: notw	291(%r8,%rax,4), %dx
# CHECK: encoding: [0x62,0xd4,0x6d,0x18,0xf7,0x94,0x80,0x23,0x01,0x00,0x00]
         notw	291(%r8,%rax,4), %dx
# CHECK: {evex}	notl	291(%r8,%rax,4)
# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0xf7,0x94,0x80,0x23,0x01,0x00,0x00]
         {evex}	notl	291(%r8,%rax,4)
# CHECK: notl	291(%r8,%rax,4), %ecx
# CHECK: encoding: [0x62,0xd4,0x74,0x18,0xf7,0x94,0x80,0x23,0x01,0x00,0x00]
         notl	291(%r8,%rax,4), %ecx
# CHECK: {evex}	notq	291(%r8,%rax,4)
# CHECK: encoding: [0x62,0xd4,0xfc,0x08,0xf7,0x94,0x80,0x23,0x01,0x00,0x00]
         {evex}	notq	291(%r8,%rax,4)
# CHECK: notq	291(%r8,%rax,4), %r9
# CHECK: encoding: [0x62,0xd4,0xb4,0x18,0xf7,0x94,0x80,0x23,0x01,0x00,0x00]
         notq	291(%r8,%rax,4), %r9