From 93562a343c26f67d2bd0e93cceb18a0a793087c2 Mon Sep 17 00:00:00 2001 From: Jiong Wang Date: Tue, 11 Oct 2016 11:24:44 +0100 Subject: [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. --- opcodes/aarch64-asm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opcodes/aarch64-asm.c') 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. */ -- cgit v1.1