1 // RUN
: llvm-mc
-triple x86_64-unknown-unknown
--show-encoding
%s | FileCheck
%s
4 // CHECK
: bextrl $
2814, %edi
, %eax
5 // CHECK
: encoding
: [0x8f,0xea,0x78,0x10,0xc7,0xfe,0x0a,0x00,0x00]
6 bextr $
2814, %edi
, %eax
9 // CHECK
: bextrl $
2814, (%rdi
), %eax
10 // CHECK
: encoding
: [0x8f,0xea,0x78,0x10,0x07,0xfe,0x0a,0x00,0x00]
11 bextr $
2814, (%rdi
), %eax
14 // CHECK
: bextrq $
2814, %rdi
, %rax
15 // CHECK
: encoding
: [0x8f,0xea,0xf8,0x10,0xc7,0xfe,0x0a,0x00,0x00]
16 bextr $
2814, %rdi
, %rax
19 // CHECK
: bextrq $
2814, (%rdi
), %rax
20 // CHECK
: encoding
: [0x8f,0xea,0xf8,0x10,0x07,0xfe,0x0a,0x00,0x00]
21 bextr $
2814, (%rdi
), %rax
24 // CHECK
: blcfilll
%edi
, %eax
25 // CHECK
: encoding
: [0x8f,0xe9,0x78,0x01,0xcf]
29 // CHECK
: blcfilll
(%rdi
), %eax
30 // CHECK
: encoding
: [0x8f,0xe9,0x78,0x01,0x0f]
34 // CHECK
: blcfillq
%rdi
, %rax
35 // CHECK
: encoding
: [0x8f,0xe9,0xf8,0x01,0xcf]
39 // CHECK
: blcfillq
(%rdi
), %rax
40 // CHECK
: encoding
: [0x8f,0xe9,0xf8,0x01,0x0f]
44 // CHECK
: blcil
%edi
, %eax
45 // CHECK
: encoding
: [0x8f,0xe9,0x78,0x02,0xf7]
49 // CHECK
: blcil
(%rdi
), %eax
50 // CHECK
: encoding
: [0x8f,0xe9,0x78,0x02,0x37]
54 // CHECK
: blciq
%rdi
, %rax
55 // CHECK
: encoding
: [0x8f,0xe9,0xf8,0x02,0xf7]
59 // CHECK
: blciq
(%rdi
), %rax
60 // CHECK
: encoding
: [0x8f,0xe9,0xf8,0x02,0x37]
64 // CHECK
: blcicl
%edi
, %eax
65 // CHECK
: encoding
: [0x8f,0xe9,0x78,0x01,0xef]
69 // CHECK
: blcicl
(%rdi
), %eax
70 // CHECK
: encoding
: [0x8f,0xe9,0x78,0x01,0x2f]
74 // CHECK
: blcicq
%rdi
, %rax
75 // CHECK
: encoding
: [0x8f,0xe9,0xf8,0x01,0xef]
79 // CHECK
: blcicq
(%rdi
), %rax
80 // CHECK
: encoding
: [0x8f,0xe9,0xf8,0x01,0x2f]
84 // CHECK
: blcmskl
%edi
, %eax
85 // CHECK
: encoding
: [0x8f,0xe9,0x78,0x02,0xcf]
89 // CHECK
: blcmskl
(%rdi
), %eax
90 // CHECK
: encoding
: [0x8f,0xe9,0x78,0x02,0x0f]
94 // CHECK
: blcmskq
%rdi
, %rax
95 // CHECK
: encoding
: [0x8f,0xe9,0xf8,0x02,0xcf]
99 // CHECK
: blcmskq
(%rdi
), %rax
100 // CHECK
: encoding
: [0x8f,0xe9,0xf8,0x02,0x0f]
104 // CHECK
: blcsl
%edi
, %eax
105 // CHECK
: encoding
: [0x8f,0xe9,0x78,0x01,0xdf]
109 // CHECK
: blcsl
(%rdi
), %eax
110 // CHECK
: encoding
: [0x8f,0xe9,0x78,0x01,0x1f]
114 // CHECK
: blcsq
%rdi
, %rax
115 // CHECK
: encoding
: [0x8f,0xe9,0xf8,0x01,0xdf]
119 // CHECK
: blcsq
(%rdi
), %rax
120 // CHECK
: encoding
: [0x8f,0xe9,0xf8,0x01,0x1f]
124 // CHECK
: blsfilll
%edi
, %eax
125 // CHECK
: encoding
: [0x8f,0xe9,0x78,0x01,0xd7]
129 // CHECK
: blsfilll
(%rdi
), %eax
130 // CHECK
: encoding
: [0x8f,0xe9,0x78,0x01,0x17]
134 // CHECK
: blsfillq
%rdi
, %rax
135 // CHECK
: encoding
: [0x8f,0xe9,0xf8,0x01,0xd7]
139 // CHECK
: blsfillq
(%rdi
), %rax
140 // CHECK
: encoding
: [0x8f,0xe9,0xf8,0x01,0x17]
144 // CHECK
: blsicl
%edi
, %eax
145 // CHECK
: encoding
: [0x8f,0xe9,0x78,0x01,0xf7]
149 // CHECK
: blsicl
(%rdi
), %eax
150 // CHECK
: encoding
: [0x8f,0xe9,0x78,0x01,0x37]
154 // CHECK
: blsicq
%rdi
, %rax
155 // CHECK
: encoding
: [0x8f,0xe9,0xf8,0x01,0xf7]
159 // CHECK
: t1mskcl
%edi
, %eax
160 // CHECK
: encoding
: [0x8f,0xe9,0x78,0x01,0xff]
164 // CHECK
: t1mskcl
(%rdi
), %eax
165 // CHECK
: encoding
: [0x8f,0xe9,0x78,0x01,0x3f]
169 // CHECK
: t1mskcq
%rdi
, %rax
170 // CHECK
: encoding
: [0x8f,0xe9,0xf8,0x01,0xff]
174 // CHECK
: t1mskcq
(%rdi
), %rax
175 // CHECK
: encoding
: [0x8f,0xe9,0xf8,0x01,0x3f]
179 // CHECK
: tzmskl
%edi
, %eax
180 // CHECK
: encoding
: [0x8f,0xe9,0x78,0x01,0xe7]
184 // CHECK
: tzmskl
(%rdi
), %eax
185 // CHECK
: encoding
: [0x8f,0xe9,0x78,0x01,0x27]
189 // CHECK
: tzmskq
%rdi
, %rax
190 // CHECK
: encoding
: [0x8f,0xe9,0xf8,0x01,0xe7]
194 // CHECK
: tzmskq
(%rdi
), %rax
195 // CHECK
: encoding
: [0x8f,0xe9,0xf8,0x01,0x27]
198 // CHECK
: encoding
: [0x67,0xc4,0xe2,0x60,0xf7,0x07]
199 bextr
%ebx
, (%edi
), %eax
201 // CHECK
: encoding
: [0x67,0x8f,0xea,0x78,0x10,0x07,A,A,A,A]
202 bextr $foo
, (%edi
), %eax