• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
3
4         vadd.f16  s0, s1, s0
5@ CHECK: error: instruction requires:
6
7         vsub.f16  s0, s1, s0
8@ CHECK: error: instruction requires:
9
10         vdiv.f16  s0, s1, s0
11@ CHECK: error: instruction requires:
12
13         vmul.f16  s0, s1, s0
14@ CHECK: error: instruction requires:
15
16         vnmul.f16       s0, s1, s0
17@ CHECK: error: instruction requires:
18
19         vmla.f16        s1, s2, s0
20@ CHECK: error: instruction requires:
21
22         vmls.f16        s1, s2, s0
23@ CHECK: error: instruction requires:
24
25         vnmla.f16       s1, s2, s0
26@ CHECK: error: instruction requires:
27
28         vnmls.f16       s1, s2, s0
29@ CHECK: error: instruction requires:
30
31         vcmp.f16 s0, s1
32@ CHECK: error: instruction requires:
33
34         vcmp.f16 s2, #0
35@ CHECK: error: instruction requires:
36
37         vcmpe.f16       s1, s0
38@ CHECK: error: instruction requires:
39
40         vcmpe.f16       s0, #0
41@ CHECK: error: instruction requires:
42
43         vabs.f16        s0, s0
44@ CHECK: error: instruction requires:
45
46         vneg.f16        s0, s0
47@ CHECK: error: instruction requires:
48
49         vsqrt.f16       s0, s0
50@ CHECK: error: instruction requires:
51
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: error: instruction requires:
57@ CHECK: error: instruction requires:
58@ CHECK: error: instruction requires:
59@ CHECK: error: instruction requires:
60
61         vcvtr.s32.f16  s0, s1
62         vcvtr.u32.f16  s0, s1
63@ CHECK: error: instruction requires:
64@ CHECK: error: instruction requires:
65
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: error: instruction requires:
75@ CHECK: error: instruction requires:
76@ CHECK: error: instruction requires:
77@ CHECK: error: instruction requires:
78@ CHECK: error: instruction requires:
79@ CHECK: error: instruction requires:
80@ CHECK: error: instruction requires:
81@ CHECK: error: instruction requires:
82
83  vcvta.s32.f16 s2, s3
84@ CHECK: error: instruction requires:
85
86  vcvtn.s32.f16 s6, s23
87@ CHECK: error: instruction requires:
88
89  vcvtp.s32.f16 s0, s4
90@ CHECK: error: instruction requires:
91
92  vcvtm.s32.f16 s17, s8
93@ CHECK: error: instruction requires:
94
95  vcvta.u32.f16 s2, s3
96@ CHECK: error: instruction requires:
97
98  vcvtn.u32.f16 s6, s23
99@ CHECK: error: instruction requires:
100
101  vcvtp.u32.f16 s0, s4
102@ CHECK: error: instruction requires:
103
104  vcvtm.u32.f16 s17, s8
105@ CHECK: error: instruction requires:
106
107  vselge.f16 s4, s1, s23
108@ CHECK: error: instruction requires:
109
110  vselgt.f16 s0, s1, s0
111@ CHECK: error: instruction requires:
112
113  vseleq.f16 s30, s28, s23
114@ CHECK: error: instruction requires:
115
116  vselvs.f16 s21, s16, s14
117@ CHECK: error: instruction requires:
118
119  vmaxnm.f16 s5, s12, s0
120@ CHECK: error: instruction requires:
121
122  vminnm.f16 s0, s0, s12
123@ CHECK: error: instruction requires:
124
125  vrintz.f16 s3, s24
126@ CHECK: error: instruction requires:
127
128  vrintr.f16 s0, s9
129@ CHECK: error: instruction requires:
130
131  vrintx.f16 s10, s14
132@ CHECK: error: instruction requires:
133
134  vrinta.f16 s12, s1
135@ CHECK: error: instruction requires:
136
137  vrintn.f16 s12, s1
138@ CHECK: error: instruction requires:
139
140  vrintp.f16 s12, s1
141@ CHECK: error: instruction requires:
142
143  vrintm.f16 s12, s1
144@ CHECK: error: instruction requires:
145
146  vfma.f16 s2, s7, s4
147@ CHECK: error: instruction requires:
148
149  vfms.f16 s2, s7, s4
150@ CHECK: error: instruction requires:
151
152  vfnma.f16 s2, s7, s4
153@ CHECK: error: instruction requires:
154
155  vfnms.f16 s2, s7, s4
156@ CHECK: error: instruction requires:
157
158  vmovx.f16 s2, s5
159  vins.f16 s2, s5
160@ CHECK: error: instruction requires:
161@ CHECK: error: instruction requires:
162
163
164  vldr.16 s1, [pc, #6]
165  vldr.16 s2, [pc, #510]
166  vldr.16 s3, [pc, #-510]
167  vldr.16 s4, [r4, #-18]
168@ CHECK: error: instruction requires:
169@ CHECK: error: instruction requires:
170@ CHECK: error: instruction requires:
171@ CHECK: error: instruction requires:
172
173
174  vstr.16 s1, [pc, #6]
175  vstr.16 s2, [pc, #510]
176  vstr.16 s3, [pc, #-510]
177  vstr.16 s4, [r4, #-18]
178@ CHECK: error: instruction requires:
179@ CHECK: error: instruction requires:
180@ CHECK: error: instruction requires:
181@ CHECK: error: instruction requires:
182
183  vmov.f16 s0, #1.0
184@ CHECK: error: instruction requires:
185
186  vmov.f16 s1, r2
187  vmov.f16 r3, s4
188@ CHECK: error: instruction requires:
189@ CHECK: error: instruction requires:
190