[PATCH v2] binutils: arm: Fix disassembly of conditional VDUPs.
authorFredrik Strupe <fredrik@strupe.net>
Fri, 17 Apr 2020 16:25:19 +0000 (17:25 +0100)
committerNick Clifton <nickc@redhat.com>
Fri, 17 Apr 2020 16:25:19 +0000 (17:25 +0100)
commite409955ddcc33743044f217a3cc0541e0e6211b7
tree5035e7c39e0a85db570823c1fa1925d3326f11ba
parent0203cad215219c3f78c5dff246fbc189946d06ce
[PATCH v2] binutils: arm: Fix disassembly of conditional VDUPs.

VDUP (neon) instructions can be conditional, but this is not taken into
account in the current master. This commit fixes that by i) fixing the
VDUP instruction masks and ii) adding logic for disassembling
conditional neon instructions.

opcodes * arm-dis.c (neon_opcodes): Fix VDUP instruction masks.
(print_insn_neon): Support disassembly of conditional
instructions.

binutils* testsuite/binutils-all/arm/vdup-cond.d: New test for testing that
conditional VDUP instructions are disassembled correctly.
* testsuite/binutils-all/arm/vdup-cond.s: New file used by
vdup-cond.d.
* testsuite/binutils-all/arm/vdup-thumb.d: New test for testing
that VDUP instructions (which are conditional in A32) can be
disassembled in thumb mode.
* testsuite/binutils-all/arm/vdup-cond.s: New file used by
vdup-thumb.d.
binutils/ChangeLog
binutils/testsuite/binutils-all/arm/vdup-cond.d [new file with mode: 0644]
binutils/testsuite/binutils-all/arm/vdup-cond.s [new file with mode: 0644]
binutils/testsuite/binutils-all/arm/vdup-thumb.d [new file with mode: 0644]
binutils/testsuite/binutils-all/arm/vdup-thumb.s [new file with mode: 0644]
opcodes/ChangeLog
opcodes/arm-dis.c