* gas/mn10300/am33.s: Add .am33 pseudo-op to force am33 mode.
authorJeff Law <law@redhat.com>
Fri, 26 Jun 1998 17:20:53 +0000 (17:20 +0000)
committerJeff Law <law@redhat.com>
Fri, 26 Jun 1998 17:20:53 +0000 (17:20 +0000)
        * 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.

gas/testsuite/ChangeLog
gas/testsuite/gas/mn10300/am33.s [new file with mode: 0644]
gas/testsuite/gas/mn10300/am33_6.s
gas/testsuite/gas/mn10300/am33_7.s

index 3545e1c..39c1d41 100644 (file)
@@ -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 (file)
index 0000000..7ed3b6c
--- /dev/null
@@ -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
index f808391..01466f3 100644 (file)
@@ -1,4 +1,5 @@
        .text
+       .am33
        add_add r4,r1,r2,r3
        add_add r4,r1,2,r3
        add_sub r4,r1,r2,r3
index 5651fe2..eeee5f4 100644 (file)
@@ -1,4 +1,5 @@
        .text
+       .am33
        cmp_add 4,r1,r2,r3
        cmp_add 4,r1,2,r3
        cmp_sub 4,r1,r2,r3