[PATCH 9/57][Arm][GAS] Add support for MVE instructions: vmov
Andre Vieira (lists)
andre.simoesdiasvieira@arm.com
Wed May 1 17:03:00 GMT 2019
Hi,
This patch implements support for all MVE VMOV instructions. Including
the widening and narrowing moves VMOVL[BT] and VMOVN[BT].
gas/ChangeLog:
2019-05-01 Andre Vieira <andre.simoesdiasvieira@arm.com>
* config/tc-arm.c (struct arm_it): Expand isscalar field
to be able to distinguish between types of scalar.
(parse_typed_reg_or_scalar): Change to accept MVE scalar
variants.
(parse_scalar): Likewise.
(parse_neon_mov): Accept MVE variant.
(po_scalar_or_goto): Make use reg_type.
(parse_operands): Change uses of po_scalar_or_goto.
(do_vfp_sp_monadic): Change to accept MVE variants.
(do_vfp_reg_from_sp): Likewise.
(do_vfp_sp_from_reg): Likewise.
(do_vfp_dp_rd_rm): Likewise.
(do_vfp_dp_rd_rn_rm): Likewise.
(do_vfp_dp_rm_rd_rn): Likewise.
(M_MNEM_vmovlt, M_MNEM_vmovlb, M_MNEM_vmovnt,
M_MNEM_vmovnb): New instruction encodings.
(NEON_SHAPE_DEF): New shape.
(do_mve_mov): New encoding fuction.
(do_mve_movn): Likewise.
(do_mve_movl): Likewise.
(do_neon_mov): Change to accept MVE variants.
(mcCE): New MACRO.
(insns): Accept new MVE variants and instructions.
* testsuite/gas/arm/mve-vmov-bad-1.d: New test.
* testsuite/gas/arm/mve-vmov-bad-1.l: New test.
* testsuite/gas/arm/mve-vmov-bad-1.s: New test.
* testsuite/gas/arm/mve-vmov-bad-2.d: New test.
* testsuite/gas/arm/mve-vmov-bad-2.l: New test.
* testsuite/gas/arm/mve-vmov-bad-2.s: New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 9.patch
Type: text/x-patch
Size: 33694 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20190501/68dd3075/attachment.bin>
More information about the Binutils
mailing list