[PATCH 10/57][Arm][GAS] Add support for MVE instructions: vcmp and vpt
authorAndre Vieira <andre.simoesdiasvieira@arm.com>
Wed, 15 May 2019 16:35:43 +0000 (17:35 +0100)
committerAndre Vieira <andre.simoesdiasvieira@arm.com>
Thu, 16 May 2019 15:22:09 +0000 (16:22 +0100)
commit1b8833198c014f2d7f7a67097061f3b990707084
tree5c3a465de7c71ce993f5b3a8b76d1aec7392dda0
parent57785aa2ff465ec72baa75bbd62e321a46e0633e
[PATCH 10/57][Arm][GAS] Add support for MVE instructions: vcmp and vpt

gas/ChangeLog:
2019-05-16  Andre Vieira  <andre.simoesdiasvieira@arm.com>

* config/tc-arm.c (MVE_BAD_QREG): New error message.
(enum operand_parse_code): Define new operand.
(parse_operands): Handle new operand.
(do_mve_vpt): Change for VPT blocks.
(NEON_SHAPE_DEF): New shape.
(neon_logbits): Moved.
(LOW4): Moved
(HI1): Moved
(mve_get_vcmp_vpt_cond): New function to translate vpt conditions.
(do_mve_vcmp): New encoding function.
(do_vfp_nsyn_cmp): Changed to support MVE variants.
(insns): Change to support MVE variants of vcmp and add vpt.
* testsuite/gas/arm/mve-vcmp-bad-1.d: New test.
* testsuite/gas/arm/mve-vcmp-bad-1.l: New test.
* testsuite/gas/arm/mve-vcmp-bad-1.s: New test.
* testsuite/gas/arm/mve-vcmp-bad-2.d: New test.
* testsuite/gas/arm/mve-vcmp-bad-2.l: New test.
* testsuite/gas/arm/mve-vcmp-bad-2.s: New test.
* testsuite/gas/arm/mve-vpt-bad-1.d: New test.
* testsuite/gas/arm/mve-vpt-bad-1.l: New test.
* testsuite/gas/arm/mve-vpt-bad-1.s: New test.
* testsuite/gas/arm/mve-vpt-bad-2.d: New test.
* testsuite/gas/arm/mve-vpt-bad-2.l: New test.
* testsuite/gas/arm/mve-vpt-bad-2.s: New test.
14 files changed:
gas/ChangeLog
gas/config/tc-arm.c
gas/testsuite/gas/arm/mve-vcmp-bad-1.d [new file with mode: 0644]
gas/testsuite/gas/arm/mve-vcmp-bad-1.l [new file with mode: 0644]
gas/testsuite/gas/arm/mve-vcmp-bad-1.s [new file with mode: 0644]
gas/testsuite/gas/arm/mve-vcmp-bad-2.d [new file with mode: 0644]
gas/testsuite/gas/arm/mve-vcmp-bad-2.l [new file with mode: 0644]
gas/testsuite/gas/arm/mve-vcmp-bad-2.s [new file with mode: 0644]
gas/testsuite/gas/arm/mve-vpt-bad-1.d [new file with mode: 0644]
gas/testsuite/gas/arm/mve-vpt-bad-1.l [new file with mode: 0644]
gas/testsuite/gas/arm/mve-vpt-bad-1.s [new file with mode: 0644]
gas/testsuite/gas/arm/mve-vpt-bad-2.d [new file with mode: 0644]
gas/testsuite/gas/arm/mve-vpt-bad-2.l [new file with mode: 0644]
gas/testsuite/gas/arm/mve-vpt-bad-2.s [new file with mode: 0644]