brintos

brintos / llvm-project-archived public Read only

0
0
Text · 4.1 KiB · c40241b Raw
102 lines · plain
1# RUN: llvm-mc -triple x86_64 -show-encoding %s | FileCheck %s2# RUN: not llvm-mc -triple i386 -show-encoding %s 2>&1 | FileCheck %s --check-prefix=ERROR3 4# ERROR-COUNT-32: error:5# ERROR-NOT: error:6# CHECK: {evex}	negb	%bl7# CHECK: encoding: [0x62,0xf4,0x7c,0x08,0xf6,0xdb]8         {evex}	negb	%bl9# CHECK: {nf}	negb	%bl10# CHECK: encoding: [0x62,0xf4,0x7c,0x0c,0xf6,0xdb]11         {nf}	negb	%bl12# CHECK: negb	%bl, %bl13# CHECK: encoding: [0x62,0xf4,0x64,0x18,0xf6,0xdb]14         negb	%bl, %bl15# CHECK: {nf}	negb	%bl, %bl16# CHECK: encoding: [0x62,0xf4,0x64,0x1c,0xf6,0xdb]17         {nf}	negb	%bl, %bl18# CHECK: {evex}	negw	%dx19# CHECK: encoding: [0x62,0xf4,0x7d,0x08,0xf7,0xda]20         {evex}	negw	%dx21# CHECK: {nf}	negw	%dx22# CHECK: encoding: [0x62,0xf4,0x7d,0x0c,0xf7,0xda]23         {nf}	negw	%dx24# CHECK: negw	%dx, %dx25# CHECK: encoding: [0x62,0xf4,0x6d,0x18,0xf7,0xda]26         negw	%dx, %dx27# CHECK: {nf}	negw	%dx, %dx28# CHECK: encoding: [0x62,0xf4,0x6d,0x1c,0xf7,0xda]29         {nf}	negw	%dx, %dx30# CHECK: {evex}	negl	%ecx31# CHECK: encoding: [0x62,0xf4,0x7c,0x08,0xf7,0xd9]32         {evex}	negl	%ecx33# CHECK: {nf}	negl	%ecx34# CHECK: encoding: [0x62,0xf4,0x7c,0x0c,0xf7,0xd9]35         {nf}	negl	%ecx36# CHECK: negl	%ecx, %ecx37# CHECK: encoding: [0x62,0xf4,0x74,0x18,0xf7,0xd9]38         negl	%ecx, %ecx39# CHECK: {nf}	negl	%ecx, %ecx40# CHECK: encoding: [0x62,0xf4,0x74,0x1c,0xf7,0xd9]41         {nf}	negl	%ecx, %ecx42# CHECK: {evex}	negq	%r943# CHECK: encoding: [0x62,0xd4,0xfc,0x08,0xf7,0xd9]44         {evex}	negq	%r945# CHECK: {nf}	negq	%r946# CHECK: encoding: [0x62,0xd4,0xfc,0x0c,0xf7,0xd9]47         {nf}	negq	%r948# CHECK: negq	%r9, %r949# CHECK: encoding: [0x62,0xd4,0xb4,0x18,0xf7,0xd9]50         negq	%r9, %r951# CHECK: {nf}	negq	%r9, %r952# CHECK: encoding: [0x62,0xd4,0xb4,0x1c,0xf7,0xd9]53         {nf}	negq	%r9, %r954# CHECK: {evex}	negb	291(%r8,%rax,4)55# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0xf6,0x9c,0x80,0x23,0x01,0x00,0x00]56         {evex}	negb	291(%r8,%rax,4)57# CHECK: {nf}	negb	291(%r8,%rax,4)58# CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0xf6,0x9c,0x80,0x23,0x01,0x00,0x00]59         {nf}	negb	291(%r8,%rax,4)60# CHECK: negb	291(%r8,%rax,4), %bl61# CHECK: encoding: [0x62,0xd4,0x64,0x18,0xf6,0x9c,0x80,0x23,0x01,0x00,0x00]62         negb	291(%r8,%rax,4), %bl63# CHECK: {nf}	negb	291(%r8,%rax,4), %bl64# CHECK: encoding: [0x62,0xd4,0x64,0x1c,0xf6,0x9c,0x80,0x23,0x01,0x00,0x00]65         {nf}	negb	291(%r8,%rax,4), %bl66# CHECK: {evex}	negw	291(%r8,%rax,4)67# CHECK: encoding: [0x62,0xd4,0x7d,0x08,0xf7,0x9c,0x80,0x23,0x01,0x00,0x00]68         {evex}	negw	291(%r8,%rax,4)69# CHECK: {nf}	negw	291(%r8,%rax,4)70# CHECK: encoding: [0x62,0xd4,0x7d,0x0c,0xf7,0x9c,0x80,0x23,0x01,0x00,0x00]71         {nf}	negw	291(%r8,%rax,4)72# CHECK: negw	291(%r8,%rax,4), %dx73# CHECK: encoding: [0x62,0xd4,0x6d,0x18,0xf7,0x9c,0x80,0x23,0x01,0x00,0x00]74         negw	291(%r8,%rax,4), %dx75# CHECK: {nf}	negw	291(%r8,%rax,4), %dx76# CHECK: encoding: [0x62,0xd4,0x6d,0x1c,0xf7,0x9c,0x80,0x23,0x01,0x00,0x00]77         {nf}	negw	291(%r8,%rax,4), %dx78# CHECK: {evex}	negl	291(%r8,%rax,4)79# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0xf7,0x9c,0x80,0x23,0x01,0x00,0x00]80         {evex}	negl	291(%r8,%rax,4)81# CHECK: {nf}	negl	291(%r8,%rax,4)82# CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0xf7,0x9c,0x80,0x23,0x01,0x00,0x00]83         {nf}	negl	291(%r8,%rax,4)84# CHECK: negl	291(%r8,%rax,4), %ecx85# CHECK: encoding: [0x62,0xd4,0x74,0x18,0xf7,0x9c,0x80,0x23,0x01,0x00,0x00]86         negl	291(%r8,%rax,4), %ecx87# CHECK: {nf}	negl	291(%r8,%rax,4), %ecx88# CHECK: encoding: [0x62,0xd4,0x74,0x1c,0xf7,0x9c,0x80,0x23,0x01,0x00,0x00]89         {nf}	negl	291(%r8,%rax,4), %ecx90# CHECK: {evex}	negq	291(%r8,%rax,4)91# CHECK: encoding: [0x62,0xd4,0xfc,0x08,0xf7,0x9c,0x80,0x23,0x01,0x00,0x00]92         {evex}	negq	291(%r8,%rax,4)93# CHECK: {nf}	negq	291(%r8,%rax,4)94# CHECK: encoding: [0x62,0xd4,0xfc,0x0c,0xf7,0x9c,0x80,0x23,0x01,0x00,0x00]95         {nf}	negq	291(%r8,%rax,4)96# CHECK: negq	291(%r8,%rax,4), %r997# CHECK: encoding: [0x62,0xd4,0xb4,0x18,0xf7,0x9c,0x80,0x23,0x01,0x00,0x00]98         negq	291(%r8,%rax,4), %r999# CHECK: {nf}	negq	291(%r8,%rax,4), %r9100# CHECK: encoding: [0x62,0xd4,0xb4,0x1c,0xf7,0x9c,0x80,0x23,0x01,0x00,0x00]101         {nf}	negq	291(%r8,%rax,4), %r9102