aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1998-06-26 17:20:53 +0000
committerJeff Law <law@redhat.com>1998-06-26 17:20:53 +0000
commit5760b825aa347a3c160b88e3443bb2409a665ebd (patch)
tree103b8b408dcf96e5804fa8664dce31d29511150f /gas
parent85a6fcfd5d1773f4c81e1dc6c8e2d19e64fb3981 (diff)
downloadgdb-5760b825aa347a3c160b88e3443bb2409a665ebd.zip
gdb-5760b825aa347a3c160b88e3443bb2409a665ebd.tar.gz
gdb-5760b825aa347a3c160b88e3443bb2409a665ebd.tar.bz2
* gas/mn10300/am33.s: Add .am33 pseudo-op to force am33 mode.
* gas/mn10300/{am33_2.s, am33_3.s, am33_4.s, am33_5.s}: Likewise. * gas/mn10300/{am33_6.s, am33_7.s, am33_8.s}: Likewise. * gas/mn10300/basic.exp: Corresponding changes.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog7
-rw-r--r--gas/testsuite/gas/mn10300/am33.s46
-rw-r--r--gas/testsuite/gas/mn10300/am33_6.s1
-rw-r--r--gas/testsuite/gas/mn10300/am33_7.s1
4 files changed, 55 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 3545e1c..39c1d41 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,4 +1,11 @@
start-sanitize-am33
+Fri Jun 26 11:17:46 1998 Jeffrey A Law (law@cygnus.com)
+
+ * gas/mn10300/am33.s: Add .am33 pseudo-op to force am33 mode.
+ * gas/mn10300/{am33_2.s, am33_3.s, am33_4.s, am33_5.s}: Likewise.
+ * gas/mn10300/{am33_6.s, am33_7.s, am33_8.s}: Likewise.
+ * gas/mn10300/basic.exp: Corresponding changes.
+
Wed Jun 24 10:10:52 1998 Jeffrey A Law (law@cygnus.com)
* gas/mn10300/basic.exp (do_am33_3): Fix typo.
diff --git a/gas/testsuite/gas/mn10300/am33.s b/gas/testsuite/gas/mn10300/am33.s
new file mode 100644
index 0000000..7ed3b6c
--- /dev/null
+++ b/gas/testsuite/gas/mn10300/am33.s
@@ -0,0 +1,46 @@
+ .text
+ .am33
+ call 256,[a2,a3,exreg0],9
+ call 256,[a2,a3,exreg1],9
+ call 256,[a2,a3,exother],9
+ call 256,[a2,a3,all],9
+ call 131071,[a2,a3,exreg0],9
+ call 131071,[a2,a3,exreg1],9
+ call 131071,[a2,a3,exother],9
+ call 131071,[a2,a3,all],9
+ movm (sp),[a2,a3,exreg0]
+ movm (sp),[a2,a3,exreg1]
+ movm (sp),[a2,a3,exother]
+ movm (sp),[a2,a3,all]
+ movm [a2,a3,exreg0],(sp)
+ movm [a2,a3,exreg1],(sp)
+ movm [a2,a3,exother],(sp)
+ movm [a2,a3,all],(sp)
+ movm (usp),[a2,a3,exreg0]
+ movm (usp),[a2,a3,exreg1]
+ movm (usp),[a2,a3,exother]
+ movm (usp),[a2,a3,all]
+ movm [a2,a3,exreg0],(usp)
+ movm [a2,a3,exreg1],(usp)
+ movm [a2,a3,exother],(usp)
+ movm [a2,a3,all],(usp)
+ mov usp,a0
+ mov ssp,a1
+ mov msp,a2
+ mov pc,a3
+ mov a0,usp
+ mov a1,ssp
+ mov a2,msp
+ syscall 0x4
+ mov epsw,d0
+ mov d1,epsw
+ mov a0,r1
+ mov d2,r3
+ mov r5,a1
+ mov r7,d3
+ mcst9 d0
+ mcst48 d1
+ getchx d0
+ getclx d1
+ and 131072,epsw
+ or 65535,epsw
diff --git a/gas/testsuite/gas/mn10300/am33_6.s b/gas/testsuite/gas/mn10300/am33_6.s
index f808391..01466f3 100644
--- a/gas/testsuite/gas/mn10300/am33_6.s
+++ b/gas/testsuite/gas/mn10300/am33_6.s
@@ -1,4 +1,5 @@
.text
+ .am33
add_add r4,r1,r2,r3
add_add r4,r1,2,r3
add_sub r4,r1,r2,r3
diff --git a/gas/testsuite/gas/mn10300/am33_7.s b/gas/testsuite/gas/mn10300/am33_7.s
index 5651fe2..eeee5f4 100644
--- a/gas/testsuite/gas/mn10300/am33_7.s
+++ b/gas/testsuite/gas/mn10300/am33_7.s
@@ -1,4 +1,5 @@
.text
+ .am33
cmp_add 4,r1,r2,r3
cmp_add 4,r1,2,r3
cmp_sub 4,r1,r2,r3