]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Fix the mask for the sqrdml(a|s)h instructions.
authorTamar Christina <tamar.christina@arm.com>
Wed, 25 Apr 2018 12:37:30 +0000 (13:37 +0100)
committerTamar Christina <tamar.christina@arm.com>
Wed, 25 Apr 2018 12:47:08 +0000 (13:47 +0100)
commit9eb0a975c22bfa13165c1d3fb42811afc57f9173
treec15393fc7bf5493af87372749f9d0ac8334a2bc6
parente5596814ac3f7ed58503cc312035546ccb5325e6
Fix the mask for the sqrdml(a|s)h instructions.

Rn is supposed to have a 5 bit range but instead was given 4 bits
causing these instructions to disassemble as unknown instructions.

opcodes/

* aarch64-tbl.h (sqrdmlah, sqrdmlsh): Fix masks.

gas/

* testsuite/gas/aarch64/rdma.s: Test for larger register numbers.
* testsuite/gas/aarch64/rdma.d: Update results.
* testsuite/gas/aarch64/rdma-directive.d: Likewise.

(cherry picked from commit 10bba94bd44045559cfd048cd34376090dd8107a)
gas/ChangeLog
gas/testsuite/gas/aarch64/rdma-directive.d
gas/testsuite/gas/aarch64/rdma.d
gas/testsuite/gas/aarch64/rdma.s
opcodes/ChangeLog
opcodes/aarch64-tbl.h