diff options
author | Jiong Wang <jiong.wang@arm.com> | 2016-10-11 11:24:44 +0100 |
---|---|---|
committer | Jiong Wang <jiong.wang@arm.com> | 2016-10-11 11:24:44 +0100 |
commit | 93562a343c26f67d2bd0e93cceb18a0a793087c2 (patch) | |
tree | 7ff367ee5193dc3405fdee295f3a9659b210475b /opcodes/aarch64-asm.c | |
parent | f02cb058822459ea29a9fdaa928c2623df435908 (diff) | |
download | gdb-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/aarch64-asm.c')
-rw-r--r-- | opcodes/aarch64-asm.c | 2 |
1 files changed, 1 insertions, 1 deletions
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. */ |