Debian Codegraph @

llvm/test/MC/X86/apx/shl-encopt.s

raw
1 # RUN: llvm-mc -triple x86_64 -show-encoding %s | FileCheck %s
2
3 # CHECK: {evex} shlb %al
4 # CHECK: encoding: [0x62,0xf4,0x7c,0x08,0xd0,0xe0]
5 {evex} shlb $1, %al
6 # CHECK: {evex} shlw %ax
7 # CHECK: encoding: [0x62,0xf4,0x7d,0x08,0xd1,0xe0]
8 {evex} shlw $1, %ax
9 # CHECK: {evex} shll %eax
10 # CHECK: encoding: [0x62,0xf4,0x7c,0x08,0xd1,0xe0]
11 {evex} shll $1, %eax
12 # CHECK: {evex} shlq %rax
13 # CHECK: encoding: [0x62,0xf4,0xfc,0x08,0xd1,0xe0]
14 {evex} shlq $1, %rax
15 # CHECK: {nf} shlb %al
16 # CHECK: encoding: [0x62,0xf4,0x7c,0x0c,0xd0,0xe0]
17 {nf} shlb $1, %al
18 # CHECK: {nf} shlw %ax
19 # CHECK: encoding: [0x62,0xf4,0x7d,0x0c,0xd1,0xe0]
20 {nf} shlw $1, %ax
21 # CHECK: {nf} shll %eax
22 # CHECK: encoding: [0x62,0xf4,0x7c,0x0c,0xd1,0xe0]
23 {nf} shll $1, %eax
24 # CHECK: {nf} shlq %rax
25 # CHECK: encoding: [0x62,0xf4,0xfc,0x0c,0xd1,0xe0]
26 {nf} shlq $1, %rax
27 # CHECK: shlb %al, %bl
28 # CHECK: encoding: [0x62,0xf4,0x64,0x18,0xd0,0xe0]
29 shlb $1, %al, %bl
30 # CHECK: shlw %ax, %bx
31 # CHECK: encoding: [0x62,0xf4,0x65,0x18,0xd1,0xe0]
32 shlw $1, %ax, %bx
33 # CHECK: shll %eax, %ebx
34 # CHECK: encoding: [0x62,0xf4,0x64,0x18,0xd1,0xe0]
35 shll %eax, %ebx
36 # CHECK: shlq %rax, %rbx
37 # CHECK: encoding: [0x62,0xf4,0xe4,0x18,0xd1,0xe0]
38 shlq $1, %rax, %rbx
39 # CHECK: {nf} shlb %al, %bl
40 # CHECK: encoding: [0x62,0xf4,0x64,0x1c,0xd0,0xe0]
41 {nf} shlb $1, %al, %bl
42 # CHECK: {nf} shlw %ax, %bx
43 # CHECK: encoding: [0x62,0xf4,0x65,0x1c,0xd1,0xe0]
44 {nf} shlw $1, %ax, %bx
45 # CHECK: {nf} shll %eax, %ebx
46 # CHECK: encoding: [0x62,0xf4,0x64,0x1c,0xd1,0xe0]
47 {nf} shll $1, %eax, %ebx
48 # CHECK: {nf} shlq %rax, %rbx
49 # CHECK: encoding: [0x62,0xf4,0xe4,0x1c,0xd1,0xe0]
50 {nf} shlq $1, %rax, %rbx
51 # CHECK: {evex} shlb 123(%r8,%rax,4)
52 # CHECK: encoding: [0x62,0xd4,0x7c,0x08,0xd0,0x64,0x80,0x7b]
53 {evex} shlb $1, 123(%r8,%rax,4)
54 # CHECK: {evex} shlw 123(%r8,%rax,4)
55 # CHECK: encoding: [0x62,0xd4,0x7d,0x08,0xd1,0x64,0x80,0x7b]
56 {evex} shlw $1, 123(%r8,%rax,4)
57 # CHECK: {evex} shll 123(%r8,%rax,4)
58 # CHECK: encoding: [0x62,0xd4,0x7c,0x08,0xd1,0x64,0x80,0x7b]
59 {evex} shll $1, 123(%r8,%rax,4)
60 # CHECK: {evex} shlq 123(%r8,%rax,4)
61 # CHECK: encoding: [0x62,0xd4,0xfc,0x08,0xd1,0x64,0x80,0x7b]
62 {evex} shlq $1, 123(%r8,%rax,4)
63 # CHECK: {nf} shlb 123(%r8,%rax,4)
64 # CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0xd0,0x64,0x80,0x7b]
65 {nf} shlb $1, 123(%r8,%rax,4)
66 # CHECK: {nf} shlw 123(%r8,%rax,4)
67 # CHECK: encoding: [0x62,0xd4,0x7d,0x0c,0xd1,0x64,0x80,0x7b]
68 {nf} shlw $1, 123(%r8,%rax,4)
69 # CHECK: {nf} shll 123(%r8,%rax,4)
70 # CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0xd1,0x64,0x80,0x7b]
71 {nf} shll $1, 123(%r8,%rax,4)
72 # CHECK: {nf} shlq 123(%r8,%rax,4)
73 # CHECK: encoding: [0x62,0xd4,0xfc,0x0c,0xd1,0x64,0x80,0x7b]
74 {nf} shlq $1, 123(%r8,%rax,4)
75 # CHECK: shlb 123(%r8,%rax,4), %bl
76 # CHECK: encoding: [0x62,0xd4,0x64,0x18,0xd0,0x64,0x80,0x7b]
77 shlb $1, 123(%r8,%rax,4), %bl
78 # CHECK: shlw 123(%r8,%rax,4), %bx
79 # CHECK: encoding: [0x62,0xd4,0x65,0x18,0xd1,0x64,0x80,0x7b]
80 shlw $1, 123(%r8,%rax,4), %bx
81 # CHECK: shll 123(%r8,%rax,4), %ebx
82 # CHECK: encoding: [0x62,0xd4,0x64,0x18,0xd1,0x64,0x80,0x7b]
83 shll $1, 123(%r8,%rax,4), %ebx
84 # CHECK: shlq 123(%r8,%rax,4), %rbx
85 # CHECK: encoding: [0x62,0xd4,0xe4,0x18,0xd1,0x64,0x80,0x7b]
86 shlq $1, 123(%r8,%rax,4), %rbx
87 # CHECK: {nf} shlb 123(%r8,%rax,4), %bl
88 # CHECK: encoding: [0x62,0xd4,0x64,0x1c,0xd0,0x64,0x80,0x7b]
89 {nf} shlb $1, 123(%r8,%rax,4), %bl
90 # CHECK: {nf} shlw 123(%r8,%rax,4), %bx
91 # CHECK: encoding: [0x62,0xd4,0x65,0x1c,0xd1,0x64,0x80,0x7b]
92 {nf} shlw $1, 123(%r8,%rax,4), %bx
93 # CHECK: {nf} shll 123(%r8,%rax,4), %ebx
94 # CHECK: encoding: [0x62,0xd4,0x64,0x1c,0xd1,0x64,0x80,0x7b]
95 {nf} shll $1, 123(%r8,%rax,4), %ebx
96 # CHECK: {nf} shlq 123(%r8,%rax,4), %rbx
97 # CHECK: encoding: [0x62,0xd4,0xe4,0x1c,0xd1,0x64,0x80,0x7b]
98 {nf} shlq $1, 123(%r8,%rax,4), %rbx