aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-05-12 15:14:53 +0000
committerAlan Modra <amodra@gmail.com>2001-05-12 15:14:53 +0000
commitbcee8eb8ca80b00b13e2fde8c44894f55d11e141 (patch)
tree6bca597ac7a0e5fa877458dae8aec483cc6d1485 /gas/testsuite
parent4bba68155df1ff42f84c1dab62423444cde7ea02 (diff)
downloadgdb-bcee8eb8ca80b00b13e2fde8c44894f55d11e141.zip
gdb-bcee8eb8ca80b00b13e2fde8c44894f55d11e141.tar.gz
gdb-bcee8eb8ca80b00b13e2fde8c44894f55d11e141.tar.bz2
Peter Targett's backwards compatibility and other arc fixes.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/ChangeLog5
-rw-r--r--gas/testsuite/gas/arc/st.d10
-rw-r--r--gas/testsuite/gas/arc/st.s6
3 files changed, 18 insertions, 3 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 5178586..0d688e9 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2001-05-12 Peter Targett <peter.targett@arccores.com>
+
+ * gas/arc/st.s: Add test case @h30 fixup.
+ * gas/arc/st.d: Update to suit.
+
2001-05-12 Alan Modra <amodra@one.net.au>
* gas/i386/sse2.s: Correct cvtps2dq, movdq2q, and movq2dq
diff --git a/gas/testsuite/gas/arc/st.d b/gas/testsuite/gas/arc/st.d
index 0ed6b80..65ee840 100644
--- a/gas/testsuite/gas/arc/st.d
+++ b/gas/testsuite/gas/arc/st.d
@@ -23,5 +23,11 @@ Disassembly of section .text:
34: 02 02 01 14 14010202 st.di r1,\[r2,2\]
38: 03 02 01 15 15010203 st.a.di r1,\[r2,3\]
3c: 04 02 81 15 15810204 stw.a.di r1,\[r2,4\]
- 40: 00 02 01 12 12010200 sr r1,\[r2\]
- 44: 0e 82 1f 12 121f820e sr r1,\[0xe\]
+ 40: 04 7c 06 10 10067c04 st 80,\[r12,4\]
+ 44: 50 00 00 00
+ 44: R_ARC_32 .text
+ 48: 04 7c 06 10 10067c04 st 20,\[r12,4\]
+ 4c: 14 00 00 00
+ 4c: R_ARC_B26 .text
+ 50: 00 02 01 12 12010200 sr r1,\[r2\]
+ 54: 0e 82 1f 12 121f820e sr r1,\[0xe\]
diff --git a/gas/testsuite/gas/arc/st.s b/gas/testsuite/gas/arc/st.s
index 2754d27..38ba009 100644
--- a/gas/testsuite/gas/arc/st.s
+++ b/gas/testsuite/gas/arc/st.s
@@ -13,6 +13,10 @@
st.di r1,[r2,2]
st.a.di r1,[r2,3]
stw.a.di r1,[r2,4]
-
+
+ st .L1,[r12,4]
+ st .L1@h30,[r12,4]
+.L1:
+
sr r1,[r2]
sr r1,[14]