gas: PR 25863: Fix scalar vmul inside it block when assembling for MVE
authorAndre Simoes Dias Vieira <andre.simoesdiasvieira@arm.com>
Mon, 4 May 2020 12:05:42 +0000 (13:05 +0100)
committerAndre Vieira <andre.simoesdiasvieira@arm.com>
Mon, 4 May 2020 12:07:45 +0000 (13:07 +0100)
commitfe05f369f0df7cad0a6500b79879addaad2e364d
treef853042df0e8d3aa491deb65bdfe6021f620ff96
parent4706679daca21b5d637afaf5b55858b26f0f8c16
gas: PR 25863: Fix scalar vmul inside it block when assembling for MVE

This fixes PR 25863 by fixing the condition in the parsing of vmul in
do_mve_vmull.  It also simplifies the code in there fixing latent issues that
would lead to NEON code being accepted when it shouldn't.

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

PR gas/25863
* config/tc-arm.c (do_mve_vmull): Fix scalar and NEON parsing of vmul.
* testsuite/gas/arm/mve-scalar-vmult-it.d: New test.
* testsuite/gas/arm/mve-scalar-vmult-it.s: New test.
gas/ChangeLog
gas/config/tc-arm.c
gas/testsuite/gas/arm/mve-scalar-vmul-it.d [new file with mode: 0644]
gas/testsuite/gas/arm/mve-scalar-vmul-it.s [new file with mode: 0644]