xref: /aosp_15_r20/external/llvm/test/MC/AArch64/arm64-fp-encoding.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: not llvm-mc -triple arm64-apple-darwin -mattr=neon -show-encoding -output-asm-variant=1 < %s 2>%t | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker; RUN: FileCheck %s < %t --check-prefix=NO-FP16
3*9880d681SAndroid Build Coastguard Worker; RUN: llvm-mc -triple arm64-apple-darwin -mattr=neon,v8.2a,fullfp16 -show-encoding -output-asm-variant=1 < %s | FileCheck %s --check-prefix=CHECK --check-prefix=FP16
4*9880d681SAndroid Build Coastguard Worker
5*9880d681SAndroid Build Coastguard Workerfoo:
6*9880d681SAndroid Build Coastguard Worker;-----------------------------------------------------------------------------
7*9880d681SAndroid Build Coastguard Worker; Floating-point arithmetic
8*9880d681SAndroid Build Coastguard Worker;-----------------------------------------------------------------------------
9*9880d681SAndroid Build Coastguard Worker
10*9880d681SAndroid Build Coastguard Worker  fabs h1, h2
11*9880d681SAndroid Build Coastguard Worker  fabs s1, s2
12*9880d681SAndroid Build Coastguard Worker  fabs d1, d2
13*9880d681SAndroid Build Coastguard Worker
14*9880d681SAndroid Build Coastguard Worker; FP16:  fabs h1, h2                 ; encoding: [0x41,0xc0,0xe0,0x1e]
15*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
16*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT:  fabs h1, h2
17*9880d681SAndroid Build Coastguard Worker; CHECK: fabs s1, s2                 ; encoding: [0x41,0xc0,0x20,0x1e]
18*9880d681SAndroid Build Coastguard Worker; CHECK: fabs d1, d2                 ; encoding: [0x41,0xc0,0x60,0x1e]
19*9880d681SAndroid Build Coastguard Worker
20*9880d681SAndroid Build Coastguard Worker  fadd h1, h2, h3
21*9880d681SAndroid Build Coastguard Worker  fadd s1, s2, s3
22*9880d681SAndroid Build Coastguard Worker  fadd d1, d2, d3
23*9880d681SAndroid Build Coastguard Worker
24*9880d681SAndroid Build Coastguard Worker; FP16:  fadd h1, h2, h3             ; encoding: [0x41,0x28,0xe3,0x1e]
25*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
26*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT:  fadd h1, h2, h3
27*9880d681SAndroid Build Coastguard Worker; CHECK: fadd s1, s2, s3             ; encoding: [0x41,0x28,0x23,0x1e]
28*9880d681SAndroid Build Coastguard Worker; CHECK: fadd d1, d2, d3             ; encoding: [0x41,0x28,0x63,0x1e]
29*9880d681SAndroid Build Coastguard Worker
30*9880d681SAndroid Build Coastguard Worker  fdiv h1, h2, h3
31*9880d681SAndroid Build Coastguard Worker  fdiv s1, s2, s3
32*9880d681SAndroid Build Coastguard Worker  fdiv d1, d2, d3
33*9880d681SAndroid Build Coastguard Worker
34*9880d681SAndroid Build Coastguard Worker; FP16:  fdiv h1, h2, h3             ; encoding: [0x41,0x18,0xe3,0x1e]
35*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
36*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT:  fdiv h1, h2, h3
37*9880d681SAndroid Build Coastguard Worker; CHECK: fdiv s1, s2, s3             ; encoding: [0x41,0x18,0x23,0x1e]
38*9880d681SAndroid Build Coastguard Worker; CHECK: fdiv d1, d2, d3             ; encoding: [0x41,0x18,0x63,0x1e]
39*9880d681SAndroid Build Coastguard Worker
40*9880d681SAndroid Build Coastguard Worker  fmadd h1, h2, h3, h4
41*9880d681SAndroid Build Coastguard Worker  fmadd s1, s2, s3, s4
42*9880d681SAndroid Build Coastguard Worker  fmadd d1, d2, d3, d4
43*9880d681SAndroid Build Coastguard Worker
44*9880d681SAndroid Build Coastguard Worker; FP16:  fmadd h1, h2, h3, h4        ; encoding: [0x41,0x10,0xc3,0x1f]
45*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
46*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT:  fmadd h1, h2, h3, h4
47*9880d681SAndroid Build Coastguard Worker; CHECK: fmadd s1, s2, s3, s4        ; encoding: [0x41,0x10,0x03,0x1f]
48*9880d681SAndroid Build Coastguard Worker; CHECK: fmadd d1, d2, d3, d4        ; encoding: [0x41,0x10,0x43,0x1f]
49*9880d681SAndroid Build Coastguard Worker
50*9880d681SAndroid Build Coastguard Worker  fmax   h1, h2, h3
51*9880d681SAndroid Build Coastguard Worker  fmax   s1, s2, s3
52*9880d681SAndroid Build Coastguard Worker  fmax   d1, d2, d3
53*9880d681SAndroid Build Coastguard Worker  fmaxnm h1, h2, h3
54*9880d681SAndroid Build Coastguard Worker  fmaxnm s1, s2, s3
55*9880d681SAndroid Build Coastguard Worker  fmaxnm d1, d2, d3
56*9880d681SAndroid Build Coastguard Worker
57*9880d681SAndroid Build Coastguard Worker; FP16:  fmax   h1, h2, h3           ; encoding: [0x41,0x48,0xe3,0x1e]
58*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
59*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fmax   h1, h2, h3
60*9880d681SAndroid Build Coastguard Worker; CHECK: fmax   s1, s2, s3           ; encoding: [0x41,0x48,0x23,0x1e]
61*9880d681SAndroid Build Coastguard Worker; CHECK: fmax   d1, d2, d3           ; encoding: [0x41,0x48,0x63,0x1e]
62*9880d681SAndroid Build Coastguard Worker; FP16:  fmaxnm h1, h2, h3           ; encoding: [0x41,0x68,0xe3,0x1e]
63*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
64*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fmaxnm h1, h2, h3
65*9880d681SAndroid Build Coastguard Worker; CHECK: fmaxnm s1, s2, s3           ; encoding: [0x41,0x68,0x23,0x1e]
66*9880d681SAndroid Build Coastguard Worker; CHECK: fmaxnm d1, d2, d3           ; encoding: [0x41,0x68,0x63,0x1e]
67*9880d681SAndroid Build Coastguard Worker
68*9880d681SAndroid Build Coastguard Worker  fmin   h1, h2, h3
69*9880d681SAndroid Build Coastguard Worker  fmin   s1, s2, s3
70*9880d681SAndroid Build Coastguard Worker  fmin   d1, d2, d3
71*9880d681SAndroid Build Coastguard Worker  fminnm h1, h2, h3
72*9880d681SAndroid Build Coastguard Worker  fminnm s1, s2, s3
73*9880d681SAndroid Build Coastguard Worker  fminnm d1, d2, d3
74*9880d681SAndroid Build Coastguard Worker
75*9880d681SAndroid Build Coastguard Worker; FP16:  fmin   h1, h2, h3           ; encoding: [0x41,0x58,0xe3,0x1e]
76*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
77*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fmin   h1, h2, h3
78*9880d681SAndroid Build Coastguard Worker; CHECK: fmin   s1, s2, s3           ; encoding: [0x41,0x58,0x23,0x1e]
79*9880d681SAndroid Build Coastguard Worker; CHECK: fmin   d1, d2, d3           ; encoding: [0x41,0x58,0x63,0x1e]
80*9880d681SAndroid Build Coastguard Worker; FP16:  fminnm h1, h2, h3           ; encoding: [0x41,0x78,0xe3,0x1e]
81*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
82*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fminnm h1, h2, h3
83*9880d681SAndroid Build Coastguard Worker; CHECK: fminnm s1, s2, s3           ; encoding: [0x41,0x78,0x23,0x1e]
84*9880d681SAndroid Build Coastguard Worker; CHECK: fminnm d1, d2, d3           ; encoding: [0x41,0x78,0x63,0x1e]
85*9880d681SAndroid Build Coastguard Worker
86*9880d681SAndroid Build Coastguard Worker  fmsub h1, h2, h3, h4
87*9880d681SAndroid Build Coastguard Worker  fmsub s1, s2, s3, s4
88*9880d681SAndroid Build Coastguard Worker  fmsub d1, d2, d3, d4
89*9880d681SAndroid Build Coastguard Worker
90*9880d681SAndroid Build Coastguard Worker; FP16:  fmsub h1, h2, h3, h4        ; encoding: [0x41,0x90,0xc3,0x1f]
91*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
92*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fmsub h1, h2, h3, h4
93*9880d681SAndroid Build Coastguard Worker; CHECK: fmsub s1, s2, s3, s4        ; encoding: [0x41,0x90,0x03,0x1f]
94*9880d681SAndroid Build Coastguard Worker; CHECK: fmsub d1, d2, d3, d4        ; encoding: [0x41,0x90,0x43,0x1f]
95*9880d681SAndroid Build Coastguard Worker
96*9880d681SAndroid Build Coastguard Worker  fmul h1, h2, h3
97*9880d681SAndroid Build Coastguard Worker  fmul s1, s2, s3
98*9880d681SAndroid Build Coastguard Worker  fmul d1, d2, d3
99*9880d681SAndroid Build Coastguard Worker
100*9880d681SAndroid Build Coastguard Worker; FP16:  fmul h1, h2, h3             ; encoding: [0x41,0x08,0xe3,0x1e]
101*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
102*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fmul h1, h2, h3
103*9880d681SAndroid Build Coastguard Worker; CHECK: fmul s1, s2, s3             ; encoding: [0x41,0x08,0x23,0x1e]
104*9880d681SAndroid Build Coastguard Worker; CHECK: fmul d1, d2, d3             ; encoding: [0x41,0x08,0x63,0x1e]
105*9880d681SAndroid Build Coastguard Worker
106*9880d681SAndroid Build Coastguard Worker  fneg h1, h2
107*9880d681SAndroid Build Coastguard Worker  fneg s1, s2
108*9880d681SAndroid Build Coastguard Worker  fneg d1, d2
109*9880d681SAndroid Build Coastguard Worker
110*9880d681SAndroid Build Coastguard Worker; FP16:  fneg h1, h2                 ; encoding: [0x41,0x40,0xe1,0x1e]
111*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
112*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fneg h1, h2
113*9880d681SAndroid Build Coastguard Worker; CHECK: fneg s1, s2                 ; encoding: [0x41,0x40,0x21,0x1e]
114*9880d681SAndroid Build Coastguard Worker; CHECK: fneg d1, d2                 ; encoding: [0x41,0x40,0x61,0x1e]
115*9880d681SAndroid Build Coastguard Worker
116*9880d681SAndroid Build Coastguard Worker  fnmadd h1, h2, h3, h4
117*9880d681SAndroid Build Coastguard Worker  fnmadd s1, s2, s3, s4
118*9880d681SAndroid Build Coastguard Worker  fnmadd d1, d2, d3, d4
119*9880d681SAndroid Build Coastguard Worker
120*9880d681SAndroid Build Coastguard Worker; FP16:  fnmadd h1, h2, h3, h4       ; encoding: [0x41,0x10,0xe3,0x1f]
121*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
122*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fnmadd h1, h2, h3, h4
123*9880d681SAndroid Build Coastguard Worker; CHECK: fnmadd s1, s2, s3, s4       ; encoding: [0x41,0x10,0x23,0x1f]
124*9880d681SAndroid Build Coastguard Worker; CHECK: fnmadd d1, d2, d3, d4       ; encoding: [0x41,0x10,0x63,0x1f]
125*9880d681SAndroid Build Coastguard Worker
126*9880d681SAndroid Build Coastguard Worker  fnmsub h1, h2, h3, h4
127*9880d681SAndroid Build Coastguard Worker  fnmsub s1, s2, s3, s4
128*9880d681SAndroid Build Coastguard Worker  fnmsub d1, d2, d3, d4
129*9880d681SAndroid Build Coastguard Worker
130*9880d681SAndroid Build Coastguard Worker; FP16:  fnmsub h1, h2, h3, h4       ; encoding: [0x41,0x90,0xe3,0x1f]
131*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
132*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fnmsub h1, h2, h3, h4
133*9880d681SAndroid Build Coastguard Worker; CHECK: fnmsub s1, s2, s3, s4       ; encoding: [0x41,0x90,0x23,0x1f]
134*9880d681SAndroid Build Coastguard Worker; CHECK: fnmsub d1, d2, d3, d4       ; encoding: [0x41,0x90,0x63,0x1f]
135*9880d681SAndroid Build Coastguard Worker
136*9880d681SAndroid Build Coastguard Worker  fnmul h1, h2, h3
137*9880d681SAndroid Build Coastguard Worker  fnmul s1, s2, s3
138*9880d681SAndroid Build Coastguard Worker  fnmul d1, d2, d3
139*9880d681SAndroid Build Coastguard Worker
140*9880d681SAndroid Build Coastguard Worker; FP16:  fnmul h1, h2, h3            ; encoding: [0x41,0x88,0xe3,0x1e]
141*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
142*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fnmul h1, h2, h3
143*9880d681SAndroid Build Coastguard Worker; CHECK: fnmul s1, s2, s3            ; encoding: [0x41,0x88,0x23,0x1e]
144*9880d681SAndroid Build Coastguard Worker; CHECK: fnmul d1, d2, d3            ; encoding: [0x41,0x88,0x63,0x1e]
145*9880d681SAndroid Build Coastguard Worker
146*9880d681SAndroid Build Coastguard Worker  fsqrt h1, h2
147*9880d681SAndroid Build Coastguard Worker  fsqrt s1, s2
148*9880d681SAndroid Build Coastguard Worker  fsqrt d1, d2
149*9880d681SAndroid Build Coastguard Worker
150*9880d681SAndroid Build Coastguard Worker; FP16:  fsqrt h1, h2                ; encoding: [0x41,0xc0,0xe1,0x1e]
151*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
152*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fsqrt h1, h2
153*9880d681SAndroid Build Coastguard Worker; CHECK: fsqrt s1, s2                ; encoding: [0x41,0xc0,0x21,0x1e]
154*9880d681SAndroid Build Coastguard Worker; CHECK: fsqrt d1, d2                ; encoding: [0x41,0xc0,0x61,0x1e]
155*9880d681SAndroid Build Coastguard Worker
156*9880d681SAndroid Build Coastguard Worker  fsub h1, h2, h3
157*9880d681SAndroid Build Coastguard Worker  fsub s1, s2, s3
158*9880d681SAndroid Build Coastguard Worker  fsub d1, d2, d3
159*9880d681SAndroid Build Coastguard Worker
160*9880d681SAndroid Build Coastguard Worker; FP16:  fsub h1, h2, h3             ; encoding: [0x41,0x38,0xe3,0x1e]
161*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
162*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fsub h1, h2, h3
163*9880d681SAndroid Build Coastguard Worker; CHECK: fsub s1, s2, s3             ; encoding: [0x41,0x38,0x23,0x1e]
164*9880d681SAndroid Build Coastguard Worker; CHECK: fsub d1, d2, d3             ; encoding: [0x41,0x38,0x63,0x1e]
165*9880d681SAndroid Build Coastguard Worker
166*9880d681SAndroid Build Coastguard Worker;-----------------------------------------------------------------------------
167*9880d681SAndroid Build Coastguard Worker; Floating-point comparison
168*9880d681SAndroid Build Coastguard Worker;-----------------------------------------------------------------------------
169*9880d681SAndroid Build Coastguard Worker
170*9880d681SAndroid Build Coastguard Worker  fccmp  h1, h2, #0, eq
171*9880d681SAndroid Build Coastguard Worker  fccmp  s1, s2, #0, eq
172*9880d681SAndroid Build Coastguard Worker  fccmp  d1, d2, #0, eq
173*9880d681SAndroid Build Coastguard Worker  fccmpe h1, h2, #0, eq
174*9880d681SAndroid Build Coastguard Worker  fccmpe s1, s2, #0, eq
175*9880d681SAndroid Build Coastguard Worker  fccmpe d1, d2, #0, eq
176*9880d681SAndroid Build Coastguard Worker
177*9880d681SAndroid Build Coastguard Worker; FP16:  fccmp  h1, h2, #0, eq       ; encoding: [0x20,0x04,0xe2,0x1e]
178*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
179*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fccmp  h1, h2, #0, eq
180*9880d681SAndroid Build Coastguard Worker; CHECK: fccmp  s1, s2, #0, eq       ; encoding: [0x20,0x04,0x22,0x1e]
181*9880d681SAndroid Build Coastguard Worker; CHECK: fccmp  d1, d2, #0, eq       ; encoding: [0x20,0x04,0x62,0x1e]
182*9880d681SAndroid Build Coastguard Worker; FP16:  fccmpe h1, h2, #0, eq       ; encoding: [0x30,0x04,0xe2,0x1e]
183*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
184*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fccmpe h1, h2, #0, eq
185*9880d681SAndroid Build Coastguard Worker; CHECK: fccmpe s1, s2, #0, eq       ; encoding: [0x30,0x04,0x22,0x1e]
186*9880d681SAndroid Build Coastguard Worker; CHECK: fccmpe d1, d2, #0, eq       ; encoding: [0x30,0x04,0x62,0x1e]
187*9880d681SAndroid Build Coastguard Worker
188*9880d681SAndroid Build Coastguard Worker  fcmp  h1, h2
189*9880d681SAndroid Build Coastguard Worker  fcmp  s1, s2
190*9880d681SAndroid Build Coastguard Worker  fcmp  d1, d2
191*9880d681SAndroid Build Coastguard Worker  fcmp  h1, #0.0
192*9880d681SAndroid Build Coastguard Worker  fcmp  s1, #0.0
193*9880d681SAndroid Build Coastguard Worker  fcmp  d1, #0.0
194*9880d681SAndroid Build Coastguard Worker  fcmpe h1, h2
195*9880d681SAndroid Build Coastguard Worker  fcmpe s1, s2
196*9880d681SAndroid Build Coastguard Worker  fcmpe d1, d2
197*9880d681SAndroid Build Coastguard Worker  fcmpe h1, #0.0
198*9880d681SAndroid Build Coastguard Worker  fcmpe s1, #0.0
199*9880d681SAndroid Build Coastguard Worker  fcmpe d1, #0.0
200*9880d681SAndroid Build Coastguard Worker
201*9880d681SAndroid Build Coastguard Worker; FP16:  fcmp  h1, h2                ; encoding: [0x20,0x20,0xe2,0x1e]
202*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
203*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fcmp  h1, h2
204*9880d681SAndroid Build Coastguard Worker; CHECK: fcmp  s1, s2                ; encoding: [0x20,0x20,0x22,0x1e]
205*9880d681SAndroid Build Coastguard Worker; CHECK: fcmp  d1, d2                ; encoding: [0x20,0x20,0x62,0x1e]
206*9880d681SAndroid Build Coastguard Worker; FP16:  fcmp  h1, #0.0              ; encoding: [0x28,0x20,0xe0,0x1e]
207*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
208*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fcmp  h1, #0.0
209*9880d681SAndroid Build Coastguard Worker; CHECK: fcmp  s1, #0.0              ; encoding: [0x28,0x20,0x20,0x1e]
210*9880d681SAndroid Build Coastguard Worker; CHECK: fcmp  d1, #0.0              ; encoding: [0x28,0x20,0x60,0x1e]
211*9880d681SAndroid Build Coastguard Worker; FP16:  fcmpe h1, h2                ; encoding: [0x30,0x20,0xe2,0x1e]
212*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
213*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fcmpe h1, h2
214*9880d681SAndroid Build Coastguard Worker; CHECK: fcmpe s1, s2                ; encoding: [0x30,0x20,0x22,0x1e]
215*9880d681SAndroid Build Coastguard Worker; CHECK: fcmpe d1, d2                ; encoding: [0x30,0x20,0x62,0x1e]
216*9880d681SAndroid Build Coastguard Worker; FP16:  fcmpe h1, #0.0              ; encoding: [0x38,0x20,0xe0,0x1e]
217*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
218*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fcmpe h1, #0.0
219*9880d681SAndroid Build Coastguard Worker; CHECK: fcmpe s1, #0.0              ; encoding: [0x38,0x20,0x20,0x1e]
220*9880d681SAndroid Build Coastguard Worker; CHECK: fcmpe d1, #0.0              ; encoding: [0x38,0x20,0x60,0x1e]
221*9880d681SAndroid Build Coastguard Worker
222*9880d681SAndroid Build Coastguard Worker;-----------------------------------------------------------------------------
223*9880d681SAndroid Build Coastguard Worker; Floating-point conditional select
224*9880d681SAndroid Build Coastguard Worker;-----------------------------------------------------------------------------
225*9880d681SAndroid Build Coastguard Worker
226*9880d681SAndroid Build Coastguard Worker  fcsel h1, h2, h3, eq
227*9880d681SAndroid Build Coastguard Worker  fcsel s1, s2, s3, eq
228*9880d681SAndroid Build Coastguard Worker  fcsel d1, d2, d3, eq
229*9880d681SAndroid Build Coastguard Worker
230*9880d681SAndroid Build Coastguard Worker; FP16:  fcsel h1, h2, h3, eq        ; encoding: [0x41,0x0c,0xe3,0x1e]
231*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
232*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fcsel h1, h2, h3, eq
233*9880d681SAndroid Build Coastguard Worker; CHECK: fcsel s1, s2, s3, eq        ; encoding: [0x41,0x0c,0x23,0x1e]
234*9880d681SAndroid Build Coastguard Worker; CHECK: fcsel d1, d2, d3, eq        ; encoding: [0x41,0x0c,0x63,0x1e]
235*9880d681SAndroid Build Coastguard Worker
236*9880d681SAndroid Build Coastguard Worker;-----------------------------------------------------------------------------
237*9880d681SAndroid Build Coastguard Worker; Floating-point convert
238*9880d681SAndroid Build Coastguard Worker;-----------------------------------------------------------------------------
239*9880d681SAndroid Build Coastguard Worker
240*9880d681SAndroid Build Coastguard Worker  fcvt h1, d2
241*9880d681SAndroid Build Coastguard Worker  fcvt s1, d2
242*9880d681SAndroid Build Coastguard Worker  fcvt d1, h2
243*9880d681SAndroid Build Coastguard Worker  fcvt s1, h2
244*9880d681SAndroid Build Coastguard Worker  fcvt d1, s2
245*9880d681SAndroid Build Coastguard Worker  fcvt h1, s2
246*9880d681SAndroid Build Coastguard Worker
247*9880d681SAndroid Build Coastguard Worker; CHECK: fcvt h1, d2                 ; encoding: [0x41,0xc0,0x63,0x1e]
248*9880d681SAndroid Build Coastguard Worker; CHECK: fcvt s1, d2                 ; encoding: [0x41,0x40,0x62,0x1e]
249*9880d681SAndroid Build Coastguard Worker; CHECK: fcvt d1, h2                 ; encoding: [0x41,0xc0,0xe2,0x1e]
250*9880d681SAndroid Build Coastguard Worker; CHECK: fcvt s1, h2                 ; encoding: [0x41,0x40,0xe2,0x1e]
251*9880d681SAndroid Build Coastguard Worker; CHECK: fcvt d1, s2                 ; encoding: [0x41,0xc0,0x22,0x1e]
252*9880d681SAndroid Build Coastguard Worker; CHECK: fcvt h1, s2                 ; encoding: [0x41,0xc0,0x23,0x1e]
253*9880d681SAndroid Build Coastguard Worker
254*9880d681SAndroid Build Coastguard Worker  fcvtas w1, d2
255*9880d681SAndroid Build Coastguard Worker  fcvtas x1, d2
256*9880d681SAndroid Build Coastguard Worker  fcvtas w1, s2
257*9880d681SAndroid Build Coastguard Worker  fcvtas x1, s2
258*9880d681SAndroid Build Coastguard Worker  fcvtas w1, h2
259*9880d681SAndroid Build Coastguard Worker  fcvtas x1, h2
260*9880d681SAndroid Build Coastguard Worker
261*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtas w1, d2                  ; encoding: [0x41,0x00,0x64,0x1e]
262*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtas x1, d2                  ; encoding: [0x41,0x00,0x64,0x9e]
263*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtas w1, s2                  ; encoding: [0x41,0x00,0x24,0x1e]
264*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtas x1, s2                  ; encoding: [0x41,0x00,0x24,0x9e]
265*9880d681SAndroid Build Coastguard Worker; FP16:  fcvtas w1, h2                  ; encoding: [0x41,0x00,0xe4,0x1e]
266*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
267*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fcvtas  w1, h2
268*9880d681SAndroid Build Coastguard Worker; FP16:  fcvtas x1, h2                  ; encoding: [0x41,0x00,0xe4,0x9e]
269*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
270*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fcvtas  x1, h2
271*9880d681SAndroid Build Coastguard Worker
272*9880d681SAndroid Build Coastguard Worker  fcvtau w1, h2
273*9880d681SAndroid Build Coastguard Worker  fcvtau w1, s2
274*9880d681SAndroid Build Coastguard Worker  fcvtau w1, d2
275*9880d681SAndroid Build Coastguard Worker  fcvtau x1, h2
276*9880d681SAndroid Build Coastguard Worker  fcvtau x1, s2
277*9880d681SAndroid Build Coastguard Worker  fcvtau x1, d2
278*9880d681SAndroid Build Coastguard Worker
279*9880d681SAndroid Build Coastguard Worker; FP16:  fcvtau w1, h2                  ; encoding: [0x41,0x00,0xe5,0x1e]
280*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
281*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fcvtau  w1, h2
282*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtau w1, s2                  ; encoding: [0x41,0x00,0x25,0x1e]
283*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtau w1, d2                  ; encoding: [0x41,0x00,0x65,0x1e]
284*9880d681SAndroid Build Coastguard Worker; FP16:  fcvtau x1, h2                  ; encoding: [0x41,0x00,0xe5,0x9e]
285*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
286*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fcvtau  x1, h2
287*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtau x1, s2                  ; encoding: [0x41,0x00,0x25,0x9e]
288*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtau x1, d2                  ; encoding: [0x41,0x00,0x65,0x9e]
289*9880d681SAndroid Build Coastguard Worker
290*9880d681SAndroid Build Coastguard Worker  fcvtms w1, h2
291*9880d681SAndroid Build Coastguard Worker  fcvtms w1, s2
292*9880d681SAndroid Build Coastguard Worker  fcvtms w1, d2
293*9880d681SAndroid Build Coastguard Worker  fcvtms x1, h2
294*9880d681SAndroid Build Coastguard Worker  fcvtms x1, s2
295*9880d681SAndroid Build Coastguard Worker  fcvtms x1, d2
296*9880d681SAndroid Build Coastguard Worker
297*9880d681SAndroid Build Coastguard Worker; FP16:  fcvtms w1, h2                  ; encoding: [0x41,0x00,0xf0,0x1e]
298*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
299*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fcvtms  w1, h2
300*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtms w1, s2                  ; encoding: [0x41,0x00,0x30,0x1e]
301*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtms w1, d2                  ; encoding: [0x41,0x00,0x70,0x1e]
302*9880d681SAndroid Build Coastguard Worker; FP16:  fcvtms x1, h2                  ; encoding: [0x41,0x00,0xf0,0x9e]
303*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
304*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fcvtms  x1, h2
305*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtms x1, s2                  ; encoding: [0x41,0x00,0x30,0x9e]
306*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtms x1, d2                  ; encoding: [0x41,0x00,0x70,0x9e]
307*9880d681SAndroid Build Coastguard Worker
308*9880d681SAndroid Build Coastguard Worker  fcvtmu w1, h2
309*9880d681SAndroid Build Coastguard Worker  fcvtmu w1, s2
310*9880d681SAndroid Build Coastguard Worker  fcvtmu w1, d2
311*9880d681SAndroid Build Coastguard Worker  fcvtmu x1, h2
312*9880d681SAndroid Build Coastguard Worker  fcvtmu x1, s2
313*9880d681SAndroid Build Coastguard Worker  fcvtmu x1, d2
314*9880d681SAndroid Build Coastguard Worker
315*9880d681SAndroid Build Coastguard Worker; FP16:  fcvtmu w1, h2                  ; encoding: [0x41,0x00,0xf1,0x1e]
316*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
317*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fcvtmu  w1, h2
318*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtmu w1, s2                  ; encoding: [0x41,0x00,0x31,0x1e]
319*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtmu w1, d2                  ; encoding: [0x41,0x00,0x71,0x1e]
320*9880d681SAndroid Build Coastguard Worker; FP16:  fcvtmu x1, h2                  ; encoding: [0x41,0x00,0xf1,0x9e]
321*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
322*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fcvtmu  x1, h2
323*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtmu x1, s2                  ; encoding: [0x41,0x00,0x31,0x9e]
324*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtmu x1, d2                  ; encoding: [0x41,0x00,0x71,0x9e]
325*9880d681SAndroid Build Coastguard Worker
326*9880d681SAndroid Build Coastguard Worker  fcvtns w1, h2
327*9880d681SAndroid Build Coastguard Worker  fcvtns w1, s2
328*9880d681SAndroid Build Coastguard Worker  fcvtns w1, d2
329*9880d681SAndroid Build Coastguard Worker  fcvtns x1, h2
330*9880d681SAndroid Build Coastguard Worker  fcvtns x1, s2
331*9880d681SAndroid Build Coastguard Worker  fcvtns x1, d2
332*9880d681SAndroid Build Coastguard Worker
333*9880d681SAndroid Build Coastguard Worker; FP16:  fcvtns w1, h2                  ; encoding: [0x41,0x00,0xe0,0x1e]
334*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
335*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fcvtns  w1, h2
336*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtns w1, s2                  ; encoding: [0x41,0x00,0x20,0x1e]
337*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtns w1, d2                  ; encoding: [0x41,0x00,0x60,0x1e]
338*9880d681SAndroid Build Coastguard Worker; FP16:  fcvtns x1, h2                  ; encoding: [0x41,0x00,0xe0,0x9e]
339*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
340*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fcvtns  x1, h2
341*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtns x1, s2                  ; encoding: [0x41,0x00,0x20,0x9e]
342*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtns x1, d2                  ; encoding: [0x41,0x00,0x60,0x9e]
343*9880d681SAndroid Build Coastguard Worker
344*9880d681SAndroid Build Coastguard Worker  fcvtnu w1, h2
345*9880d681SAndroid Build Coastguard Worker  fcvtnu w1, s2
346*9880d681SAndroid Build Coastguard Worker  fcvtnu w1, d2
347*9880d681SAndroid Build Coastguard Worker  fcvtnu x1, h2
348*9880d681SAndroid Build Coastguard Worker  fcvtnu x1, s2
349*9880d681SAndroid Build Coastguard Worker  fcvtnu x1, d2
350*9880d681SAndroid Build Coastguard Worker
351*9880d681SAndroid Build Coastguard Worker; FP16:  fcvtnu w1, h2                  ; encoding: [0x41,0x00,0xe1,0x1e]
352*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
353*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fcvtnu  w1, h2
354*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtnu w1, s2                  ; encoding: [0x41,0x00,0x21,0x1e]
355*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtnu w1, d2                  ; encoding: [0x41,0x00,0x61,0x1e]
356*9880d681SAndroid Build Coastguard Worker; FP16:  fcvtnu x1, h2                  ; encoding: [0x41,0x00,0xe1,0x9e]
357*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
358*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fcvtnu  x1, h2
359*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtnu x1, s2                  ; encoding: [0x41,0x00,0x21,0x9e]
360*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtnu x1, d2                  ; encoding: [0x41,0x00,0x61,0x9e]
361*9880d681SAndroid Build Coastguard Worker
362*9880d681SAndroid Build Coastguard Worker  fcvtps w1, h2
363*9880d681SAndroid Build Coastguard Worker  fcvtps w1, s2
364*9880d681SAndroid Build Coastguard Worker  fcvtps w1, d2
365*9880d681SAndroid Build Coastguard Worker  fcvtps x1, h2
366*9880d681SAndroid Build Coastguard Worker  fcvtps x1, s2
367*9880d681SAndroid Build Coastguard Worker  fcvtps x1, d2
368*9880d681SAndroid Build Coastguard Worker
369*9880d681SAndroid Build Coastguard Worker; FP16:  fcvtps w1, h2                  ; encoding: [0x41,0x00,0xe8,0x1e]
370*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
371*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fcvtps  w1, h2
372*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtps w1, s2                  ; encoding: [0x41,0x00,0x28,0x1e]
373*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtps w1, d2                  ; encoding: [0x41,0x00,0x68,0x1e]
374*9880d681SAndroid Build Coastguard Worker; FP16:  fcvtps x1, h2                  ; encoding: [0x41,0x00,0xe8,0x9e]
375*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
376*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fcvtps  x1, h2
377*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtps x1, s2                  ; encoding: [0x41,0x00,0x28,0x9e]
378*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtps x1, d2                  ; encoding: [0x41,0x00,0x68,0x9e]
379*9880d681SAndroid Build Coastguard Worker
380*9880d681SAndroid Build Coastguard Worker  fcvtpu w1, h2
381*9880d681SAndroid Build Coastguard Worker  fcvtpu w1, s2
382*9880d681SAndroid Build Coastguard Worker  fcvtpu w1, d2
383*9880d681SAndroid Build Coastguard Worker  fcvtpu x1, h2
384*9880d681SAndroid Build Coastguard Worker  fcvtpu x1, s2
385*9880d681SAndroid Build Coastguard Worker  fcvtpu x1, d2
386*9880d681SAndroid Build Coastguard Worker
387*9880d681SAndroid Build Coastguard Worker; FP16:  fcvtpu w1, h2                  ; encoding: [0x41,0x00,0xe9,0x1e]
388*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
389*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fcvtpu  w1, h2
390*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtpu w1, s2                  ; encoding: [0x41,0x00,0x29,0x1e]
391*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtpu w1, d2                  ; encoding: [0x41,0x00,0x69,0x1e]
392*9880d681SAndroid Build Coastguard Worker; FP16:  fcvtpu x1, h2                  ; encoding: [0x41,0x00,0xe9,0x9e]
393*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
394*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fcvtpu  x1, h2
395*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtpu x1, s2                  ; encoding: [0x41,0x00,0x29,0x9e]
396*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtpu x1, d2                  ; encoding: [0x41,0x00,0x69,0x9e]
397*9880d681SAndroid Build Coastguard Worker
398*9880d681SAndroid Build Coastguard Worker  fcvtzs w1, h2
399*9880d681SAndroid Build Coastguard Worker  fcvtzs w1, h2, #1
400*9880d681SAndroid Build Coastguard Worker  fcvtzs w1, s2
401*9880d681SAndroid Build Coastguard Worker  fcvtzs w1, s2, #1
402*9880d681SAndroid Build Coastguard Worker  fcvtzs w1, d2
403*9880d681SAndroid Build Coastguard Worker  fcvtzs w1, d2, #1
404*9880d681SAndroid Build Coastguard Worker  fcvtzs x1, h2
405*9880d681SAndroid Build Coastguard Worker  fcvtzs x1, h2, #1
406*9880d681SAndroid Build Coastguard Worker  fcvtzs x1, s2
407*9880d681SAndroid Build Coastguard Worker  fcvtzs x1, s2, #1
408*9880d681SAndroid Build Coastguard Worker  fcvtzs x1, d2
409*9880d681SAndroid Build Coastguard Worker  fcvtzs x1, d2, #1
410*9880d681SAndroid Build Coastguard Worker
411*9880d681SAndroid Build Coastguard Worker; FP16:  fcvtzs w1, h2                  ; encoding: [0x41,0x00,0xf8,0x1e]
412*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
413*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fcvtzs  w1, h2
414*9880d681SAndroid Build Coastguard Worker; FP16:  fcvtzs w1, h2, #1              ; encoding: [0x41,0xfc,0xd8,0x1e]
415*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
416*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fcvtzs  w1, h2, #1
417*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtzs w1, s2                  ; encoding: [0x41,0x00,0x38,0x1e]
418*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtzs w1, s2, #1              ; encoding: [0x41,0xfc,0x18,0x1e]
419*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtzs w1, d2                  ; encoding: [0x41,0x00,0x78,0x1e]
420*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtzs w1, d2, #1              ; encoding: [0x41,0xfc,0x58,0x1e]
421*9880d681SAndroid Build Coastguard Worker; FP16:  fcvtzs x1, h2                  ; encoding: [0x41,0x00,0xf8,0x9e]
422*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
423*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fcvtzs  x1, h2
424*9880d681SAndroid Build Coastguard Worker; FP16:  fcvtzs x1, h2, #1              ; encoding: [0x41,0xfc,0xd8,0x9e]
425*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
426*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fcvtzs  x1, h2, #1
427*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtzs x1, s2                  ; encoding: [0x41,0x00,0x38,0x9e]
428*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtzs x1, s2, #1              ; encoding: [0x41,0xfc,0x18,0x9e]
429*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtzs x1, d2                  ; encoding: [0x41,0x00,0x78,0x9e]
430*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtzs x1, d2, #1              ; encoding: [0x41,0xfc,0x58,0x9e]
431*9880d681SAndroid Build Coastguard Worker
432*9880d681SAndroid Build Coastguard Worker  fcvtzu w1, h2
433*9880d681SAndroid Build Coastguard Worker  fcvtzu w1, h2, #1
434*9880d681SAndroid Build Coastguard Worker  fcvtzu w1, s2
435*9880d681SAndroid Build Coastguard Worker  fcvtzu w1, s2, #1
436*9880d681SAndroid Build Coastguard Worker  fcvtzu w1, d2
437*9880d681SAndroid Build Coastguard Worker  fcvtzu w1, d2, #1
438*9880d681SAndroid Build Coastguard Worker  fcvtzu x1, h2
439*9880d681SAndroid Build Coastguard Worker  fcvtzu x1, h2, #1
440*9880d681SAndroid Build Coastguard Worker  fcvtzu x1, s2
441*9880d681SAndroid Build Coastguard Worker  fcvtzu x1, s2, #1
442*9880d681SAndroid Build Coastguard Worker  fcvtzu x1, d2
443*9880d681SAndroid Build Coastguard Worker  fcvtzu x1, d2, #1
444*9880d681SAndroid Build Coastguard Worker
445*9880d681SAndroid Build Coastguard Worker; FP16:  fcvtzu w1, h2                  ; encoding: [0x41,0x00,0xf9,0x1e]
446*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
447*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fcvtzu  w1, h2
448*9880d681SAndroid Build Coastguard Worker; FP16:  fcvtzu w1, h2, #1              ; encoding: [0x41,0xfc,0xd9,0x1e]
449*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
450*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fcvtzu  w1, h2, #1
451*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtzu w1, s2                  ; encoding: [0x41,0x00,0x39,0x1e]
452*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtzu w1, s2, #1              ; encoding: [0x41,0xfc,0x19,0x1e]
453*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtzu w1, d2                  ; encoding: [0x41,0x00,0x79,0x1e]
454*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtzu w1, d2, #1              ; encoding: [0x41,0xfc,0x59,0x1e]
455*9880d681SAndroid Build Coastguard Worker; FP16:  fcvtzu x1, h2                  ; encoding: [0x41,0x00,0xf9,0x9e]
456*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
457*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fcvtzu  x1, h2
458*9880d681SAndroid Build Coastguard Worker; FP16:  fcvtzu x1, h2, #1              ; encoding: [0x41,0xfc,0xd9,0x9e]
459*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
460*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fcvtzu  x1, h2, #1
461*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtzu x1, s2                  ; encoding: [0x41,0x00,0x39,0x9e]
462*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtzu x1, s2, #1              ; encoding: [0x41,0xfc,0x19,0x9e]
463*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtzu x1, d2                  ; encoding: [0x41,0x00,0x79,0x9e]
464*9880d681SAndroid Build Coastguard Worker; CHECK: fcvtzu x1, d2, #1              ; encoding: [0x41,0xfc,0x59,0x9e]
465*9880d681SAndroid Build Coastguard Worker
466*9880d681SAndroid Build Coastguard Worker  scvtf h1, w2
467*9880d681SAndroid Build Coastguard Worker  scvtf h1, w2, #1
468*9880d681SAndroid Build Coastguard Worker  scvtf s1, w2
469*9880d681SAndroid Build Coastguard Worker  scvtf s1, w2, #1
470*9880d681SAndroid Build Coastguard Worker  scvtf d1, w2
471*9880d681SAndroid Build Coastguard Worker  scvtf d1, w2, #1
472*9880d681SAndroid Build Coastguard Worker  scvtf h1, x2
473*9880d681SAndroid Build Coastguard Worker  scvtf h1, x2, #1
474*9880d681SAndroid Build Coastguard Worker  scvtf s1, x2
475*9880d681SAndroid Build Coastguard Worker  scvtf s1, x2, #1
476*9880d681SAndroid Build Coastguard Worker  scvtf d1, x2
477*9880d681SAndroid Build Coastguard Worker  scvtf d1, x2, #1
478*9880d681SAndroid Build Coastguard Worker
479*9880d681SAndroid Build Coastguard Worker; FP16:  scvtf  h1, w2                  ; encoding: [0x41,0x00,0xe2,0x1e]
480*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
481*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: scvtf h1, w2
482*9880d681SAndroid Build Coastguard Worker; FP16:  scvtf  h1, w2, #1              ; encoding: [0x41,0xfc,0xc2,0x1e]
483*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
484*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: scvtf h1, w2, #1
485*9880d681SAndroid Build Coastguard Worker; CHECK: scvtf  s1, w2                  ; encoding: [0x41,0x00,0x22,0x1e]
486*9880d681SAndroid Build Coastguard Worker; CHECK: scvtf  s1, w2, #1              ; encoding: [0x41,0xfc,0x02,0x1e]
487*9880d681SAndroid Build Coastguard Worker; CHECK: scvtf  d1, w2                  ; encoding: [0x41,0x00,0x62,0x1e]
488*9880d681SAndroid Build Coastguard Worker; CHECK: scvtf  d1, w2, #1              ; encoding: [0x41,0xfc,0x42,0x1e]
489*9880d681SAndroid Build Coastguard Worker; FP16:  scvtf  h1, x2                  ; encoding: [0x41,0x00,0xe2,0x9e]
490*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
491*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: scvtf h1, x2
492*9880d681SAndroid Build Coastguard Worker; FP16:  scvtf  h1, x2, #1              ; encoding: [0x41,0xfc,0xc2,0x9e]
493*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
494*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: scvtf h1, x2, #1
495*9880d681SAndroid Build Coastguard Worker; CHECK: scvtf  s1, x2                  ; encoding: [0x41,0x00,0x22,0x9e]
496*9880d681SAndroid Build Coastguard Worker; CHECK: scvtf  s1, x2, #1              ; encoding: [0x41,0xfc,0x02,0x9e]
497*9880d681SAndroid Build Coastguard Worker; CHECK: scvtf  d1, x2                  ; encoding: [0x41,0x00,0x62,0x9e]
498*9880d681SAndroid Build Coastguard Worker; CHECK: scvtf  d1, x2, #1              ; encoding: [0x41,0xfc,0x42,0x9e]
499*9880d681SAndroid Build Coastguard Worker
500*9880d681SAndroid Build Coastguard Worker  ucvtf h1, w2
501*9880d681SAndroid Build Coastguard Worker  ucvtf h1, w2, #1
502*9880d681SAndroid Build Coastguard Worker  ucvtf s1, w2
503*9880d681SAndroid Build Coastguard Worker  ucvtf s1, w2, #1
504*9880d681SAndroid Build Coastguard Worker  ucvtf d1, w2
505*9880d681SAndroid Build Coastguard Worker  ucvtf d1, w2, #1
506*9880d681SAndroid Build Coastguard Worker  ucvtf h1, x2
507*9880d681SAndroid Build Coastguard Worker  ucvtf h1, x2, #1
508*9880d681SAndroid Build Coastguard Worker  ucvtf s1, x2
509*9880d681SAndroid Build Coastguard Worker  ucvtf s1, x2, #1
510*9880d681SAndroid Build Coastguard Worker  ucvtf d1, x2
511*9880d681SAndroid Build Coastguard Worker  ucvtf d1, x2, #1
512*9880d681SAndroid Build Coastguard Worker
513*9880d681SAndroid Build Coastguard Worker; FP16:  ucvtf  h1, w2                  ; encoding: [0x41,0x00,0xe3,0x1e]
514*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
515*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: ucvtf h1, w2
516*9880d681SAndroid Build Coastguard Worker; FP16:  ucvtf  h1, w2, #1              ; encoding: [0x41,0xfc,0xc3,0x1e]
517*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
518*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: ucvtf h1, w2, #1
519*9880d681SAndroid Build Coastguard Worker; CHECK: ucvtf  s1, w2                  ; encoding: [0x41,0x00,0x23,0x1e]
520*9880d681SAndroid Build Coastguard Worker; CHECK: ucvtf  s1, w2, #1              ; encoding: [0x41,0xfc,0x03,0x1e]
521*9880d681SAndroid Build Coastguard Worker; CHECK: ucvtf  d1, w2                  ; encoding: [0x41,0x00,0x63,0x1e]
522*9880d681SAndroid Build Coastguard Worker; CHECK: ucvtf  d1, w2, #1              ; encoding: [0x41,0xfc,0x43,0x1e]
523*9880d681SAndroid Build Coastguard Worker; FP16:  ucvtf  h1, x2                  ; encoding: [0x41,0x00,0xe3,0x9e]
524*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
525*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: ucvtf h1, x2
526*9880d681SAndroid Build Coastguard Worker; FP16:  ucvtf  h1, x2, #1              ; encoding: [0x41,0xfc,0xc3,0x9e]
527*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
528*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: ucvtf h1, x2, #1
529*9880d681SAndroid Build Coastguard Worker; CHECK: ucvtf  s1, x2                  ; encoding: [0x41,0x00,0x23,0x9e]
530*9880d681SAndroid Build Coastguard Worker; CHECK: ucvtf  s1, x2, #1              ; encoding: [0x41,0xfc,0x03,0x9e]
531*9880d681SAndroid Build Coastguard Worker; CHECK: ucvtf  d1, x2                  ; encoding: [0x41,0x00,0x63,0x9e]
532*9880d681SAndroid Build Coastguard Worker; CHECK: ucvtf  d1, x2, #1              ; encoding: [0x41,0xfc,0x43,0x9e]
533*9880d681SAndroid Build Coastguard Worker
534*9880d681SAndroid Build Coastguard Worker;-----------------------------------------------------------------------------
535*9880d681SAndroid Build Coastguard Worker; Floating-point move
536*9880d681SAndroid Build Coastguard Worker;-----------------------------------------------------------------------------
537*9880d681SAndroid Build Coastguard Worker
538*9880d681SAndroid Build Coastguard Worker  fmov h1, w2
539*9880d681SAndroid Build Coastguard Worker  fmov w1, h2
540*9880d681SAndroid Build Coastguard Worker  fmov h1, x2
541*9880d681SAndroid Build Coastguard Worker  fmov x1, h2
542*9880d681SAndroid Build Coastguard Worker  fmov s1, w2
543*9880d681SAndroid Build Coastguard Worker  fmov w1, s2
544*9880d681SAndroid Build Coastguard Worker  fmov d1, x2
545*9880d681SAndroid Build Coastguard Worker  fmov x1, d2
546*9880d681SAndroid Build Coastguard Worker
547*9880d681SAndroid Build Coastguard Worker; FP16:  fmov h1, w2                 ; encoding: [0x41,0x00,0xe7,0x1e]
548*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
549*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fmov h1, w2
550*9880d681SAndroid Build Coastguard Worker; FP16:  fmov w1, h2                 ; encoding: [0x41,0x00,0xe6,0x1e]
551*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
552*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fmov w1, h2
553*9880d681SAndroid Build Coastguard Worker; FP16:  fmov h1, x2                 ; encoding: [0x41,0x00,0xe7,0x9e]
554*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
555*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fmov h1, x2
556*9880d681SAndroid Build Coastguard Worker; FP16:  fmov x1, h2                 ; encoding: [0x41,0x00,0xe6,0x9e]
557*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
558*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fmov x1, h2
559*9880d681SAndroid Build Coastguard Worker; CHECK: fmov s1, w2                 ; encoding: [0x41,0x00,0x27,0x1e]
560*9880d681SAndroid Build Coastguard Worker; CHECK: fmov w1, s2                 ; encoding: [0x41,0x00,0x26,0x1e]
561*9880d681SAndroid Build Coastguard Worker; CHECK: fmov d1, x2                 ; encoding: [0x41,0x00,0x67,0x9e]
562*9880d681SAndroid Build Coastguard Worker; CHECK: fmov x1, d2                 ; encoding: [0x41,0x00,0x66,0x9e]
563*9880d681SAndroid Build Coastguard Worker
564*9880d681SAndroid Build Coastguard Worker  fmov h1, #0.125
565*9880d681SAndroid Build Coastguard Worker  fmov h1, #0x40
566*9880d681SAndroid Build Coastguard Worker  fmov s1, #0.125
567*9880d681SAndroid Build Coastguard Worker  fmov s1, #0x40
568*9880d681SAndroid Build Coastguard Worker  fmov d1, #0.125
569*9880d681SAndroid Build Coastguard Worker  fmov d1, #0x40
570*9880d681SAndroid Build Coastguard Worker  fmov d1, #-4.843750e-01
571*9880d681SAndroid Build Coastguard Worker  fmov d1, #4.843750e-01
572*9880d681SAndroid Build Coastguard Worker  fmov d3, #3
573*9880d681SAndroid Build Coastguard Worker  fmov h2, #0.0
574*9880d681SAndroid Build Coastguard Worker  fmov s2, #0.0
575*9880d681SAndroid Build Coastguard Worker  fmov d2, #0.0
576*9880d681SAndroid Build Coastguard Worker
577*9880d681SAndroid Build Coastguard Worker; FP16:  fmov h1, #0.12500000      ; encoding: [0x01,0x10,0xe8,0x1e]
578*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
579*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fmov h1, #0.125
580*9880d681SAndroid Build Coastguard Worker; FP16:  fmov h1, #0.12500000      ; encoding: [0x01,0x10,0xe8,0x1e]
581*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
582*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fmov h1, #0x40
583*9880d681SAndroid Build Coastguard Worker; CHECK: fmov s1, #0.12500000      ; encoding: [0x01,0x10,0x28,0x1e]
584*9880d681SAndroid Build Coastguard Worker; CHECK: fmov s1, #0.12500000      ; encoding: [0x01,0x10,0x28,0x1e]
585*9880d681SAndroid Build Coastguard Worker; CHECK: fmov d1, #0.12500000      ; encoding: [0x01,0x10,0x68,0x1e]
586*9880d681SAndroid Build Coastguard Worker; CHECK: fmov d1, #0.12500000      ; encoding: [0x01,0x10,0x68,0x1e]
587*9880d681SAndroid Build Coastguard Worker; CHECK: fmov d1, #-0.48437500     ; encoding: [0x01,0xf0,0x7b,0x1e]
588*9880d681SAndroid Build Coastguard Worker; CHECK: fmov d1, #0.48437500      ; encoding: [0x01,0xf0,0x6b,0x1e]
589*9880d681SAndroid Build Coastguard Worker; CHECK: fmov d3, #3.00000000      ; encoding: [0x03,0x10,0x61,0x1e]
590*9880d681SAndroid Build Coastguard Worker; FP16:  fmov h2, wzr                ; encoding: [0xe2,0x03,0xe7,0x1e]
591*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
592*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fmov h2, #0.0
593*9880d681SAndroid Build Coastguard Worker; CHECK: fmov s2, wzr                ; encoding: [0xe2,0x03,0x27,0x1e]
594*9880d681SAndroid Build Coastguard Worker; CHECK: fmov d2, xzr                ; encoding: [0xe2,0x03,0x67,0x9e]
595*9880d681SAndroid Build Coastguard Worker
596*9880d681SAndroid Build Coastguard Worker  fmov h1, h2
597*9880d681SAndroid Build Coastguard Worker  fmov s1, s2
598*9880d681SAndroid Build Coastguard Worker  fmov d1, d2
599*9880d681SAndroid Build Coastguard Worker
600*9880d681SAndroid Build Coastguard Worker; FP16:  fmov h1, h2                 ; encoding: [0x41,0x40,0xe0,0x1e]
601*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
602*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: fmov h1, h2
603*9880d681SAndroid Build Coastguard Worker; CHECK: fmov s1, s2                 ; encoding: [0x41,0x40,0x20,0x1e]
604*9880d681SAndroid Build Coastguard Worker; CHECK: fmov d1, d2                 ; encoding: [0x41,0x40,0x60,0x1e]
605*9880d681SAndroid Build Coastguard Worker
606*9880d681SAndroid Build Coastguard Worker
607*9880d681SAndroid Build Coastguard Worker  fmov x2, v5.d[1]
608*9880d681SAndroid Build Coastguard Worker  fmov.d x9, v7[1]
609*9880d681SAndroid Build Coastguard Worker  fmov v1.d[1], x1
610*9880d681SAndroid Build Coastguard Worker  fmov.d v8[1], x6
611*9880d681SAndroid Build Coastguard Worker
612*9880d681SAndroid Build Coastguard Worker; CHECK: fmov.d x2, v5[1]               ; encoding: [0xa2,0x00,0xae,0x9e]
613*9880d681SAndroid Build Coastguard Worker; CHECK: fmov.d x9, v7[1]               ; encoding: [0xe9,0x00,0xae,0x9e]
614*9880d681SAndroid Build Coastguard Worker; CHECK: fmov.d v1[1], x1               ; encoding: [0x21,0x00,0xaf,0x9e]
615*9880d681SAndroid Build Coastguard Worker; CHECK: fmov.d v8[1], x6               ; encoding: [0xc8,0x00,0xaf,0x9e]
616*9880d681SAndroid Build Coastguard Worker
617*9880d681SAndroid Build Coastguard Worker
618*9880d681SAndroid Build Coastguard Worker;-----------------------------------------------------------------------------
619*9880d681SAndroid Build Coastguard Worker; Floating-point round to integral
620*9880d681SAndroid Build Coastguard Worker;-----------------------------------------------------------------------------
621*9880d681SAndroid Build Coastguard Worker
622*9880d681SAndroid Build Coastguard Worker  frinta h1, h2
623*9880d681SAndroid Build Coastguard Worker  frinta s1, s2
624*9880d681SAndroid Build Coastguard Worker  frinta d1, d2
625*9880d681SAndroid Build Coastguard Worker
626*9880d681SAndroid Build Coastguard Worker; FP16:  frinta h1, h2               ; encoding: [0x41,0x40,0xe6,0x1e]
627*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
628*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: frinta h1, h2
629*9880d681SAndroid Build Coastguard Worker; CHECK: frinta s1, s2               ; encoding: [0x41,0x40,0x26,0x1e]
630*9880d681SAndroid Build Coastguard Worker; CHECK: frinta d1, d2               ; encoding: [0x41,0x40,0x66,0x1e]
631*9880d681SAndroid Build Coastguard Worker
632*9880d681SAndroid Build Coastguard Worker  frinti h1, h2
633*9880d681SAndroid Build Coastguard Worker  frinti s1, s2
634*9880d681SAndroid Build Coastguard Worker  frinti d1, d2
635*9880d681SAndroid Build Coastguard Worker
636*9880d681SAndroid Build Coastguard Worker; FP16:  frinti h1, h2               ; encoding: [0x41,0xc0,0xe7,0x1e]
637*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
638*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: frinti h1, h2
639*9880d681SAndroid Build Coastguard Worker; CHECK: frinti s1, s2               ; encoding: [0x41,0xc0,0x27,0x1e]
640*9880d681SAndroid Build Coastguard Worker; CHECK: frinti d1, d2               ; encoding: [0x41,0xc0,0x67,0x1e]
641*9880d681SAndroid Build Coastguard Worker
642*9880d681SAndroid Build Coastguard Worker  frintm h1, h2
643*9880d681SAndroid Build Coastguard Worker  frintm s1, s2
644*9880d681SAndroid Build Coastguard Worker  frintm d1, d2
645*9880d681SAndroid Build Coastguard Worker
646*9880d681SAndroid Build Coastguard Worker; FP16:  frintm h1, h2               ; encoding: [0x41,0x40,0xe5,0x1e]
647*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
648*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: frintm h1, h2
649*9880d681SAndroid Build Coastguard Worker; CHECK: frintm s1, s2               ; encoding: [0x41,0x40,0x25,0x1e]
650*9880d681SAndroid Build Coastguard Worker; CHECK: frintm d1, d2               ; encoding: [0x41,0x40,0x65,0x1e]
651*9880d681SAndroid Build Coastguard Worker
652*9880d681SAndroid Build Coastguard Worker  frintn h1, h2
653*9880d681SAndroid Build Coastguard Worker  frintn s1, s2
654*9880d681SAndroid Build Coastguard Worker  frintn d1, d2
655*9880d681SAndroid Build Coastguard Worker
656*9880d681SAndroid Build Coastguard Worker; FP16:  frintn h1, h2               ; encoding: [0x41,0x40,0xe4,0x1e]
657*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
658*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: frintn h1, h2
659*9880d681SAndroid Build Coastguard Worker; CHECK: frintn s1, s2               ; encoding: [0x41,0x40,0x24,0x1e]
660*9880d681SAndroid Build Coastguard Worker; CHECK: frintn d1, d2               ; encoding: [0x41,0x40,0x64,0x1e]
661*9880d681SAndroid Build Coastguard Worker
662*9880d681SAndroid Build Coastguard Worker  frintp h1, h2
663*9880d681SAndroid Build Coastguard Worker  frintp s1, s2
664*9880d681SAndroid Build Coastguard Worker  frintp d1, d2
665*9880d681SAndroid Build Coastguard Worker
666*9880d681SAndroid Build Coastguard Worker; FP16:  frintp h1, h2               ; encoding: [0x41,0xc0,0xe4,0x1e]
667*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
668*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: frintp h1, h2
669*9880d681SAndroid Build Coastguard Worker; CHECK: frintp s1, s2               ; encoding: [0x41,0xc0,0x24,0x1e]
670*9880d681SAndroid Build Coastguard Worker; CHECK: frintp d1, d2               ; encoding: [0x41,0xc0,0x64,0x1e]
671*9880d681SAndroid Build Coastguard Worker
672*9880d681SAndroid Build Coastguard Worker  frintx h1, h2
673*9880d681SAndroid Build Coastguard Worker  frintx s1, s2
674*9880d681SAndroid Build Coastguard Worker  frintx d1, d2
675*9880d681SAndroid Build Coastguard Worker
676*9880d681SAndroid Build Coastguard Worker; FP16:  frintx h1, h2               ; encoding: [0x41,0x40,0xe7,0x1e]
677*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
678*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: frintx h1, h2
679*9880d681SAndroid Build Coastguard Worker; CHECK: frintx s1, s2               ; encoding: [0x41,0x40,0x27,0x1e]
680*9880d681SAndroid Build Coastguard Worker; CHECK: frintx d1, d2               ; encoding: [0x41,0x40,0x67,0x1e]
681*9880d681SAndroid Build Coastguard Worker
682*9880d681SAndroid Build Coastguard Worker  frintz h1, h2
683*9880d681SAndroid Build Coastguard Worker  frintz s1, s2
684*9880d681SAndroid Build Coastguard Worker  frintz d1, d2
685*9880d681SAndroid Build Coastguard Worker
686*9880d681SAndroid Build Coastguard Worker; FP16:  frintz h1, h2               ; encoding: [0x41,0xc0,0xe5,0x1e]
687*9880d681SAndroid Build Coastguard Worker; NO-FP16: error: instruction requires:
688*9880d681SAndroid Build Coastguard Worker; NO-FP16-NEXT: frintz h1, h2
689*9880d681SAndroid Build Coastguard Worker; CHECK: frintz s1, s2               ; encoding: [0x41,0xc0,0x25,0x1e]
690*9880d681SAndroid Build Coastguard Worker; CHECK: frintz d1, d2               ; encoding: [0x41,0xc0,0x65,0x1e]
691*9880d681SAndroid Build Coastguard Worker
692*9880d681SAndroid Build Coastguard Worker  cmhs d0, d0, d0
693*9880d681SAndroid Build Coastguard Worker  cmtst d0, d0, d0
694*9880d681SAndroid Build Coastguard Worker
695*9880d681SAndroid Build Coastguard Worker; CHECK: cmhs d0, d0, d0              ; encoding: [0x00,0x3c,0xe0,0x7e]
696*9880d681SAndroid Build Coastguard Worker; CHECK: cmtst  d0, d0, d0              ; encoding: [0x00,0x8c,0xe0,0x5e]
697*9880d681SAndroid Build Coastguard Worker
698*9880d681SAndroid Build Coastguard Worker
699*9880d681SAndroid Build Coastguard Worker
700*9880d681SAndroid Build Coastguard Worker;-----------------------------------------------------------------------------
701*9880d681SAndroid Build Coastguard Worker; Floating-point extract and narrow
702*9880d681SAndroid Build Coastguard Worker;-----------------------------------------------------------------------------
703*9880d681SAndroid Build Coastguard Worker  sqxtn b4, h2
704*9880d681SAndroid Build Coastguard Worker  sqxtn h2, s3
705*9880d681SAndroid Build Coastguard Worker  sqxtn s9, d2
706*9880d681SAndroid Build Coastguard Worker
707*9880d681SAndroid Build Coastguard Worker; CHECK: sqxtn b4, h2                  ; encoding: [0x44,0x48,0x21,0x5e]
708*9880d681SAndroid Build Coastguard Worker; CHECK: sqxtn h2, s3                  ; encoding: [0x62,0x48,0x61,0x5e]
709*9880d681SAndroid Build Coastguard Worker; CHECK: sqxtn s9, d2                  ; encoding: [0x49,0x48,0xa1,0x5e]
710*9880d681SAndroid Build Coastguard Worker
711*9880d681SAndroid Build Coastguard Worker  sqxtun b4, h2
712*9880d681SAndroid Build Coastguard Worker  sqxtun h2, s3
713*9880d681SAndroid Build Coastguard Worker  sqxtun s9, d2
714*9880d681SAndroid Build Coastguard Worker
715*9880d681SAndroid Build Coastguard Worker; CHECK: sqxtun b4, h2                  ; encoding: [0x44,0x28,0x21,0x7e]
716*9880d681SAndroid Build Coastguard Worker; CHECK: sqxtun h2, s3                  ; encoding: [0x62,0x28,0x61,0x7e]
717*9880d681SAndroid Build Coastguard Worker; CHECK: sqxtun s9, d2                  ; encoding: [0x49,0x28,0xa1,0x7e]
718*9880d681SAndroid Build Coastguard Worker
719*9880d681SAndroid Build Coastguard Worker  uqxtn b4, h2
720*9880d681SAndroid Build Coastguard Worker  uqxtn h2, s3
721*9880d681SAndroid Build Coastguard Worker  uqxtn s9, d2
722*9880d681SAndroid Build Coastguard Worker
723*9880d681SAndroid Build Coastguard Worker; CHECK: uqxtn b4, h2                  ; encoding: [0x44,0x48,0x21,0x7e]
724*9880d681SAndroid Build Coastguard Worker; CHECK: uqxtn h2, s3                  ; encoding: [0x62,0x48,0x61,0x7e]
725*9880d681SAndroid Build Coastguard Worker; CHECK: uqxtn s9, d2                  ; encoding: [0x49,0x48,0xa1,0x7e]
726