summaryrefslogtreecommitdiffstats
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2004-11-22 17:44:03 +0000
committerNick Clifton <nickc@redhat.com>2004-11-22 17:44:03 +0000
commitd81acc42a2b5166c0f2f6e46911e1c4184bf7a38 (patch)
tree6d8575d41db4f54ad1ef5aa3ecd174dbd9991bd3 /gas
parent3120ef826e1217b0a93cb1bc6661f2ab47e730d3 (diff)
downloadppe42-binutils-d81acc42a2b5166c0f2f6e46911e1c4184bf7a38.tar.gz
ppe42-binutils-d81acc42a2b5166c0f2f6e46911e1c4184bf7a38.zip
* opcode/arc-opc.c (insert_base): Modify ls_operand[LS_OFFSET] to reflect the
change to the short immediate syntax. * gas/arc/ld.s: Add check of load of a long immediate. * gas/arc/ld.d: Add expected disassembly.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog5
-rw-r--r--gas/testsuite/gas/arc/ld.d1
-rw-r--r--gas/testsuite/gas/arc/ld.s1
3 files changed, 7 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 24d0b3c379..89317661ad 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2004-11-22 Ravi Ramaseshan <ravi.ramaseshan@codito.com>
+
+ * gas/arc/ld.s: Add check of load of a long immediate.
+ * gas/arc/ld.d: Add expected disassembly.
+
2004-11-22 Hans-Peter Nilsson <hp@axis.com>
* gas/all/gas.exp: Run dg-runtest for all err-*.s and warn-*.s.
diff --git a/gas/testsuite/gas/arc/ld.d b/gas/testsuite/gas/arc/ld.d
index b989f8b868..ad03a4e711 100644
--- a/gas/testsuite/gas/arc/ld.d
+++ b/gas/testsuite/gas/arc/ld.d
@@ -11,3 +11,4 @@ Disassembly of section .text:
8: 08 88 21 00 00218808 ld.a r1,\[r3,r4\]
c: 05 06 21 00 00210605 ldw.x r1,\[r2,r3\]
10: 0d 88 41 00 0041880d ldw.x.a r2,\[r3,r4\]
+ 14: 00 80 1f 08 081f8000 ld r0,\[0\]
diff --git a/gas/testsuite/gas/arc/ld.s b/gas/testsuite/gas/arc/ld.s
index 36edf9cae6..51cfd7436c 100644
--- a/gas/testsuite/gas/arc/ld.s
+++ b/gas/testsuite/gas/arc/ld.s
@@ -5,3 +5,4 @@
ld.a r1,[r3,r4]
ldw.x r1,[r2,r3]
ldw.x.a r2,[r3,r4]
+ ld r0,[0]
OpenPOWER on IntegriCloud