[AArch64][PATCH 6/14] Support FP16 Vector Indexed Element instructions.
[external/binutils.git] / gas / testsuite / gas / aarch64 / advsimd-fp16.s
index 25c69a9..ebdb97a 100644 (file)
        stworeg_misc frecpe
        stworeg_misc frsqrte
        stworeg_misc frecpx
+
+       /* Vector indexed element.  */
+
+       .macro indexed_elem, op
+       \op     v1.2d, v2.2d, v3.d[1]
+       \op     v1.2s, v2.2s, v3.s[2]
+       \op     v1.4s, v2.4s, v3.s[1]
+       \op     v0.4h, v0.4h, v0.h[0]
+       \op     v1.4h, v2.4h, v3.h[0]
+       \op     v0.8h, v0.8h, v0.h[0]
+       \op     v1.8h, v2.8h, v3.h[0]
+       .endm
+
+       indexed_elem fmla
+       indexed_elem fmls
+
+       indexed_elem fmul
+       indexed_elem fmulx