1 // RUN
: llvm-mc
-triple x86_64-unknown-unknown
--show-encoding
%s | FileCheck
%s
3 // CHECK
: aaddq
%r9, 268435456(%rbp
,%r14,8)
4 // CHECK
: encoding
: [0x4e,0x0f,0x38,0xfc,0x8c,0xf5,0x00,0x00,0x00,0x10]
5 aaddq
%r9, 268435456(%rbp
,%r14,8)
7 // CHECK
: aaddq
%r9, 291(%r8,%rax
,4)
8 // CHECK
: encoding
: [0x4d,0x0f,0x38,0xfc,0x8c,0x80,0x23,0x01,0x00,0x00]
9 aaddq
%r9, 291(%r8,%rax
,4)
11 // CHECK
: aaddq
%r9, (%rip
)
12 // CHECK
: encoding
: [0x4c,0x0f,0x38,0xfc,0x0d,0x00,0x00,0x00,0x00]
15 // CHECK
: aaddq
%r9, -512(,%rbp
,2)
16 // CHECK
: encoding
: [0x4c,0x0f,0x38,0xfc,0x0c,0x6d,0x00,0xfe,0xff,0xff]
17 aaddq
%r9, -512(,%rbp
,2)
19 // CHECK
: aaddq
%r9, 2032(%rcx
)
20 // CHECK
: encoding
: [0x4c,0x0f,0x38,0xfc,0x89,0xf0,0x07,0x00,0x00]
23 // CHECK
: aaddq
%r9, -2048(%rdx
)
24 // CHECK
: encoding
: [0x4c,0x0f,0x38,0xfc,0x8a,0x00,0xf8,0xff,0xff]
25 aaddq
%r9, -2048(%rdx
)
27 // CHECK
: aaddl
%ebx
, 268435456(%esp
,%esi
,8)
28 // CHECK
: encoding
: [0x67,0x0f,0x38,0xfc,0x9c,0xf4,0x00,0x00,0x00,0x10]
29 aaddl
%ebx
, 268435456(%esp
,%esi
,8)
31 // CHECK
: aaddl
%ebx
, 291(%edi
,%eax
,4)
32 // CHECK
: encoding
: [0x67,0x0f,0x38,0xfc,0x9c,0x87,0x23,0x01,0x00,0x00]
33 aaddl
%ebx
, 291(%edi
,%eax
,4)
35 // CHECK
: aaddl
%ebx
, (%eax
)
36 // CHECK
: encoding
: [0x67,0x0f,0x38,0xfc,0x18]
39 // CHECK
: aaddl
%ebx
, -512(,%ebp
,2)
40 // CHECK
: encoding
: [0x67,0x0f,0x38,0xfc,0x1c,0x6d,0x00,0xfe,0xff,0xff]
41 aaddl
%ebx
, -512(,%ebp
,2)
43 // CHECK
: aaddl
%ebx
, 2032(%ecx
)
44 // CHECK
: encoding
: [0x67,0x0f,0x38,0xfc,0x99,0xf0,0x07,0x00,0x00]
45 aaddl
%ebx
, 2032(%ecx
)
47 // CHECK
: aaddl
%ebx
, -2048(%edx
)
48 // CHECK
: encoding
: [0x67,0x0f,0x38,0xfc,0x9a,0x00,0xf8,0xff,0xff]
49 aaddl
%ebx
, -2048(%edx
)
51 // CHECK
: aandq
%r9, 268435456(%rbp
,%r14,8)
52 // CHECK
: encoding
: [0x66,0x4e,0x0f,0x38,0xfc,0x8c,0xf5,0x00,0x00,0x00,0x10]
53 aandq
%r9, 268435456(%rbp
,%r14,8)
55 // CHECK
: aandq
%r9, 291(%r8,%rax
,4)
56 // CHECK
: encoding
: [0x66,0x4d,0x0f,0x38,0xfc,0x8c,0x80,0x23,0x01,0x00,0x00]
57 aandq
%r9, 291(%r8,%rax
,4)
59 // CHECK
: aandq
%r9, (%rip
)
60 // CHECK
: encoding
: [0x66,0x4c,0x0f,0x38,0xfc,0x0d,0x00,0x00,0x00,0x00]
63 // CHECK
: aandq
%r9, -512(,%rbp
,2)
64 // CHECK
: encoding
: [0x66,0x4c,0x0f,0x38,0xfc,0x0c,0x6d,0x00,0xfe,0xff,0xff]
65 aandq
%r9, -512(,%rbp
,2)
67 // CHECK
: aandq
%r9, 2032(%rcx
)
68 // CHECK
: encoding
: [0x66,0x4c,0x0f,0x38,0xfc,0x89,0xf0,0x07,0x00,0x00]
71 // CHECK
: aandq
%r9, -2048(%rdx
)
72 // CHECK
: encoding
: [0x66,0x4c,0x0f,0x38,0xfc,0x8a,0x00,0xf8,0xff,0xff]
73 aandq
%r9, -2048(%rdx
)
75 // CHECK
: aandl
%ebx
, 268435456(%esp
,%esi
,8)
76 // CHECK
: encoding
: [0x67,0x66,0x0f,0x38,0xfc,0x9c,0xf4,0x00,0x00,0x00,0x10]
77 aandl
%ebx
, 268435456(%esp
,%esi
,8)
79 // CHECK
: aandl
%ebx
, 291(%edi
,%eax
,4)
80 // CHECK
: encoding
: [0x67,0x66,0x0f,0x38,0xfc,0x9c,0x87,0x23,0x01,0x00,0x00]
81 aandl
%ebx
, 291(%edi
,%eax
,4)
83 // CHECK
: aandl
%ebx
, (%eax
)
84 // CHECK
: encoding
: [0x67,0x66,0x0f,0x38,0xfc,0x18]
87 // CHECK
: aandl
%ebx
, -512(,%ebp
,2)
88 // CHECK
: encoding
: [0x67,0x66,0x0f,0x38,0xfc,0x1c,0x6d,0x00,0xfe,0xff,0xff]
89 aandl
%ebx
, -512(,%ebp
,2)
91 // CHECK
: aandl
%ebx
, 2032(%ecx
)
92 // CHECK
: encoding
: [0x67,0x66,0x0f,0x38,0xfc,0x99,0xf0,0x07,0x00,0x00]
93 aandl
%ebx
, 2032(%ecx
)
95 // CHECK
: aandl
%ebx
, -2048(%edx
)
96 // CHECK
: encoding
: [0x67,0x66,0x0f,0x38,0xfc,0x9a,0x00,0xf8,0xff,0xff]
97 aandl
%ebx
, -2048(%edx
)
99 // CHECK
: aorq
%r9, 268435456(%rbp
,%r14,8)
100 // CHECK
: encoding
: [0xf2,0x4e,0x0f,0x38,0xfc,0x8c,0xf5,0x00,0x00,0x00,0x10]
101 aorq
%r9, 268435456(%rbp
,%r14,8)
103 // CHECK
: aorq
%r9, 291(%r8,%rax
,4)
104 // CHECK
: encoding
: [0xf2,0x4d,0x0f,0x38,0xfc,0x8c,0x80,0x23,0x01,0x00,0x00]
105 aorq
%r9, 291(%r8,%rax
,4)
107 // CHECK
: aorq
%r9, (%rip
)
108 // CHECK
: encoding
: [0xf2,0x4c,0x0f,0x38,0xfc,0x0d,0x00,0x00,0x00,0x00]
111 // CHECK
: aorq
%r9, -512(,%rbp
,2)
112 // CHECK
: encoding
: [0xf2,0x4c,0x0f,0x38,0xfc,0x0c,0x6d,0x00,0xfe,0xff,0xff]
113 aorq
%r9, -512(,%rbp
,2)
115 // CHECK
: aorq
%r9, 2032(%rcx
)
116 // CHECK
: encoding
: [0xf2,0x4c,0x0f,0x38,0xfc,0x89,0xf0,0x07,0x00,0x00]
119 // CHECK
: aorq
%r9, -2048(%rdx
)
120 // CHECK
: encoding
: [0xf2,0x4c,0x0f,0x38,0xfc,0x8a,0x00,0xf8,0xff,0xff]
121 aorq
%r9, -2048(%rdx
)
123 // CHECK
: aorl
%ebx
, 268435456(%esp
,%esi
,8)
124 // CHECK
: encoding
: [0x67,0xf2,0x0f,0x38,0xfc,0x9c,0xf4,0x00,0x00,0x00,0x10]
125 aorl
%ebx
, 268435456(%esp
,%esi
,8)
127 // CHECK
: aorl
%ebx
, 291(%edi
,%eax
,4)
128 // CHECK
: encoding
: [0x67,0xf2,0x0f,0x38,0xfc,0x9c,0x87,0x23,0x01,0x00,0x00]
129 aorl
%ebx
, 291(%edi
,%eax
,4)
131 // CHECK
: aorl
%ebx
, (%eax
)
132 // CHECK
: encoding
: [0x67,0xf2,0x0f,0x38,0xfc,0x18]
135 // CHECK
: aorl
%ebx
, -512(,%ebp
,2)
136 // CHECK
: encoding
: [0x67,0xf2,0x0f,0x38,0xfc,0x1c,0x6d,0x00,0xfe,0xff,0xff]
137 aorl
%ebx
, -512(,%ebp
,2)
139 // CHECK
: aorl
%ebx
, 2032(%ecx
)
140 // CHECK
: encoding
: [0x67,0xf2,0x0f,0x38,0xfc,0x99,0xf0,0x07,0x00,0x00]
141 aorl
%ebx
, 2032(%ecx
)
143 // CHECK
: aorl
%ebx
, -2048(%edx
)
144 // CHECK
: encoding
: [0x67,0xf2,0x0f,0x38,0xfc,0x9a,0x00,0xf8,0xff,0xff]
145 aorl
%ebx
, -2048(%edx
)
147 // CHECK
: axorq
%r9, 268435456(%rbp
,%r14,8)
148 // CHECK
: encoding
: [0xf3,0x4e,0x0f,0x38,0xfc,0x8c,0xf5,0x00,0x00,0x00,0x10]
149 axorq
%r9, 268435456(%rbp
,%r14,8)
151 // CHECK
: axorq
%r9, 291(%r8,%rax
,4)
152 // CHECK
: encoding
: [0xf3,0x4d,0x0f,0x38,0xfc,0x8c,0x80,0x23,0x01,0x00,0x00]
153 axorq
%r9, 291(%r8,%rax
,4)
155 // CHECK
: axorq
%r9, (%rip
)
156 // CHECK
: encoding
: [0xf3,0x4c,0x0f,0x38,0xfc,0x0d,0x00,0x00,0x00,0x00]
159 // CHECK
: axorq
%r9, -512(,%rbp
,2)
160 // CHECK
: encoding
: [0xf3,0x4c,0x0f,0x38,0xfc,0x0c,0x6d,0x00,0xfe,0xff,0xff]
161 axorq
%r9, -512(,%rbp
,2)
163 // CHECK
: axorq
%r9, 2032(%rcx
)
164 // CHECK
: encoding
: [0xf3,0x4c,0x0f,0x38,0xfc,0x89,0xf0,0x07,0x00,0x00]
165 axorq
%r9, 2032(%rcx
)
167 // CHECK
: axorq
%r9, -2048(%rdx
)
168 // CHECK
: encoding
: [0xf3,0x4c,0x0f,0x38,0xfc,0x8a,0x00,0xf8,0xff,0xff]
169 axorq
%r9, -2048(%rdx
)
171 // CHECK
: axorl
%ebx
, 268435456(%esp
,%esi
,8)
172 // CHECK
: encoding
: [0x67,0xf3,0x0f,0x38,0xfc,0x9c,0xf4,0x00,0x00,0x00,0x10]
173 axorl
%ebx
, 268435456(%esp
,%esi
,8)
175 // CHECK
: axorl
%ebx
, 291(%edi
,%eax
,4)
176 // CHECK
: encoding
: [0x67,0xf3,0x0f,0x38,0xfc,0x9c,0x87,0x23,0x01,0x00,0x00]
177 axorl
%ebx
, 291(%edi
,%eax
,4)
179 // CHECK
: axorl
%ebx
, (%eax
)
180 // CHECK
: encoding
: [0x67,0xf3,0x0f,0x38,0xfc,0x18]
183 // CHECK
: axorl
%ebx
, -512(,%ebp
,2)
184 // CHECK
: encoding
: [0x67,0xf3,0x0f,0x38,0xfc,0x1c,0x6d,0x00,0xfe,0xff,0xff]
185 axorl
%ebx
, -512(,%ebp
,2)
187 // CHECK
: axorl
%ebx
, 2032(%ecx
)
188 // CHECK
: encoding
: [0x67,0xf3,0x0f,0x38,0xfc,0x99,0xf0,0x07,0x00,0x00]
189 axorl
%ebx
, 2032(%ecx
)
191 // CHECK
: axorl
%ebx
, -2048(%edx
)
192 // CHECK
: encoding
: [0x67,0xf3,0x0f,0x38,0xfc,0x9a,0x00,0xf8,0xff,0xff]
193 axorl
%ebx
, -2048(%edx
)