From 5760b825aa347a3c160b88e3443bb2409a665ebd Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Fri, 26 Jun 1998 17:20:53 +0000 Subject: [PATCH] * 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. --- gas/testsuite/ChangeLog | 7 +++++ gas/testsuite/gas/mn10300/am33.s | 46 ++++++++++++++++++++++++++++++ gas/testsuite/gas/mn10300/am33_6.s | 1 + gas/testsuite/gas/mn10300/am33_7.s | 1 + 4 files changed, 55 insertions(+) create mode 100644 gas/testsuite/gas/mn10300/am33.s diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 3545e1c5aa3..39c1d41e3e9 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 00000000000..7ed3b6cd2ab --- /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 f8083916d03..01466f3cccd 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 5651fe2f7a9..eeee5f4c715 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 -- 2.30.2