[PATCH 18/57][Arm][GAS] Add support for MVE instructions: vhcadd, vhadd, vhsub and...
authorAndre Vieira <andre.simoesdiasvieira@arm.com>
Thu, 16 May 2019 10:40:26 +0000 (11:40 +0100)
committerAndre Vieira <andre.simoesdiasvieira@arm.com>
Thu, 16 May 2019 15:35:55 +0000 (16:35 +0100)
commit7df54120334049020e377ec17a0fdf4ecc63d6a7
tree55125e36f65f029972206d9ee3fc0716e3583520
parentd58196e061969786922cae5cdaa2ade56dadd95f
[PATCH 18/57][Arm][GAS] Add support for MVE instructions: vhcadd, vhadd, vhsub and vrhadd

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

* config/tc-arm.c (enum operand_parse_code): New operand.
(parse_operands): Handle new operand.
(mve_encode_qqr): Change to support new instructions.
(enum vfp_or_neon_is_neon_bits): Moved.
(vfp_or_neon_is_neon): Moved.
(check_simd_pred_availability): Moved.
(do_neon_dyadic_i_su): Changed to support MVE variants.
(neon_dyadic_misc): Changed mve_encode_qqr call.
(do_mve_vbrsr): Likewise.
(do_mve_vhcadd): New encoding function.
(insns): Change existing to accept MVE variants and add new.
* testsuite/gas/arm/mve-vhadd-vhsub-vrhadd-bad.d: New test.
* testsuite/gas/arm/mve-vhadd-vhsub-vrhadd-bad.l: New test.
* testsuite/gas/arm/mve-vhadd-vhsub-vrhadd-bad.s: New test.
* testsuite/gas/arm/mve-vhcadd-bad.d: New test.
* testsuite/gas/arm/mve-vhcadd-bad.l: New test.
* testsuite/gas/arm/mve-vhcadd-bad.s: New test.
gas/ChangeLog
gas/config/tc-arm.c
gas/testsuite/gas/arm/mve-vhadd-vhsub-vrhadd-bad.d [new file with mode: 0644]
gas/testsuite/gas/arm/mve-vhadd-vhsub-vrhadd-bad.l [new file with mode: 0644]
gas/testsuite/gas/arm/mve-vhadd-vhsub-vrhadd-bad.s [new file with mode: 0644]
gas/testsuite/gas/arm/mve-vhcadd-bad.d [new file with mode: 0644]
gas/testsuite/gas/arm/mve-vhcadd-bad.l [new file with mode: 0644]
gas/testsuite/gas/arm/mve-vhcadd-bad.s [new file with mode: 0644]