[PATCH 9/57][Arm][GAS] Add support for MVE instructions: vmov
authorAndre Vieira <andre.simoesdiasvieira@arm.com>
Wed, 15 May 2019 16:31:25 +0000 (17:31 +0100)
committerAndre Vieira <andre.simoesdiasvieira@arm.com>
Thu, 16 May 2019 15:22:09 +0000 (16:22 +0100)
commit57785aa2ff465ec72baa75bbd62e321a46e0633e
tree449b80604992e8cc530d897812a604b4ec172b16
parentdd9634d97c05168870624cadf8fddf9b62ee3008
[PATCH 9/57][Arm][GAS] Add support for MVE instructions: vmov

gas/ChangeLog:
2019-05-16  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.
gas/ChangeLog
gas/config/tc-arm.c
gas/testsuite/gas/arm/mve-vmov-bad-1.d [new file with mode: 0644]
gas/testsuite/gas/arm/mve-vmov-bad-1.l [new file with mode: 0644]
gas/testsuite/gas/arm/mve-vmov-bad-1.s [new file with mode: 0644]
gas/testsuite/gas/arm/mve-vmov-bad-2.d [new file with mode: 0644]
gas/testsuite/gas/arm/mve-vmov-bad-2.l [new file with mode: 0644]
gas/testsuite/gas/arm/mve-vmov-bad-2.s [new file with mode: 0644]