xref: /aosp_15_r20/external/llvm/test/MC/Disassembler/AArch64/arm64-scalar-fp.txt (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker# RUN: llvm-mc -triple arm64-apple-darwin -mattr=neon --disassemble -output-asm-variant=1 < %s | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker# RUN: llvm-mc -triple arm64-apple-darwin -mattr=neon,v8.2a,fullfp16 --disassemble -output-asm-variant=1 < %s | FileCheck %s --check-prefix=CHECK --check-prefix=FP16
3*9880d681SAndroid Build Coastguard Worker
4*9880d681SAndroid Build Coastguard Worker#-----------------------------------------------------------------------------
5*9880d681SAndroid Build Coastguard Worker# Floating-point arithmetic
6*9880d681SAndroid Build Coastguard Worker#-----------------------------------------------------------------------------
7*9880d681SAndroid Build Coastguard Worker
8*9880d681SAndroid Build Coastguard Worker0x41 0xc0 0xe0 0x1e
9*9880d681SAndroid Build Coastguard Worker0x41 0xc0 0x20 0x1e
10*9880d681SAndroid Build Coastguard Worker0x41 0xc0 0x60 0x1e
11*9880d681SAndroid Build Coastguard Worker
12*9880d681SAndroid Build Coastguard Worker# FP16: fabs h1, h2
13*9880d681SAndroid Build Coastguard Worker# CHECK: fabs s1, s2
14*9880d681SAndroid Build Coastguard Worker# CHECK: fabs d1, d2
15*9880d681SAndroid Build Coastguard Worker
16*9880d681SAndroid Build Coastguard Worker0x41 0x28 0xe3 0x1e
17*9880d681SAndroid Build Coastguard Worker0x41 0x28 0x23 0x1e
18*9880d681SAndroid Build Coastguard Worker0x41 0x28 0x63 0x1e
19*9880d681SAndroid Build Coastguard Worker
20*9880d681SAndroid Build Coastguard Worker# FP16:  fadd h1, h2, h3
21*9880d681SAndroid Build Coastguard Worker# CHECK: fadd s1, s2, s3
22*9880d681SAndroid Build Coastguard Worker# CHECK: fadd d1, d2, d3
23*9880d681SAndroid Build Coastguard Worker
24*9880d681SAndroid Build Coastguard Worker0x41 0x18 0xe3 0x1e
25*9880d681SAndroid Build Coastguard Worker0x41 0x18 0x23 0x1e
26*9880d681SAndroid Build Coastguard Worker0x41 0x18 0x63 0x1e
27*9880d681SAndroid Build Coastguard Worker
28*9880d681SAndroid Build Coastguard Worker# FP16:  fdiv h1, h2, h3
29*9880d681SAndroid Build Coastguard Worker# CHECK: fdiv s1, s2, s3
30*9880d681SAndroid Build Coastguard Worker# CHECK: fdiv d1, d2, d3
31*9880d681SAndroid Build Coastguard Worker
32*9880d681SAndroid Build Coastguard Worker0x41 0x10 0xc3 0x1f
33*9880d681SAndroid Build Coastguard Worker0x41 0x10 0x03 0x1f
34*9880d681SAndroid Build Coastguard Worker0x41 0x10 0x43 0x1f
35*9880d681SAndroid Build Coastguard Worker
36*9880d681SAndroid Build Coastguard Worker# FP16:  fmadd h1, h2, h3, h4
37*9880d681SAndroid Build Coastguard Worker# CHECK: fmadd s1, s2, s3, s4
38*9880d681SAndroid Build Coastguard Worker# CHECK: fmadd d1, d2, d3, d4
39*9880d681SAndroid Build Coastguard Worker
40*9880d681SAndroid Build Coastguard Worker0x41 0x48 0xe3 0x1e
41*9880d681SAndroid Build Coastguard Worker0x41 0x48 0x23 0x1e
42*9880d681SAndroid Build Coastguard Worker0x41 0x48 0x63 0x1e
43*9880d681SAndroid Build Coastguard Worker0x41 0x68 0xe3 0x1e
44*9880d681SAndroid Build Coastguard Worker0x41 0x68 0x23 0x1e
45*9880d681SAndroid Build Coastguard Worker0x41 0x68 0x63 0x1e
46*9880d681SAndroid Build Coastguard Worker
47*9880d681SAndroid Build Coastguard Worker# FP16:  fmax   h1, h2, h3
48*9880d681SAndroid Build Coastguard Worker# CHECK: fmax   s1, s2, s3
49*9880d681SAndroid Build Coastguard Worker# CHECK: fmax   d1, d2, d3
50*9880d681SAndroid Build Coastguard Worker# FP16:  fmaxnm h1, h2, h3
51*9880d681SAndroid Build Coastguard Worker# CHECK: fmaxnm s1, s2, s3
52*9880d681SAndroid Build Coastguard Worker# CHECK: fmaxnm d1, d2, d3
53*9880d681SAndroid Build Coastguard Worker
54*9880d681SAndroid Build Coastguard Worker0x41 0x58 0xe3 0x1e
55*9880d681SAndroid Build Coastguard Worker0x41 0x58 0x23 0x1e
56*9880d681SAndroid Build Coastguard Worker0x41 0x58 0x63 0x1e
57*9880d681SAndroid Build Coastguard Worker0x41 0x78 0xe3 0x1e
58*9880d681SAndroid Build Coastguard Worker0x41 0x78 0x23 0x1e
59*9880d681SAndroid Build Coastguard Worker0x41 0x78 0x63 0x1e
60*9880d681SAndroid Build Coastguard Worker
61*9880d681SAndroid Build Coastguard Worker# FP16:  fmin   h1, h2, h3
62*9880d681SAndroid Build Coastguard Worker# CHECK: fmin   s1, s2, s3
63*9880d681SAndroid Build Coastguard Worker# CHECK: fmin   d1, d2, d3
64*9880d681SAndroid Build Coastguard Worker# FP16:  fminnm h1, h2, h3
65*9880d681SAndroid Build Coastguard Worker# CHECK: fminnm s1, s2, s3
66*9880d681SAndroid Build Coastguard Worker# CHECK: fminnm d1, d2, d3
67*9880d681SAndroid Build Coastguard Worker
68*9880d681SAndroid Build Coastguard Worker0x41 0x90 0xc3 0x1f
69*9880d681SAndroid Build Coastguard Worker0x41 0x90 0x03 0x1f
70*9880d681SAndroid Build Coastguard Worker0x41 0x90 0x43 0x1f
71*9880d681SAndroid Build Coastguard Worker
72*9880d681SAndroid Build Coastguard Worker# FP16:  fmsub h1, h2, h3, h4
73*9880d681SAndroid Build Coastguard Worker# CHECK: fmsub s1, s2, s3, s4
74*9880d681SAndroid Build Coastguard Worker# CHECK: fmsub d1, d2, d3, d4
75*9880d681SAndroid Build Coastguard Worker
76*9880d681SAndroid Build Coastguard Worker0x41 0x08 0xe3 0x1e
77*9880d681SAndroid Build Coastguard Worker0x41 0x08 0x23 0x1e
78*9880d681SAndroid Build Coastguard Worker0x41 0x08 0x63 0x1e
79*9880d681SAndroid Build Coastguard Worker
80*9880d681SAndroid Build Coastguard Worker# FP16:  fmul h1, h2, h3
81*9880d681SAndroid Build Coastguard Worker# CHECK: fmul s1, s2, s3
82*9880d681SAndroid Build Coastguard Worker# CHECK: fmul d1, d2, d3
83*9880d681SAndroid Build Coastguard Worker
84*9880d681SAndroid Build Coastguard Worker0x41 0x40 0xe1 0x1e
85*9880d681SAndroid Build Coastguard Worker0x41 0x40 0x21 0x1e
86*9880d681SAndroid Build Coastguard Worker0x41 0x40 0x61 0x1e
87*9880d681SAndroid Build Coastguard Worker
88*9880d681SAndroid Build Coastguard Worker# FP16:  fneg h1, h2
89*9880d681SAndroid Build Coastguard Worker# CHECK: fneg s1, s2
90*9880d681SAndroid Build Coastguard Worker# CHECK: fneg d1, d2
91*9880d681SAndroid Build Coastguard Worker
92*9880d681SAndroid Build Coastguard Worker0x41 0x10 0xe3 0x1f
93*9880d681SAndroid Build Coastguard Worker0x41 0x10 0x23 0x1f
94*9880d681SAndroid Build Coastguard Worker0x41 0x10 0x63 0x1f
95*9880d681SAndroid Build Coastguard Worker
96*9880d681SAndroid Build Coastguard Worker# FP16:  fnmadd h1, h2, h3, h4
97*9880d681SAndroid Build Coastguard Worker# CHECK: fnmadd s1, s2, s3, s4
98*9880d681SAndroid Build Coastguard Worker# CHECK: fnmadd d1, d2, d3, d4
99*9880d681SAndroid Build Coastguard Worker
100*9880d681SAndroid Build Coastguard Worker0x41 0x90 0xe3 0x1f
101*9880d681SAndroid Build Coastguard Worker0x41 0x90 0x23 0x1f
102*9880d681SAndroid Build Coastguard Worker0x41 0x90 0x63 0x1f
103*9880d681SAndroid Build Coastguard Worker
104*9880d681SAndroid Build Coastguard Worker# FP16:  fnmsub h1, h2, h3, h4
105*9880d681SAndroid Build Coastguard Worker# CHECK: fnmsub s1, s2, s3, s4
106*9880d681SAndroid Build Coastguard Worker# CHECK: fnmsub d1, d2, d3, d4
107*9880d681SAndroid Build Coastguard Worker
108*9880d681SAndroid Build Coastguard Worker0x41 0x88 0xe3 0x1e
109*9880d681SAndroid Build Coastguard Worker0x41 0x88 0x23 0x1e
110*9880d681SAndroid Build Coastguard Worker0x41 0x88 0x63 0x1e
111*9880d681SAndroid Build Coastguard Worker
112*9880d681SAndroid Build Coastguard Worker# FP16:  fnmul h1, h2, h3
113*9880d681SAndroid Build Coastguard Worker# CHECK: fnmul s1, s2, s3
114*9880d681SAndroid Build Coastguard Worker# CHECK: fnmul d1, d2, d3
115*9880d681SAndroid Build Coastguard Worker
116*9880d681SAndroid Build Coastguard Worker0x41 0xc0 0xe1 0x1e
117*9880d681SAndroid Build Coastguard Worker0x41 0xc0 0x21 0x1e
118*9880d681SAndroid Build Coastguard Worker0x41 0xc0 0x61 0x1e
119*9880d681SAndroid Build Coastguard Worker
120*9880d681SAndroid Build Coastguard Worker# FP16:  fsqrt h1, h2
121*9880d681SAndroid Build Coastguard Worker# CHECK: fsqrt s1, s2
122*9880d681SAndroid Build Coastguard Worker# CHECK: fsqrt d1, d2
123*9880d681SAndroid Build Coastguard Worker
124*9880d681SAndroid Build Coastguard Worker0x41 0x38 0xe3 0x1e
125*9880d681SAndroid Build Coastguard Worker0x41 0x38 0x23 0x1e
126*9880d681SAndroid Build Coastguard Worker0x41 0x38 0x63 0x1e
127*9880d681SAndroid Build Coastguard Worker
128*9880d681SAndroid Build Coastguard Worker# FP16:  fsub h1, h2, h3
129*9880d681SAndroid Build Coastguard Worker# CHECK: fsub s1, s2, s3
130*9880d681SAndroid Build Coastguard Worker# CHECK: fsub d1, d2, d3
131*9880d681SAndroid Build Coastguard Worker
132*9880d681SAndroid Build Coastguard Worker#-----------------------------------------------------------------------------
133*9880d681SAndroid Build Coastguard Worker# Floating-point comparison
134*9880d681SAndroid Build Coastguard Worker#-----------------------------------------------------------------------------
135*9880d681SAndroid Build Coastguard Worker
136*9880d681SAndroid Build Coastguard Worker0x20 0x04 0xe2 0x1e
137*9880d681SAndroid Build Coastguard Worker0x20 0x04 0x22 0x1e
138*9880d681SAndroid Build Coastguard Worker0x20 0x04 0x62 0x1e
139*9880d681SAndroid Build Coastguard Worker0x30 0x04 0xe2 0x1e
140*9880d681SAndroid Build Coastguard Worker0x30 0x04 0x22 0x1e
141*9880d681SAndroid Build Coastguard Worker0x30 0x04 0x62 0x1e
142*9880d681SAndroid Build Coastguard Worker
143*9880d681SAndroid Build Coastguard Worker# FP16:  fccmp  h1, h2, #0, eq
144*9880d681SAndroid Build Coastguard Worker# CHECK: fccmp  s1, s2, #0, eq
145*9880d681SAndroid Build Coastguard Worker# CHECK: fccmp  d1, d2, #0, eq
146*9880d681SAndroid Build Coastguard Worker# FP16:  fccmpe h1, h2, #0, eq
147*9880d681SAndroid Build Coastguard Worker# CHECK: fccmpe s1, s2, #0, eq
148*9880d681SAndroid Build Coastguard Worker# CHECK: fccmpe d1, d2, #0, eq
149*9880d681SAndroid Build Coastguard Worker
150*9880d681SAndroid Build Coastguard Worker0x20 0x20 0xe2 0x1e
151*9880d681SAndroid Build Coastguard Worker0x20 0x20 0x22 0x1e
152*9880d681SAndroid Build Coastguard Worker0x20 0x20 0x62 0x1e
153*9880d681SAndroid Build Coastguard Worker0x28 0x20 0xe0 0x1e
154*9880d681SAndroid Build Coastguard Worker0x28 0x20 0x20 0x1e
155*9880d681SAndroid Build Coastguard Worker0x28 0x20 0x60 0x1e
156*9880d681SAndroid Build Coastguard Worker0x30 0x20 0xe2 0x1e
157*9880d681SAndroid Build Coastguard Worker0x30 0x20 0x22 0x1e
158*9880d681SAndroid Build Coastguard Worker0x30 0x20 0x62 0x1e
159*9880d681SAndroid Build Coastguard Worker0x38 0x20 0xe0 0x1e
160*9880d681SAndroid Build Coastguard Worker0x38 0x20 0x20 0x1e
161*9880d681SAndroid Build Coastguard Worker0x38 0x20 0x60 0x1e
162*9880d681SAndroid Build Coastguard Worker
163*9880d681SAndroid Build Coastguard Worker# FP16:  fcmp  h1, h2
164*9880d681SAndroid Build Coastguard Worker# CHECK: fcmp  s1, s2
165*9880d681SAndroid Build Coastguard Worker# CHECK: fcmp  d1, d2
166*9880d681SAndroid Build Coastguard Worker# FP16:  fcmp  h1, #0.0
167*9880d681SAndroid Build Coastguard Worker# CHECK: fcmp  s1, #0.0
168*9880d681SAndroid Build Coastguard Worker# CHECK: fcmp  d1, #0.0
169*9880d681SAndroid Build Coastguard Worker# FP16:  fcmpe h1, h2
170*9880d681SAndroid Build Coastguard Worker# CHECK: fcmpe s1, s2
171*9880d681SAndroid Build Coastguard Worker# CHECK: fcmpe d1, d2
172*9880d681SAndroid Build Coastguard Worker# FP16:  fcmpe h1, #0.0
173*9880d681SAndroid Build Coastguard Worker# CHECK: fcmpe s1, #0.0
174*9880d681SAndroid Build Coastguard Worker# CHECK: fcmpe d1, #0.0
175*9880d681SAndroid Build Coastguard Worker
176*9880d681SAndroid Build Coastguard Worker#-----------------------------------------------------------------------------
177*9880d681SAndroid Build Coastguard Worker# Floating-point conditional select
178*9880d681SAndroid Build Coastguard Worker#-----------------------------------------------------------------------------
179*9880d681SAndroid Build Coastguard Worker
180*9880d681SAndroid Build Coastguard Worker0x41 0x0c 0xe3 0x1e
181*9880d681SAndroid Build Coastguard Worker0x41 0x0c 0x23 0x1e
182*9880d681SAndroid Build Coastguard Worker0x41 0x0c 0x63 0x1e
183*9880d681SAndroid Build Coastguard Worker
184*9880d681SAndroid Build Coastguard Worker# FP16:  fcsel h1, h2, h3, eq
185*9880d681SAndroid Build Coastguard Worker# CHECK: fcsel s1, s2, s3, eq
186*9880d681SAndroid Build Coastguard Worker# CHECK: fcsel d1, d2, d3, eq
187*9880d681SAndroid Build Coastguard Worker
188*9880d681SAndroid Build Coastguard Worker#-----------------------------------------------------------------------------
189*9880d681SAndroid Build Coastguard Worker# Floating-point convert
190*9880d681SAndroid Build Coastguard Worker#-----------------------------------------------------------------------------
191*9880d681SAndroid Build Coastguard Worker
192*9880d681SAndroid Build Coastguard Worker0x41 0xc0 0x63 0x1e
193*9880d681SAndroid Build Coastguard Worker0x41 0x40 0x62 0x1e
194*9880d681SAndroid Build Coastguard Worker0x41 0xc0 0xe2 0x1e
195*9880d681SAndroid Build Coastguard Worker0x41 0x40 0xe2 0x1e
196*9880d681SAndroid Build Coastguard Worker0x41 0xc0 0x22 0x1e
197*9880d681SAndroid Build Coastguard Worker0x41 0xc0 0x23 0x1e
198*9880d681SAndroid Build Coastguard Worker
199*9880d681SAndroid Build Coastguard Worker# CHECK: fcvt h1, d2
200*9880d681SAndroid Build Coastguard Worker# CHECK: fcvt s1, d2
201*9880d681SAndroid Build Coastguard Worker# CHECK: fcvt d1, h2
202*9880d681SAndroid Build Coastguard Worker# CHECK: fcvt s1, h2
203*9880d681SAndroid Build Coastguard Worker# CHECK: fcvt d1, s2
204*9880d681SAndroid Build Coastguard Worker# CHECK: fcvt h1, s2
205*9880d681SAndroid Build Coastguard Worker
206*9880d681SAndroid Build Coastguard Worker0x41 0x00 0x44 0x1e
207*9880d681SAndroid Build Coastguard Worker0x41 0x04 0x44 0x1e
208*9880d681SAndroid Build Coastguard Worker0x41 0x00 0x44 0x9e
209*9880d681SAndroid Build Coastguard Worker0x41 0x04 0x44 0x9e
210*9880d681SAndroid Build Coastguard Worker0x41 0x00 0x04 0x1e
211*9880d681SAndroid Build Coastguard Worker0x41 0x04 0x04 0x1e
212*9880d681SAndroid Build Coastguard Worker0x41 0x00 0x04 0x9e
213*9880d681SAndroid Build Coastguard Worker0x41 0x04 0x04 0x9e
214*9880d681SAndroid Build Coastguard Worker
215*9880d681SAndroid Build Coastguard Worker#-----------------------------------------------------------------------------
216*9880d681SAndroid Build Coastguard Worker# Floating-point move
217*9880d681SAndroid Build Coastguard Worker#-----------------------------------------------------------------------------
218*9880d681SAndroid Build Coastguard Worker
219*9880d681SAndroid Build Coastguard Worker0x41 0x00 0xe7 0x1e
220*9880d681SAndroid Build Coastguard Worker0x41 0x00 0xe6 0x1e
221*9880d681SAndroid Build Coastguard Worker0x41 0x00 0x27 0x1e
222*9880d681SAndroid Build Coastguard Worker0x41 0x00 0x26 0x1e
223*9880d681SAndroid Build Coastguard Worker0x41 0x00 0x67 0x9e
224*9880d681SAndroid Build Coastguard Worker0x41 0x00 0x66 0x9e
225*9880d681SAndroid Build Coastguard Worker
226*9880d681SAndroid Build Coastguard Worker# FP16:  fmov h1, w2
227*9880d681SAndroid Build Coastguard Worker# FP16:  fmov w1, h2
228*9880d681SAndroid Build Coastguard Worker# CHECK: fmov s1, w2
229*9880d681SAndroid Build Coastguard Worker# CHECK: fmov w1, s2
230*9880d681SAndroid Build Coastguard Worker# CHECK: fmov d1, x2
231*9880d681SAndroid Build Coastguard Worker# CHECK: fmov x1, d2
232*9880d681SAndroid Build Coastguard Worker
233*9880d681SAndroid Build Coastguard Worker0x01 0x10 0xe8 0x1e
234*9880d681SAndroid Build Coastguard Worker0x01 0x10 0x28 0x1e
235*9880d681SAndroid Build Coastguard Worker0x01 0x10 0x68 0x1e
236*9880d681SAndroid Build Coastguard Worker0x01 0xf0 0x7b 0x1e
237*9880d681SAndroid Build Coastguard Worker0x01 0xf0 0x6b 0x1e
238*9880d681SAndroid Build Coastguard Worker
239*9880d681SAndroid Build Coastguard Worker# FP16:  fmov h1, #0.12500000
240*9880d681SAndroid Build Coastguard Worker# CHECK: fmov s1, #0.12500000
241*9880d681SAndroid Build Coastguard Worker# CHECK: fmov d1, #0.12500000
242*9880d681SAndroid Build Coastguard Worker# CHECK: fmov d1, #-0.48437500
243*9880d681SAndroid Build Coastguard Worker# CHECK: fmov d1, #0.48437500
244*9880d681SAndroid Build Coastguard Worker
245*9880d681SAndroid Build Coastguard Worker0x41 0x40 0xe0 0x1e
246*9880d681SAndroid Build Coastguard Worker0x41 0x40 0x20 0x1e
247*9880d681SAndroid Build Coastguard Worker0x41 0x40 0x60 0x1e
248*9880d681SAndroid Build Coastguard Worker
249*9880d681SAndroid Build Coastguard Worker# FP16:  fmov h1, h2
250*9880d681SAndroid Build Coastguard Worker# CHECK: fmov s1, s2
251*9880d681SAndroid Build Coastguard Worker# CHECK: fmov d1, d2
252*9880d681SAndroid Build Coastguard Worker
253*9880d681SAndroid Build Coastguard Worker#-----------------------------------------------------------------------------
254*9880d681SAndroid Build Coastguard Worker# Floating-point round to integral
255*9880d681SAndroid Build Coastguard Worker#-----------------------------------------------------------------------------
256*9880d681SAndroid Build Coastguard Worker
257*9880d681SAndroid Build Coastguard Worker0x41 0x40 0xe6 0x1e
258*9880d681SAndroid Build Coastguard Worker0x41 0x40 0x26 0x1e
259*9880d681SAndroid Build Coastguard Worker0x41 0x40 0x66 0x1e
260*9880d681SAndroid Build Coastguard Worker
261*9880d681SAndroid Build Coastguard Worker# FP16:  frinta h1, h2
262*9880d681SAndroid Build Coastguard Worker# CHECK: frinta s1, s2
263*9880d681SAndroid Build Coastguard Worker# CHECK: frinta d1, d2
264*9880d681SAndroid Build Coastguard Worker
265*9880d681SAndroid Build Coastguard Worker0x41 0xc0 0xe7 0x1e
266*9880d681SAndroid Build Coastguard Worker0x41 0xc0 0x27 0x1e
267*9880d681SAndroid Build Coastguard Worker0x41 0xc0 0x67 0x1e
268*9880d681SAndroid Build Coastguard Worker
269*9880d681SAndroid Build Coastguard Worker# FP16:  frinti h1, h2
270*9880d681SAndroid Build Coastguard Worker# CHECK: frinti s1, s2
271*9880d681SAndroid Build Coastguard Worker# CHECK: frinti d1, d2
272*9880d681SAndroid Build Coastguard Worker
273*9880d681SAndroid Build Coastguard Worker0x41 0x40 0xe5 0x1e
274*9880d681SAndroid Build Coastguard Worker0x41 0x40 0x25 0x1e
275*9880d681SAndroid Build Coastguard Worker0x41 0x40 0x65 0x1e
276*9880d681SAndroid Build Coastguard Worker
277*9880d681SAndroid Build Coastguard Worker# FP16:  frintm h1, h2
278*9880d681SAndroid Build Coastguard Worker# CHECK: frintm s1, s2
279*9880d681SAndroid Build Coastguard Worker# CHECK: frintm d1, d2
280*9880d681SAndroid Build Coastguard Worker
281*9880d681SAndroid Build Coastguard Worker0x41 0x40 0xe4 0x1e
282*9880d681SAndroid Build Coastguard Worker0x41 0x40 0x24 0x1e
283*9880d681SAndroid Build Coastguard Worker0x41 0x40 0x64 0x1e
284*9880d681SAndroid Build Coastguard Worker
285*9880d681SAndroid Build Coastguard Worker# FP16:  frintn h1, h2
286*9880d681SAndroid Build Coastguard Worker# CHECK: frintn s1, s2
287*9880d681SAndroid Build Coastguard Worker# CHECK: frintn d1, d2
288*9880d681SAndroid Build Coastguard Worker
289*9880d681SAndroid Build Coastguard Worker0x41 0xc0 0xe4 0x1e
290*9880d681SAndroid Build Coastguard Worker0x41 0xc0 0x24 0x1e
291*9880d681SAndroid Build Coastguard Worker0x41 0xc0 0x64 0x1e
292*9880d681SAndroid Build Coastguard Worker
293*9880d681SAndroid Build Coastguard Worker# FP16:  frintp h1, h2
294*9880d681SAndroid Build Coastguard Worker# CHECK: frintp s1, s2
295*9880d681SAndroid Build Coastguard Worker# CHECK: frintp d1, d2
296*9880d681SAndroid Build Coastguard Worker
297*9880d681SAndroid Build Coastguard Worker0x41 0x40 0xe7 0x1e
298*9880d681SAndroid Build Coastguard Worker0x41 0x40 0x27 0x1e
299*9880d681SAndroid Build Coastguard Worker0x41 0x40 0x67 0x1e
300*9880d681SAndroid Build Coastguard Worker
301*9880d681SAndroid Build Coastguard Worker# FP16:  frintx h1, h2
302*9880d681SAndroid Build Coastguard Worker# CHECK: frintx s1, s2
303*9880d681SAndroid Build Coastguard Worker# CHECK: frintx d1, d2
304*9880d681SAndroid Build Coastguard Worker
305*9880d681SAndroid Build Coastguard Worker0x41 0xc0 0xe5 0x1e
306*9880d681SAndroid Build Coastguard Worker0x41 0xc0 0x25 0x1e
307*9880d681SAndroid Build Coastguard Worker0x41 0xc0 0x65 0x1e
308*9880d681SAndroid Build Coastguard Worker
309*9880d681SAndroid Build Coastguard Worker# FP16:  frintz h1, h2
310*9880d681SAndroid Build Coastguard Worker# CHECK: frintz s1, s2
311*9880d681SAndroid Build Coastguard Worker# CHECK: frintz d1, d2
312*9880d681SAndroid Build Coastguard Worker
313*9880d681SAndroid Build Coastguard Worker  0x00 0x3c 0xe0 0x7e
314*9880d681SAndroid Build Coastguard Worker  0x00 0x8c 0xe0 0x5e
315*9880d681SAndroid Build Coastguard Worker
316*9880d681SAndroid Build Coastguard Worker# CHECK: cmhs d0, d0, d0
317*9880d681SAndroid Build Coastguard Worker# CHECK: cmtst d0, d0, d0
318*9880d681SAndroid Build Coastguard Worker
319*9880d681SAndroid Build Coastguard Worker0x00 0x00 0xaf 0x9e
320*9880d681SAndroid Build Coastguard Worker0x00 0x00 0xae 0x9e
321*9880d681SAndroid Build Coastguard Worker
322*9880d681SAndroid Build Coastguard Worker# CHECK: fmov.d v0[1], x0
323*9880d681SAndroid Build Coastguard Worker# CHECK: fmov.d x0, v0[1]
324*9880d681SAndroid Build Coastguard Worker
325