[AArch64][PATCH 14/14] Support FP16 Adv.SIMD Scalar Shift By Immediate instructions.
[external/binutils.git] / gas / testsuite / gas / aarch64 / advsimd-fp16.s
index 1eb7418..8be4854 100644 (file)
        shift_imm fcvtzs
        shift_imm ucvtf
        shift_imm fcvtzu
+
+       /* Adv.SIMD scalar shift by immediate.  */
+
+       .macro sshift_imm, op
+       \op d1, d2, #3
+       \op s1, s2, #3
+       \op h1, h2, #3
+       \op h0, h0, #1
+       .endm
+
+       sshift_imm scvtf
+       sshift_imm fcvtzs
+       sshift_imm ucvtf
+       sshift_imm fcvtzu