Debian Codegraph @

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

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