diff options
author | Tamar Christina <tamar.christina@arm.com> | 2018-06-22 12:27:53 +0100 |
---|---|---|
committer | Tamar Christina <tamar.christina@arm.com> | 2018-06-22 12:32:19 +0100 |
commit | 514cd3a0f589fa48ca7bc9504c36436c0cbefcb2 (patch) | |
tree | 560f31954190dcc24cfcaadb07dfd9d90e070883 /gas/ChangeLog | |
parent | bfd60e344c8001910825a358ad674003738ebb6b (diff) | |
download | gdb-514cd3a0f589fa48ca7bc9504c36436c0cbefcb2.zip gdb-514cd3a0f589fa48ca7bc9504c36436c0cbefcb2.tar.gz gdb-514cd3a0f589fa48ca7bc9504c36436c0cbefcb2.tar.bz2 |
Correct negs aliasing on AArch64.
This patch fixes a disassembly issue with the aliases to subs with a shifted
register. The subs instruction with the zero register as destination is
supposed to alias to cmp and when the first input register is the zero register
the subs is supposed to be aliased to negs.
This means that a subs with destination and first input registers the zero
register is supposed to be a cmp.
This is done by raising the priority of the cmp alias.
opcodes/
* aarch64-tbl.h (aarch64_opcode_table): Fix alias flag for negs
* aarch64-asm-2.c: Regenerate.
* aarch64-dis-2.c: Likewise.
gas/
* testsuite/gas/aarch64/addsub.s: Add negs to zero reg test.
* testsuite/gas/aarch64/addsub.d: Likewise.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r-- | gas/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 6ec557d..bf3efdd 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2018-06-22 Tamar Christina <tamar.christina@arm.com> + + * testsuite/gas/aarch64/addsub.s: Add negs to zero reg test. + * testsuite/gas/aarch64/addsub.d: Likewise. + 2018-06-21 Alan Modra <amodra@gmail.com> * doc/Makefile.am (AUTOMAKE_OPTIONS): Add "foreign". |