aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/testsuite/gas/aarch64/pr19721.d10
-rw-r--r--gas/testsuite/gas/aarch64/pr19721.s5
3 files changed, 19 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 5f362ca..967b23b 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,9 @@
2016-03-18 Nick Clifton <nickc@redhat.com>
+ PR target/19721
+ * testsuite/gas/aarch64/pr19721.s: New test source file.
+ * testsuite/gas/aarch64/pr19721.d: New test driver file.
+
* doc/as.texinfo: Place the target specific command line options
into their own man page section.
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