53 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-12: error:5# ERROR-NOT: error:6# CHECK: {nf} andnl %ecx, %edx, %r10d7# CHECK: encoding: [0x62,0x72,0x6c,0x0c,0xf2,0xd1]8 {nf} andnl %ecx, %edx, %r10d9 10# CHECK: {evex} andnl %ecx, %edx, %r10d11# CHECK: encoding: [0x62,0x72,0x6c,0x08,0xf2,0xd1]12 {evex} andnl %ecx, %edx, %r10d13 14# CHECK: {nf} andnq %r9, %r15, %r1115# CHECK: encoding: [0x62,0x52,0x84,0x0c,0xf2,0xd9]16 {nf} andnq %r9, %r15, %r1117 18# CHECK: {evex} andnq %r9, %r15, %r1119# CHECK: encoding: [0x62,0x52,0x84,0x08,0xf2,0xd9]20 {evex} andnq %r9, %r15, %r1121 22# CHECK: {nf} andnl 123(%rax,%rbx,4), %ecx, %edx23# CHECK: encoding: [0x62,0xf2,0x74,0x0c,0xf2,0x54,0x98,0x7b]24 {nf} andnl 123(%rax,%rbx,4), %ecx, %edx25 26# CHECK: {evex} andnl 123(%rax,%rbx,4), %ecx, %edx27# CHECK: encoding: [0x62,0xf2,0x74,0x08,0xf2,0x54,0x98,0x7b]28 {evex} andnl 123(%rax,%rbx,4), %ecx, %edx29 30# CHECK: {nf} andnq 123(%rax,%rbx,4), %r9, %r1531# CHECK: encoding: [0x62,0x72,0xb4,0x0c,0xf2,0x7c,0x98,0x7b]32 {nf} andnq 123(%rax,%rbx,4), %r9, %r1533 34# CHECK: {evex} andnq 123(%rax,%rbx,4), %r9, %r1535# CHECK: encoding: [0x62,0x72,0xb4,0x08,0xf2,0x7c,0x98,0x7b]36 {evex} andnq 123(%rax,%rbx,4), %r9, %r1537 38# CHECK: andnl %r18d, %r22d, %r26d39# CHECK: encoding: [0x62,0x6a,0x4c,0x00,0xf2,0xd2]40 andnl %r18d, %r22d, %r26d41 42# CHECK: andnq %r19, %r23, %r2743# CHECK: encoding: [0x62,0x6a,0xc4,0x00,0xf2,0xdb]44 andnq %r19, %r23, %r2745 46# CHECK: andnl 291(%r28,%r29,4), %r18d, %r22d47# CHECK: encoding: [0x62,0x8a,0x68,0x00,0xf2,0xb4,0xac,0x23,0x01,0x00,0x00]48 andnl 291(%r28,%r29,4), %r18d, %r22d49 50# CHECK: andnq 291(%r28,%r29,4), %r19, %r2351# CHECK: encoding: [0x62,0x8a,0xe0,0x00,0xf2,0xbc,0xac,0x23,0x01,0x00,0x00]52 andnq 291(%r28,%r29,4), %r19, %r2353