aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorJiong Wang <jiong.wang@arm.com>2016-10-11 11:24:44 +0100
committerJiong Wang <jiong.wang@arm.com>2016-10-11 11:24:44 +0100
commit93562a343c26f67d2bd0e93cceb18a0a793087c2 (patch)
tree7ff367ee5193dc3405fdee295f3a9659b210475b /opcodes
parentf02cb058822459ea29a9fdaa928c2623df435908 (diff)
downloadgdb-93562a343c26f67d2bd0e93cceb18a0a793087c2.zip
gdb-93562a343c26f67d2bd0e93cceb18a0a793087c2.tar.gz
gdb-93562a343c26f67d2bd0e93cceb18a0a793087c2.tar.bz2
[AArch64] PR target/20666, fix wrong encoding of new introduced BFC pseudo
opcode/ PR target/20666 * aarch64-asm.c (convert_bfc_to_bfm): Fix dest index. gas/ * testsuite/gas/aarch64/alias-2.d: Update expected results.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog5
-rw-r--r--opcodes/aarch64-asm.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 65cf0d7..3ac9c3f 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+2016-10-11 Jiong Wang <jiong.wang@arm.com>
+
+ PR target/20666
+ * aarch64-asm.c (convert_bfc_to_bfm): Fix dest index.
+
2016-10-07 Jiong Wang <jiong.wang@arm.com>
PR target/20667
diff --git a/opcodes/aarch64-asm.c b/opcodes/aarch64-asm.c
index dd2859b..34be794 100644
--- a/opcodes/aarch64-asm.c
+++ b/opcodes/aarch64-asm.c
@@ -1539,7 +1539,7 @@ convert_bfc_to_bfm (aarch64_inst *inst)
/* Insert XZR. */
copy_operand_info (inst, 3, 2);
copy_operand_info (inst, 2, 1);
- copy_operand_info (inst, 2, 0);
+ copy_operand_info (inst, 0, 0);
inst->operands[1].reg.regno = 0x1f;
/* Convert the immedate operand. */