From 8678914fcb40e4c620a33e6b38a14df928fa780a Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 18 Mar 2016 17:02:20 +0000 Subject: Fix the disassembly of the AArch64's OOR instruction as a MOV instruction. PR target/19721 opcodes * aarch64-tbl.h (aarch64_opcode_table): Fix type of second operand of MOV insn that aliases an ORR insn. gas * testsuite/gas/aarch64/pr19721.s: New test source file. * testsuite/gas/aarch64/pr19721.d: New test driver file. --- gas/testsuite/gas/aarch64/pr19721.d | 10 ++++++++++ gas/testsuite/gas/aarch64/pr19721.s | 5 +++++ 2 files changed, 15 insertions(+) create mode 100644 gas/testsuite/gas/aarch64/pr19721.d create mode 100644 gas/testsuite/gas/aarch64/pr19721.s (limited to 'gas/testsuite') diff --git a/gas/testsuite/gas/aarch64/pr19721.d b/gas/testsuite/gas/aarch64/pr19721.d new file mode 100644 index 0000000..a621ae5 --- /dev/null +++ b/gas/testsuite/gas/aarch64/pr19721.d @@ -0,0 +1,10 @@ +#objdump: -d + +.*: file format .* + +Disassembly of section \.text: + +0+000 <.*>: + 0: aa1103e7 mov x7, x17 + 4: aa1167e7 mov x7, x17, lsl #25 + 8: aa1167e7 mov x7, x17, lsl #25 diff --git a/gas/testsuite/gas/aarch64/pr19721.s b/gas/testsuite/gas/aarch64/pr19721.s new file mode 100644 index 0000000..cda068a --- /dev/null +++ b/gas/testsuite/gas/aarch64/pr19721.s @@ -0,0 +1,5 @@ + .text + + mov x7, x17 + mov x7, x17, lsl 25 + orr x7, xzr, x17, lsl 25 -- cgit v1.1