Debian Codegraph @

llvm/test/MC/X86/apx/inc-intel.s

raw
1 # RUN: llvm-mc -triple x86_64 -show-encoding -x86-asm-syntax=intel -output-asm-variant=1 %s | FileCheck %s
2
3 # CHECK: {evex} inc bl
4 # CHECK: encoding: [0x62,0xf4,0x7c,0x08,0xfe,0xc3]
5 {evex} inc bl
6 # CHECK: {nf} inc bl
7 # CHECK: encoding: [0x62,0xf4,0x7c,0x0c,0xfe,0xc3]
8 {nf} inc bl
9 # CHECK: inc bl, bl
10 # CHECK: encoding: [0x62,0xf4,0x64,0x18,0xfe,0xc3]
11 inc bl, bl
12 # CHECK: {nf} inc bl, bl
13 # CHECK: encoding: [0x62,0xf4,0x64,0x1c,0xfe,0xc3]
14 {nf} inc bl, bl
15 # CHECK: {evex} inc dx
16 # CHECK: encoding: [0x62,0xf4,0x7d,0x08,0xff,0xc2]
17 {evex} inc dx
18 # CHECK: {nf} inc dx
19 # CHECK: encoding: [0x62,0xf4,0x7d,0x0c,0xff,0xc2]
20 {nf} inc dx
21 # CHECK: inc dx, dx
22 # CHECK: encoding: [0x62,0xf4,0x6d,0x18,0xff,0xc2]
23 inc dx, dx
24 # CHECK: {nf} inc dx, dx
25 # CHECK: encoding: [0x62,0xf4,0x6d,0x1c,0xff,0xc2]
26 {nf} inc dx, dx
27 # CHECK: {evex} inc ecx
28 # CHECK: encoding: [0x62,0xf4,0x7c,0x08,0xff,0xc1]
29 {evex} inc ecx
30 # CHECK: {nf} inc ecx
31 # CHECK: encoding: [0x62,0xf4,0x7c,0x0c,0xff,0xc1]
32 {nf} inc ecx
33 # CHECK: inc ecx, ecx
34 # CHECK: encoding: [0x62,0xf4,0x74,0x18,0xff,0xc1]
35 inc ecx, ecx
36 # CHECK: {nf} inc ecx, ecx
37 # CHECK: encoding: [0x62,0xf4,0x74,0x1c,0xff,0xc1]
38 {nf} inc ecx, ecx
39 # CHECK: {evex} inc r9
40 # CHECK: encoding: [0x62,0xd4,0xfc,0x08,0xff,0xc1]
41 {evex} inc r9
42 # CHECK: {nf} inc r9
43 # CHECK: encoding: [0x62,0xd4,0xfc,0x0c,0xff,0xc1]
44 {nf} inc r9
45 # CHECK: inc r9, r9
46 # CHECK: encoding: [0x62,0xd4,0xb4,0x18,0xff,0xc1]
47 inc r9, r9
48 # CHECK: {nf} inc r9, r9
49 # CHECK: encoding: [0x62,0xd4,0xb4,0x1c,0xff,0xc1]
50 {nf} inc r9, r9
51 # CHECK: {evex} inc byte ptr [r8 + 4*rax + 291]
52 # CHECK: encoding: [0x62,0xd4,0x7c,0x08,0xfe,0x84,0x80,0x23,0x01,0x00,0x00]
53 {evex} inc byte ptr [r8 + 4*rax + 291]
54 # CHECK: {nf} inc byte ptr [r8 + 4*rax + 291]
55 # CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0xfe,0x84,0x80,0x23,0x01,0x00,0x00]
56 {nf} inc byte ptr [r8 + 4*rax + 291]
57 # CHECK: inc bl, byte ptr [r8 + 4*rax + 291]
58 # CHECK: encoding: [0x62,0xd4,0x64,0x18,0xfe,0x84,0x80,0x23,0x01,0x00,0x00]
59 inc bl, byte ptr [r8 + 4*rax + 291]
60 # CHECK: {nf} inc bl, byte ptr [r8 + 4*rax + 291]
61 # CHECK: encoding: [0x62,0xd4,0x64,0x1c,0xfe,0x84,0x80,0x23,0x01,0x00,0x00]
62 {nf} inc bl, byte ptr [r8 + 4*rax + 291]
63 # CHECK: {evex} inc word ptr [r8 + 4*rax + 291]
64 # CHECK: encoding: [0x62,0xd4,0x7d,0x08,0xff,0x84,0x80,0x23,0x01,0x00,0x00]
65 {evex} inc word ptr [r8 + 4*rax + 291]
66 # CHECK: {nf} inc word ptr [r8 + 4*rax + 291]
67 # CHECK: encoding: [0x62,0xd4,0x7d,0x0c,0xff,0x84,0x80,0x23,0x01,0x00,0x00]
68 {nf} inc word ptr [r8 + 4*rax + 291]
69 # CHECK: inc dx, word ptr [r8 + 4*rax + 291]
70 # CHECK: encoding: [0x62,0xd4,0x6d,0x18,0xff,0x84,0x80,0x23,0x01,0x00,0x00]
71 inc dx, word ptr [r8 + 4*rax + 291]
72 # CHECK: {nf} inc dx, word ptr [r8 + 4*rax + 291]
73 # CHECK: encoding: [0x62,0xd4,0x6d,0x1c,0xff,0x84,0x80,0x23,0x01,0x00,0x00]
74 {nf} inc dx, word ptr [r8 + 4*rax + 291]
75 # CHECK: {evex} inc dword ptr [r8 + 4*rax + 291]
76 # CHECK: encoding: [0x62,0xd4,0x7c,0x08,0xff,0x84,0x80,0x23,0x01,0x00,0x00]
77 {evex} inc dword ptr [r8 + 4*rax + 291]
78 # CHECK: {nf} inc dword ptr [r8 + 4*rax + 291]
79 # CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0xff,0x84,0x80,0x23,0x01,0x00,0x00]
80 {nf} inc dword ptr [r8 + 4*rax + 291]
81 # CHECK: inc ecx, dword ptr [r8 + 4*rax + 291]
82 # CHECK: encoding: [0x62,0xd4,0x74,0x18,0xff,0x84,0x80,0x23,0x01,0x00,0x00]
83 inc ecx, dword ptr [r8 + 4*rax + 291]
84 # CHECK: {nf} inc ecx, dword ptr [r8 + 4*rax + 291]
85 # CHECK: encoding: [0x62,0xd4,0x74,0x1c,0xff,0x84,0x80,0x23,0x01,0x00,0x00]
86 {nf} inc ecx, dword ptr [r8 + 4*rax + 291]
87 # CHECK: {evex} inc qword ptr [r8 + 4*rax + 291]
88 # CHECK: encoding: [0x62,0xd4,0xfc,0x08,0xff,0x84,0x80,0x23,0x01,0x00,0x00]
89 {evex} inc qword ptr [r8 + 4*rax + 291]
90 # CHECK: {nf} inc qword ptr [r8 + 4*rax + 291]
91 # CHECK: encoding: [0x62,0xd4,0xfc,0x0c,0xff,0x84,0x80,0x23,0x01,0x00,0x00]
92 {nf} inc qword ptr [r8 + 4*rax + 291]
93 # CHECK: inc r9, qword ptr [r8 + 4*rax + 291]
94 # CHECK: encoding: [0x62,0xd4,0xb4,0x18,0xff,0x84,0x80,0x23,0x01,0x00,0x00]
95 inc r9, qword ptr [r8 + 4*rax + 291]
96 # CHECK: {nf} inc r9, qword ptr [r8 + 4*rax + 291]
97 # CHECK: encoding: [0x62,0xd4,0xb4,0x1c,0xff,0x84,0x80,0x23,0x01,0x00,0x00]
98 {nf} inc r9, qword ptr [r8 + 4*rax + 291]