[Frontend] Remove unused includes (NFC) (#116927)
[llvm-project.git] / llvm / test / MC / ARM / fullfp16-neg.s
blob753be4d1c10b946f12d1429ee0bb234102e100ce
1 @ RUN: not llvm-mc -triple armv8a-none-eabi -mattr=-fullfp16 -show-encoding < %s 2>&1 | FileCheck %s
2 @ RUN: not llvm-mc -triple armv8a-none-eabi -mattr=-fullfp16,+thumb-mode -show-encoding < %s 2>&1 | FileCheck %s
4 vadd.f16 s0, s1, s0
5 @ CHECK: instruction requires: full half-float
7 vsub.f16 s0, s1, s0
8 @ CHECK: instruction requires: full half-float
10 vdiv.f16 s0, s1, s0
11 @ CHECK: instruction requires: full half-float
13 vmul.f16 s0, s1, s0
14 @ CHECK: instruction requires: full half-float
16 vnmul.f16 s0, s1, s0
17 @ CHECK: instruction requires: full half-float
19 vmla.f16 s1, s2, s0
20 @ CHECK: instruction requires: full half-float
22 vmls.f16 s1, s2, s0
23 @ CHECK: instruction requires: full half-float
25 vnmla.f16 s1, s2, s0
26 @ CHECK: instruction requires: full half-float
28 vnmls.f16 s1, s2, s0
29 @ CHECK: instruction requires: full half-float
31 vcmp.f16 s0, s1
32 @ CHECK: instruction requires: full half-float
34 vcmp.f16 s2, #0
35 @ CHECK: instruction requires: full half-float
37 vcmpe.f16 s1, s0
38 @ CHECK: instruction requires: full half-float
40 vcmpe.f16 s0, #0
41 @ CHECK: instruction requires: full half-float
43 vabs.f16 s0, s0
44 @ CHECK: instruction requires: full half-float
46 vneg.f16 s0, s0
47 @ CHECK: instruction requires: full half-float
49 vsqrt.f16 s0, s0
50 @ CHECK: instruction requires: full half-float
52 vcvt.f16.s32 s0, s0
53 vcvt.f16.u32 s0, s0
54 vcvt.s32.f16 s0, s0
55 vcvt.u32.f16 s0, s0
56 @ CHECK: instruction requires: full half-float
57 @ CHECK: instruction requires: full half-float
58 @ CHECK: instruction requires: full half-float
59 @ CHECK: instruction requires: full half-float
61 vcvtr.s32.f16 s0, s1
62 vcvtr.u32.f16 s0, s1
63 @ CHECK: instruction requires: full half-float
64 @ CHECK: instruction requires: full half-float
66 vcvt.f16.u32 s0, s0, #20
67 vcvt.f16.u16 s0, s0, #1
68 vcvt.f16.s32 s1, s1, #20
69 vcvt.f16.s16 s17, s17, #1
70 vcvt.u32.f16 s12, s12, #20
71 vcvt.u16.f16 s28, s28, #1
72 vcvt.s32.f16 s1, s1, #20
73 vcvt.s16.f16 s17, s17, #1
74 @ CHECK: instruction requires: full half-float
75 @ CHECK: instruction requires: full half-float
76 @ CHECK: instruction requires: full half-float
77 @ CHECK: instruction requires: full half-float
78 @ CHECK: instruction requires: full half-float
79 @ CHECK: instruction requires: full half-float
80 @ CHECK: instruction requires: full half-float
81 @ CHECK: instruction requires: full half-float
83 vcvta.s32.f16 s2, s3
84 @ CHECK: instruction requires: full half-float
86 vcvtn.s32.f16 s6, s23
87 @ CHECK: instruction requires: full half-float
89 vcvtp.s32.f16 s0, s4
90 @ CHECK: instruction requires: full half-float
92 vcvtm.s32.f16 s17, s8
93 @ CHECK: instruction requires: full half-float
95 vcvta.u32.f16 s2, s3
96 @ CHECK: instruction requires: full half-float
98 vcvtn.u32.f16 s6, s23
99 @ CHECK: instruction requires: full half-float
101 vcvtp.u32.f16 s0, s4
102 @ CHECK: instruction requires: full half-float
104 vcvtm.u32.f16 s17, s8
105 @ CHECK: instruction requires: full half-float
107 vselge.f16 s4, s1, s23
108 @ CHECK: instruction requires: full half-float
110 vselgt.f16 s0, s1, s0
111 @ CHECK: instruction requires: full half-float
113 vseleq.f16 s30, s28, s23
114 @ CHECK: instruction requires: full half-float
116 vselvs.f16 s21, s16, s14
117 @ CHECK: instruction requires: full half-float
119 vmaxnm.f16 s5, s12, s0
120 @ CHECK: instruction requires: full half-float
122 vminnm.f16 s0, s0, s12
123 @ CHECK: instruction requires: full half-float
125 vrintz.f16 s3, s24
126 vrintz.f16.f16 s3, s24
127 @ CHECK: instruction requires: full half-float
128 @ CHECK: instruction requires: full half-float
130 vrintr.f16 s0, s9
131 vrintr.f16.f16 s0, s9
132 @ CHECK: instruction requires: full half-float
133 @ CHECK: instruction requires: full half-float
135 vrintx.f16 s10, s14
136 vrintx.f16.f16 s10, s14
137 @ CHECK: instruction requires: full half-float
138 @ CHECK: instruction requires: full half-float
140 vrinta.f16 s12, s1
141 vrinta.f16.f16 s12, s1
142 @ CHECK: instruction requires: full half-float
143 @ CHECK: instruction requires: full half-float
145 vrintn.f16 s12, s1
146 vrintn.f16.f16 s12, s1
147 @ CHECK: instruction requires: full half-float
148 @ CHECK: instruction requires: full half-float
150 vrintp.f16 s12, s1
151 vrintp.f16.f16 s12, s1
152 @ CHECK: instruction requires: full half-float
153 @ CHECK: instruction requires: full half-float
155 vrintm.f16 s12, s1
156 vrintm.f16.f16 s12, s1
157 @ CHECK: instruction requires: full half-float
158 @ CHECK: instruction requires: full half-float
160 vfma.f16 s2, s7, s4
161 @ CHECK: instruction requires: full half-float
163 vfms.f16 s2, s7, s4
164 @ CHECK: instruction requires: full half-float
166 vfnma.f16 s2, s7, s4
167 @ CHECK: instruction requires: full half-float
169 vfnms.f16 s2, s7, s4
170 @ CHECK: instruction requires: full half-float
172 vmovx.f16 s2, s5
173 vins.f16 s2, s5
174 @ CHECK: instruction requires: full half-float
175 @ CHECK: instruction requires: full half-float
178 vldr.16 s1, [pc, #6]
179 vldr.16 s2, [pc, #510]
180 vldr.16 s3, [pc, #-510]
181 vldr.16 s4, [r4, #-18]
182 @ CHECK: instruction requires: 16-bit fp registers
183 @ CHECK: instruction requires: 16-bit fp registers
184 @ CHECK: instruction requires: 16-bit fp registers
185 @ CHECK: instruction requires: 16-bit fp registers
188 vstr.16 s1, [pc, #6]
189 vstr.16 s2, [pc, #510]
190 vstr.16 s3, [pc, #-510]
191 vstr.16 s4, [r4, #-18]
192 @ CHECK: instruction requires: 16-bit fp registers
193 @ CHECK: instruction requires: 16-bit fp registers
194 @ CHECK: instruction requires: 16-bit fp registers
195 @ CHECK: instruction requires: 16-bit fp registers
197 vmov.f16 s0, #1.0
198 @ CHECK: instruction requires: full half-float
200 vmov.f16 s1, r2
201 vmov.f16 r3, s4
202 @ CHECK: instruction requires: 16-bit fp registers
203 @ CHECK: instruction requires: 16-bit fp registers