1 /* simdhp.s Test file for AArch64 half-precision floating-point
2 vector instructions. */
4 /* Vector three-same. */
7 \op v1.2d, v2.2d, v3.2d
8 \op v1.2s, v2.2s, v3.2s
9 \op v1.4s, v2.4s, v3.4s
10 \op v0.4h, v0.4h, v0.4h
11 \op v1.4h, v2.4h, v3.4h
12 \op v0.8h, v0.8h, v0.8h
13 \op v1.8h, v2.8h, v3.8h
42 /* Scalar three-same. */
44 .macro sthree_same, op
61 /* Vector two-register misc. */
63 .macro tworeg_zero, op
64 \op v0.2d, v1.2d, #0.0
65 \op v0.2s, v1.2s, #0.0
66 \op v0.4s, v1.4s, #0.0
67 \op v0.4h, v1.4h, #0.0
68 \op v0.8h, v1.8h, #0.0
77 .macro tworeg_misc, op
116 /* Scalar two-register misc. */
118 .macro stworeg_zero, op
131 .macro stworeg_misc, op
158 /* Vector indexed element. */
160 .macro indexed_elem, op
161 \op v1.2d, v2.2d, v3.d[1]
162 \op v1.2s, v2.2s, v3.s[2]
163 \op v1.4s, v2.4s, v3.s[1]
164 \op v0.4h, v0.4h, v0.h[0]
165 \op v1.4h, v2.4h, v3.h[0]
166 \op v0.8h, v0.8h, v0.h[0]
167 \op v1.8h, v2.8h, v3.h[0]
168 \op v1.2d, v5.2d, v10.d[0]
169 \op v8.2s, v0.2s, v11.s[3]
170 \op v0.4h, v9.4h, v15.h[7]
179 /* Scalar indexed element. */
181 .macro sindexed_elem, op
194 /* Adv.SIMD across lanes. */
196 .macro across_lanes, op
209 /* Adv.SIMD modified immediate. */
219 /* Adv.SIMD scalar pairwise. */
221 .macro scalar_pairwise, op
228 scalar_pairwise fmaxnmp
229 scalar_pairwise faddp
230 scalar_pairwise fmaxp
231 scalar_pairwise fminnmp
232 scalar_pairwise fminp
234 /* Adv.SIMD shift by immediate. */
251 /* Adv.SIMD scalar shift by immediate. */
253 .macro sshift_imm, op