xref: /aosp_15_r20/external/llvm/test/MC/AArch64/arm64-logical-encoding.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llvm-mc -triple arm64-apple-darwin -show-encoding < %s | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Workerfoo:
4*9880d681SAndroid Build Coastguard Worker;==---------------------------------------------------------------------------==
5*9880d681SAndroid Build Coastguard Worker; 5.4.2 Logical (immediate)
6*9880d681SAndroid Build Coastguard Worker;==---------------------------------------------------------------------------==
7*9880d681SAndroid Build Coastguard Worker
8*9880d681SAndroid Build Coastguard Worker  and   w0, w0, #1
9*9880d681SAndroid Build Coastguard Worker  and   x0, x0, #1
10*9880d681SAndroid Build Coastguard Worker  and   w1, w2, #15
11*9880d681SAndroid Build Coastguard Worker  and   x1, x2, #15
12*9880d681SAndroid Build Coastguard Worker  and   sp, x5, #~15
13*9880d681SAndroid Build Coastguard Worker  ands  w0, w0, #1
14*9880d681SAndroid Build Coastguard Worker  ands  x0, x0, #1
15*9880d681SAndroid Build Coastguard Worker  ands  w1, w2, #15
16*9880d681SAndroid Build Coastguard Worker  ands  x1, x2, #15
17*9880d681SAndroid Build Coastguard Worker
18*9880d681SAndroid Build Coastguard Worker; CHECK: and  w0, w0, #0x1           ; encoding: [0x00,0x00,0x00,0x12]
19*9880d681SAndroid Build Coastguard Worker; CHECK: and  x0, x0, #0x1           ; encoding: [0x00,0x00,0x40,0x92]
20*9880d681SAndroid Build Coastguard Worker; CHECK: and  w1, w2, #0xf           ; encoding: [0x41,0x0c,0x00,0x12]
21*9880d681SAndroid Build Coastguard Worker; CHECK: and  x1, x2, #0xf           ; encoding: [0x41,0x0c,0x40,0x92]
22*9880d681SAndroid Build Coastguard Worker; CHECK: and  sp, x5, #0xfffffffffffffff0 ; encoding: [0xbf,0xec,0x7c,0x92]
23*9880d681SAndroid Build Coastguard Worker; CHECK: ands w0, w0, #0x1           ; encoding: [0x00,0x00,0x00,0x72]
24*9880d681SAndroid Build Coastguard Worker; CHECK: ands x0, x0, #0x1           ; encoding: [0x00,0x00,0x40,0xf2]
25*9880d681SAndroid Build Coastguard Worker; CHECK: ands w1, w2, #0xf           ; encoding: [0x41,0x0c,0x00,0x72]
26*9880d681SAndroid Build Coastguard Worker; CHECK: ands x1, x2, #0xf           ; encoding: [0x41,0x0c,0x40,0xf2]
27*9880d681SAndroid Build Coastguard Worker
28*9880d681SAndroid Build Coastguard Worker  eor w1, w2, #0x4000
29*9880d681SAndroid Build Coastguard Worker  eor x1, x2, #0x8000
30*9880d681SAndroid Build Coastguard Worker
31*9880d681SAndroid Build Coastguard Worker; CHECK: eor w1, w2, #0x4000         ; encoding: [0x41,0x00,0x12,0x52]
32*9880d681SAndroid Build Coastguard Worker; CHECK: eor x1, x2, #0x8000         ; encoding: [0x41,0x00,0x71,0xd2]
33*9880d681SAndroid Build Coastguard Worker
34*9880d681SAndroid Build Coastguard Worker  orr w1, w2, #0x4000
35*9880d681SAndroid Build Coastguard Worker  orr x1, x2, #0x8000
36*9880d681SAndroid Build Coastguard Worker
37*9880d681SAndroid Build Coastguard Worker; CHECK: orr w1, w2, #0x4000         ; encoding: [0x41,0x00,0x12,0x32]
38*9880d681SAndroid Build Coastguard Worker; CHECK: orr x1, x2, #0x8000         ; encoding: [0x41,0x00,0x71,0xb2]
39*9880d681SAndroid Build Coastguard Worker
40*9880d681SAndroid Build Coastguard Worker  orr w8, wzr, #0x1
41*9880d681SAndroid Build Coastguard Worker  orr x8, xzr, #0x1
42*9880d681SAndroid Build Coastguard Worker
43*9880d681SAndroid Build Coastguard Worker; CHECK: orr w8, wzr, #0x1           ; encoding: [0xe8,0x03,0x00,0x32]
44*9880d681SAndroid Build Coastguard Worker; CHECK: orr x8, xzr, #0x1           ; encoding: [0xe8,0x03,0x40,0xb2]
45*9880d681SAndroid Build Coastguard Worker
46*9880d681SAndroid Build Coastguard Worker;==---------------------------------------------------------------------------==
47*9880d681SAndroid Build Coastguard Worker; 5.5.3 Logical (shifted register)
48*9880d681SAndroid Build Coastguard Worker;==---------------------------------------------------------------------------==
49*9880d681SAndroid Build Coastguard Worker
50*9880d681SAndroid Build Coastguard Worker  and   w1, w2, w3
51*9880d681SAndroid Build Coastguard Worker  and   x1, x2, x3
52*9880d681SAndroid Build Coastguard Worker  and   w1, w2, w3, lsl #2
53*9880d681SAndroid Build Coastguard Worker  and   x1, x2, x3, lsl #2
54*9880d681SAndroid Build Coastguard Worker  and   w1, w2, w3, lsr #2
55*9880d681SAndroid Build Coastguard Worker  and   x1, x2, x3, lsr #2
56*9880d681SAndroid Build Coastguard Worker  and   w1, w2, w3, asr #2
57*9880d681SAndroid Build Coastguard Worker  and   x1, x2, x3, asr #2
58*9880d681SAndroid Build Coastguard Worker  and   w1, w2, w3, ror #2
59*9880d681SAndroid Build Coastguard Worker  and   x1, x2, x3, ror #2
60*9880d681SAndroid Build Coastguard Worker
61*9880d681SAndroid Build Coastguard Worker; CHECK: and  w1, w2, w3             ; encoding: [0x41,0x00,0x03,0x0a]
62*9880d681SAndroid Build Coastguard Worker; CHECK: and  x1, x2, x3             ; encoding: [0x41,0x00,0x03,0x8a]
63*9880d681SAndroid Build Coastguard Worker; CHECK: and  w1, w2, w3, lsl #2     ; encoding: [0x41,0x08,0x03,0x0a]
64*9880d681SAndroid Build Coastguard Worker; CHECK: and  x1, x2, x3, lsl #2     ; encoding: [0x41,0x08,0x03,0x8a]
65*9880d681SAndroid Build Coastguard Worker; CHECK: and  w1, w2, w3, lsr #2     ; encoding: [0x41,0x08,0x43,0x0a]
66*9880d681SAndroid Build Coastguard Worker; CHECK: and  x1, x2, x3, lsr #2     ; encoding: [0x41,0x08,0x43,0x8a]
67*9880d681SAndroid Build Coastguard Worker; CHECK: and  w1, w2, w3, asr #2     ; encoding: [0x41,0x08,0x83,0x0a]
68*9880d681SAndroid Build Coastguard Worker; CHECK: and  x1, x2, x3, asr #2     ; encoding: [0x41,0x08,0x83,0x8a]
69*9880d681SAndroid Build Coastguard Worker; CHECK: and  w1, w2, w3, ror #2     ; encoding: [0x41,0x08,0xc3,0x0a]
70*9880d681SAndroid Build Coastguard Worker; CHECK: and  x1, x2, x3, ror #2     ; encoding: [0x41,0x08,0xc3,0x8a]
71*9880d681SAndroid Build Coastguard Worker
72*9880d681SAndroid Build Coastguard Worker  ands  w1, w2, w3
73*9880d681SAndroid Build Coastguard Worker  ands  x1, x2, x3
74*9880d681SAndroid Build Coastguard Worker  ands  w1, w2, w3, lsl #2
75*9880d681SAndroid Build Coastguard Worker  ands  x1, x2, x3, lsl #2
76*9880d681SAndroid Build Coastguard Worker  ands  w1, w2, w3, lsr #2
77*9880d681SAndroid Build Coastguard Worker  ands  x1, x2, x3, lsr #2
78*9880d681SAndroid Build Coastguard Worker  ands  w1, w2, w3, asr #2
79*9880d681SAndroid Build Coastguard Worker  ands  x1, x2, x3, asr #2
80*9880d681SAndroid Build Coastguard Worker  ands  w1, w2, w3, ror #2
81*9880d681SAndroid Build Coastguard Worker  ands  x1, x2, x3, ror #2
82*9880d681SAndroid Build Coastguard Worker
83*9880d681SAndroid Build Coastguard Worker; CHECK: ands w1, w2, w3             ; encoding: [0x41,0x00,0x03,0x6a]
84*9880d681SAndroid Build Coastguard Worker; CHECK: ands x1, x2, x3             ; encoding: [0x41,0x00,0x03,0xea]
85*9880d681SAndroid Build Coastguard Worker; CHECK: ands w1, w2, w3, lsl #2     ; encoding: [0x41,0x08,0x03,0x6a]
86*9880d681SAndroid Build Coastguard Worker; CHECK: ands x1, x2, x3, lsl #2     ; encoding: [0x41,0x08,0x03,0xea]
87*9880d681SAndroid Build Coastguard Worker; CHECK: ands w1, w2, w3, lsr #2     ; encoding: [0x41,0x08,0x43,0x6a]
88*9880d681SAndroid Build Coastguard Worker; CHECK: ands x1, x2, x3, lsr #2     ; encoding: [0x41,0x08,0x43,0xea]
89*9880d681SAndroid Build Coastguard Worker; CHECK: ands w1, w2, w3, asr #2     ; encoding: [0x41,0x08,0x83,0x6a]
90*9880d681SAndroid Build Coastguard Worker; CHECK: ands x1, x2, x3, asr #2     ; encoding: [0x41,0x08,0x83,0xea]
91*9880d681SAndroid Build Coastguard Worker; CHECK: ands w1, w2, w3, ror #2     ; encoding: [0x41,0x08,0xc3,0x6a]
92*9880d681SAndroid Build Coastguard Worker; CHECK: ands x1, x2, x3, ror #2     ; encoding: [0x41,0x08,0xc3,0xea]
93*9880d681SAndroid Build Coastguard Worker
94*9880d681SAndroid Build Coastguard Worker  bic w1, w2, w3
95*9880d681SAndroid Build Coastguard Worker  bic x1, x2, x3
96*9880d681SAndroid Build Coastguard Worker  bic w1, w2, w3, lsl #3
97*9880d681SAndroid Build Coastguard Worker  bic x1, x2, x3, lsl #3
98*9880d681SAndroid Build Coastguard Worker  bic w1, w2, w3, lsr #3
99*9880d681SAndroid Build Coastguard Worker  bic x1, x2, x3, lsr #3
100*9880d681SAndroid Build Coastguard Worker  bic w1, w2, w3, asr #3
101*9880d681SAndroid Build Coastguard Worker  bic x1, x2, x3, asr #3
102*9880d681SAndroid Build Coastguard Worker  bic w1, w2, w3, ror #3
103*9880d681SAndroid Build Coastguard Worker  bic x1, x2, x3, ror #3
104*9880d681SAndroid Build Coastguard Worker
105*9880d681SAndroid Build Coastguard Worker; CHECK: bic w1, w2, w3              ; encoding: [0x41,0x00,0x23,0x0a]
106*9880d681SAndroid Build Coastguard Worker; CHECK: bic x1, x2, x3              ; encoding: [0x41,0x00,0x23,0x8a]
107*9880d681SAndroid Build Coastguard Worker; CHECK: bic w1, w2, w3, lsl #3      ; encoding: [0x41,0x0c,0x23,0x0a]
108*9880d681SAndroid Build Coastguard Worker; CHECK: bic x1, x2, x3, lsl #3      ; encoding: [0x41,0x0c,0x23,0x8a]
109*9880d681SAndroid Build Coastguard Worker; CHECK: bic w1, w2, w3, lsr #3      ; encoding: [0x41,0x0c,0x63,0x0a]
110*9880d681SAndroid Build Coastguard Worker; CHECK: bic x1, x2, x3, lsr #3      ; encoding: [0x41,0x0c,0x63,0x8a]
111*9880d681SAndroid Build Coastguard Worker; CHECK: bic w1, w2, w3, asr #3      ; encoding: [0x41,0x0c,0xa3,0x0a]
112*9880d681SAndroid Build Coastguard Worker; CHECK: bic x1, x2, x3, asr #3      ; encoding: [0x41,0x0c,0xa3,0x8a]
113*9880d681SAndroid Build Coastguard Worker; CHECK: bic w1, w2, w3, ror #3      ; encoding: [0x41,0x0c,0xe3,0x0a]
114*9880d681SAndroid Build Coastguard Worker; CHECK: bic x1, x2, x3, ror #3      ; encoding: [0x41,0x0c,0xe3,0x8a]
115*9880d681SAndroid Build Coastguard Worker
116*9880d681SAndroid Build Coastguard Worker  bics w1, w2, w3
117*9880d681SAndroid Build Coastguard Worker  bics x1, x2, x3
118*9880d681SAndroid Build Coastguard Worker  bics w1, w2, w3, lsl #3
119*9880d681SAndroid Build Coastguard Worker  bics x1, x2, x3, lsl #3
120*9880d681SAndroid Build Coastguard Worker  bics w1, w2, w3, lsr #3
121*9880d681SAndroid Build Coastguard Worker  bics x1, x2, x3, lsr #3
122*9880d681SAndroid Build Coastguard Worker  bics w1, w2, w3, asr #3
123*9880d681SAndroid Build Coastguard Worker  bics x1, x2, x3, asr #3
124*9880d681SAndroid Build Coastguard Worker  bics w1, w2, w3, ror #3
125*9880d681SAndroid Build Coastguard Worker  bics x1, x2, x3, ror #3
126*9880d681SAndroid Build Coastguard Worker
127*9880d681SAndroid Build Coastguard Worker; CHECK: bics w1, w2, w3             ; encoding: [0x41,0x00,0x23,0x6a]
128*9880d681SAndroid Build Coastguard Worker; CHECK: bics x1, x2, x3             ; encoding: [0x41,0x00,0x23,0xea]
129*9880d681SAndroid Build Coastguard Worker; CHECK: bics w1, w2, w3, lsl #3     ; encoding: [0x41,0x0c,0x23,0x6a]
130*9880d681SAndroid Build Coastguard Worker; CHECK: bics x1, x2, x3, lsl #3     ; encoding: [0x41,0x0c,0x23,0xea]
131*9880d681SAndroid Build Coastguard Worker; CHECK: bics w1, w2, w3, lsr #3     ; encoding: [0x41,0x0c,0x63,0x6a]
132*9880d681SAndroid Build Coastguard Worker; CHECK: bics x1, x2, x3, lsr #3     ; encoding: [0x41,0x0c,0x63,0xea]
133*9880d681SAndroid Build Coastguard Worker; CHECK: bics w1, w2, w3, asr #3     ; encoding: [0x41,0x0c,0xa3,0x6a]
134*9880d681SAndroid Build Coastguard Worker; CHECK: bics x1, x2, x3, asr #3     ; encoding: [0x41,0x0c,0xa3,0xea]
135*9880d681SAndroid Build Coastguard Worker; CHECK: bics w1, w2, w3, ror #3     ; encoding: [0x41,0x0c,0xe3,0x6a]
136*9880d681SAndroid Build Coastguard Worker; CHECK: bics x1, x2, x3, ror #3     ; encoding: [0x41,0x0c,0xe3,0xea]
137*9880d681SAndroid Build Coastguard Worker
138*9880d681SAndroid Build Coastguard Worker  eon w1, w2, w3
139*9880d681SAndroid Build Coastguard Worker  eon x1, x2, x3
140*9880d681SAndroid Build Coastguard Worker  eon w1, w2, w3, lsl #4
141*9880d681SAndroid Build Coastguard Worker  eon x1, x2, x3, lsl #4
142*9880d681SAndroid Build Coastguard Worker  eon w1, w2, w3, lsr #4
143*9880d681SAndroid Build Coastguard Worker  eon x1, x2, x3, lsr #4
144*9880d681SAndroid Build Coastguard Worker  eon w1, w2, w3, asr #4
145*9880d681SAndroid Build Coastguard Worker  eon x1, x2, x3, asr #4
146*9880d681SAndroid Build Coastguard Worker  eon w1, w2, w3, ror #4
147*9880d681SAndroid Build Coastguard Worker  eon x1, x2, x3, ror #4
148*9880d681SAndroid Build Coastguard Worker
149*9880d681SAndroid Build Coastguard Worker; CHECK: eon w1, w2, w3              ; encoding: [0x41,0x00,0x23,0x4a]
150*9880d681SAndroid Build Coastguard Worker; CHECK: eon x1, x2, x3              ; encoding: [0x41,0x00,0x23,0xca]
151*9880d681SAndroid Build Coastguard Worker; CHECK: eon w1, w2, w3, lsl #4      ; encoding: [0x41,0x10,0x23,0x4a]
152*9880d681SAndroid Build Coastguard Worker; CHECK: eon x1, x2, x3, lsl #4      ; encoding: [0x41,0x10,0x23,0xca]
153*9880d681SAndroid Build Coastguard Worker; CHECK: eon w1, w2, w3, lsr #4      ; encoding: [0x41,0x10,0x63,0x4a]
154*9880d681SAndroid Build Coastguard Worker; CHECK: eon x1, x2, x3, lsr #4      ; encoding: [0x41,0x10,0x63,0xca]
155*9880d681SAndroid Build Coastguard Worker; CHECK: eon w1, w2, w3, asr #4      ; encoding: [0x41,0x10,0xa3,0x4a]
156*9880d681SAndroid Build Coastguard Worker; CHECK: eon x1, x2, x3, asr #4      ; encoding: [0x41,0x10,0xa3,0xca]
157*9880d681SAndroid Build Coastguard Worker; CHECK: eon w1, w2, w3, ror #4      ; encoding: [0x41,0x10,0xe3,0x4a]
158*9880d681SAndroid Build Coastguard Worker; CHECK: eon x1, x2, x3, ror #4      ; encoding: [0x41,0x10,0xe3,0xca]
159*9880d681SAndroid Build Coastguard Worker
160*9880d681SAndroid Build Coastguard Worker  eor w1, w2, w3
161*9880d681SAndroid Build Coastguard Worker  eor x1, x2, x3
162*9880d681SAndroid Build Coastguard Worker  eor w1, w2, w3, lsl #5
163*9880d681SAndroid Build Coastguard Worker  eor x1, x2, x3, lsl #5
164*9880d681SAndroid Build Coastguard Worker  eor w1, w2, w3, lsr #5
165*9880d681SAndroid Build Coastguard Worker  eor x1, x2, x3, lsr #5
166*9880d681SAndroid Build Coastguard Worker  eor w1, w2, w3, asr #5
167*9880d681SAndroid Build Coastguard Worker  eor x1, x2, x3, asr #5
168*9880d681SAndroid Build Coastguard Worker  eor w1, w2, w3, ror #5
169*9880d681SAndroid Build Coastguard Worker  eor x1, x2, x3, ror #5
170*9880d681SAndroid Build Coastguard Worker
171*9880d681SAndroid Build Coastguard Worker; CHECK: eor w1, w2, w3              ; encoding: [0x41,0x00,0x03,0x4a]
172*9880d681SAndroid Build Coastguard Worker; CHECK: eor x1, x2, x3              ; encoding: [0x41,0x00,0x03,0xca]
173*9880d681SAndroid Build Coastguard Worker; CHECK: eor w1, w2, w3, lsl #5      ; encoding: [0x41,0x14,0x03,0x4a]
174*9880d681SAndroid Build Coastguard Worker; CHECK: eor x1, x2, x3, lsl #5      ; encoding: [0x41,0x14,0x03,0xca]
175*9880d681SAndroid Build Coastguard Worker; CHECK: eor w1, w2, w3, lsr #5      ; encoding: [0x41,0x14,0x43,0x4a]
176*9880d681SAndroid Build Coastguard Worker; CHECK: eor x1, x2, x3, lsr #5      ; encoding: [0x41,0x14,0x43,0xca]
177*9880d681SAndroid Build Coastguard Worker; CHECK: eor w1, w2, w3, asr #5      ; encoding: [0x41,0x14,0x83,0x4a]
178*9880d681SAndroid Build Coastguard Worker; CHECK: eor x1, x2, x3, asr #5      ; encoding: [0x41,0x14,0x83,0xca]
179*9880d681SAndroid Build Coastguard Worker; CHECK: eor w1, w2, w3, ror #5      ; encoding: [0x41,0x14,0xc3,0x4a]
180*9880d681SAndroid Build Coastguard Worker; CHECK: eor x1, x2, x3, ror #5      ; encoding: [0x41,0x14,0xc3,0xca]
181*9880d681SAndroid Build Coastguard Worker
182*9880d681SAndroid Build Coastguard Worker  orr w1, w2, w3
183*9880d681SAndroid Build Coastguard Worker  orr x1, x2, x3
184*9880d681SAndroid Build Coastguard Worker  orr w1, w2, w3, lsl #6
185*9880d681SAndroid Build Coastguard Worker  orr x1, x2, x3, lsl #6
186*9880d681SAndroid Build Coastguard Worker  orr w1, w2, w3, lsr #6
187*9880d681SAndroid Build Coastguard Worker  orr x1, x2, x3, lsr #6
188*9880d681SAndroid Build Coastguard Worker  orr w1, w2, w3, asr #6
189*9880d681SAndroid Build Coastguard Worker  orr x1, x2, x3, asr #6
190*9880d681SAndroid Build Coastguard Worker  orr w1, w2, w3, ror #6
191*9880d681SAndroid Build Coastguard Worker  orr x1, x2, x3, ror #6
192*9880d681SAndroid Build Coastguard Worker
193*9880d681SAndroid Build Coastguard Worker; CHECK: orr w1, w2, w3              ; encoding: [0x41,0x00,0x03,0x2a]
194*9880d681SAndroid Build Coastguard Worker; CHECK: orr x1, x2, x3              ; encoding: [0x41,0x00,0x03,0xaa]
195*9880d681SAndroid Build Coastguard Worker; CHECK: orr w1, w2, w3, lsl #6      ; encoding: [0x41,0x18,0x03,0x2a]
196*9880d681SAndroid Build Coastguard Worker; CHECK: orr x1, x2, x3, lsl #6      ; encoding: [0x41,0x18,0x03,0xaa]
197*9880d681SAndroid Build Coastguard Worker; CHECK: orr w1, w2, w3, lsr #6      ; encoding: [0x41,0x18,0x43,0x2a]
198*9880d681SAndroid Build Coastguard Worker; CHECK: orr x1, x2, x3, lsr #6      ; encoding: [0x41,0x18,0x43,0xaa]
199*9880d681SAndroid Build Coastguard Worker; CHECK: orr w1, w2, w3, asr #6      ; encoding: [0x41,0x18,0x83,0x2a]
200*9880d681SAndroid Build Coastguard Worker; CHECK: orr x1, x2, x3, asr #6      ; encoding: [0x41,0x18,0x83,0xaa]
201*9880d681SAndroid Build Coastguard Worker; CHECK: orr w1, w2, w3, ror #6      ; encoding: [0x41,0x18,0xc3,0x2a]
202*9880d681SAndroid Build Coastguard Worker; CHECK: orr x1, x2, x3, ror #6      ; encoding: [0x41,0x18,0xc3,0xaa]
203*9880d681SAndroid Build Coastguard Worker
204*9880d681SAndroid Build Coastguard Worker  orn w1, w2, w3
205*9880d681SAndroid Build Coastguard Worker  orn x1, x2, x3
206*9880d681SAndroid Build Coastguard Worker  orn w1, w2, w3, lsl #7
207*9880d681SAndroid Build Coastguard Worker  orn x1, x2, x3, lsl #7
208*9880d681SAndroid Build Coastguard Worker  orn w1, w2, w3, lsr #7
209*9880d681SAndroid Build Coastguard Worker  orn x1, x2, x3, lsr #7
210*9880d681SAndroid Build Coastguard Worker  orn w1, w2, w3, asr #7
211*9880d681SAndroid Build Coastguard Worker  orn x1, x2, x3, asr #7
212*9880d681SAndroid Build Coastguard Worker  orn w1, w2, w3, ror #7
213*9880d681SAndroid Build Coastguard Worker  orn x1, x2, x3, ror #7
214*9880d681SAndroid Build Coastguard Worker
215*9880d681SAndroid Build Coastguard Worker; CHECK: orn w1, w2, w3              ; encoding: [0x41,0x00,0x23,0x2a]
216*9880d681SAndroid Build Coastguard Worker; CHECK: orn x1, x2, x3              ; encoding: [0x41,0x00,0x23,0xaa]
217*9880d681SAndroid Build Coastguard Worker; CHECK: orn w1, w2, w3, lsl #7      ; encoding: [0x41,0x1c,0x23,0x2a]
218*9880d681SAndroid Build Coastguard Worker; CHECK: orn x1, x2, x3, lsl #7      ; encoding: [0x41,0x1c,0x23,0xaa]
219*9880d681SAndroid Build Coastguard Worker; CHECK: orn w1, w2, w3, lsr #7      ; encoding: [0x41,0x1c,0x63,0x2a]
220*9880d681SAndroid Build Coastguard Worker; CHECK: orn x1, x2, x3, lsr #7      ; encoding: [0x41,0x1c,0x63,0xaa]
221*9880d681SAndroid Build Coastguard Worker; CHECK: orn w1, w2, w3, asr #7      ; encoding: [0x41,0x1c,0xa3,0x2a]
222*9880d681SAndroid Build Coastguard Worker; CHECK: orn x1, x2, x3, asr #7      ; encoding: [0x41,0x1c,0xa3,0xaa]
223*9880d681SAndroid Build Coastguard Worker; CHECK: orn w1, w2, w3, ror #7      ; encoding: [0x41,0x1c,0xe3,0x2a]
224*9880d681SAndroid Build Coastguard Worker; CHECK: orn x1, x2, x3, ror #7      ; encoding: [0x41,0x1c,0xe3,0xaa]
225