From 440e84b262bb0cb33fe399cc143f88e111ffc93a Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 19 Nov 1996 20:36:18 +0000 Subject: * gas/mn10300/movm.s: Update for correct syntax. * gas/mn10300/basic.exp: Update expected movm bit patterns. --- gas/testsuite/ChangeLog | 5 +++++ gas/testsuite/gas/mn10300/basic.exp | 38 +++++++++++++++++++------------------ gas/testsuite/gas/mn10300/movm.s | 5 +++++ 3 files changed, 30 insertions(+), 18 deletions(-) create mode 100755 gas/testsuite/gas/mn10300/movm.s diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index e1a5e50..12ee001 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +Tue Nov 19 13:36:57 1996 Jeffrey A Law (law@cygnus.com) + + * gas/mn10300/movm.s: Update for correct syntax. + * gas/mn10300/basic.exp: Update expected movm bit patterns. + Fri Nov 15 13:57:42 1996 Jeffrey A Law (law@cygnus.com) * gas/mn10300/other.s: Put parens around register diff --git a/gas/testsuite/gas/mn10300/basic.exp b/gas/testsuite/gas/mn10300/basic.exp index 4193e55..914aaa1 100755 --- a/gas/testsuite/gas/mn10300/basic.exp +++ b/gas/testsuite/gas/mn10300/basic.exp @@ -219,19 +219,21 @@ proc do_extend {} { # of instructions (as these tests to). while 1 { expect { - -re "^ +\[0-9\]+ 0000\[^\n\]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0002\[^\n\]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0004\[^\n\]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0006\[^\n\]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0009\[^\n\]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 000d\[^\n\]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0013\[^\n\]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0015\[^\n\]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0018\[^\n\]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 001c\[^\n\]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0022\[^\n\]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0024\[^\n\]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0026\[^\n\]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0000 F505\[^\n\]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0002 F6FA\[^\n\]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0004 F606\[^\n\]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0006 F90210\[^\n\]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0009 FB030100\[^\n\]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 000d FD030001\[^\n\]*\n" { set x [expr $x+1] } + -re "^ +7 +FFFF\[^\n\]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0013 F616\[^\n\]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0015 F91610\[^\n\]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0018 FB170100\[^\n\]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 001c FD170001\[^\n\]*\n" { set x [expr $x+1] } + -re "^ +11 +FFFF\[^\n\]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0022 F64B\[^\n\]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0024 F65E\[^\n\]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0026 F676\[^\n\]*\n" { set x [expr $x+1] } -re "\[^\n\]*\n" { } timeout { perror "timeout\n"; break } eof { break } @@ -243,7 +245,7 @@ proc do_extend {} { gas_finish # Did we find what we were looking for? If not, flunk it. - if [expr $x==13] then { pass $testname } else { fail $testname } + if [expr $x==15] then { pass $testname } else { fail $testname } } proc do_logical {} { @@ -610,10 +612,10 @@ proc do_movm {} { # of instructions (as these tests to). while 1 { expect { - -re "^ +\[0-9\]+ 0000 CE00\[^\n\]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0002 CE0B\[^\n\]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0004 CF00\[^\n\]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0006 CF0B\[^\n\]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0000 CE30\[^\n\]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0002 CEF8\[^\n\]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0004 CF30\[^\n\]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0006 CFF8\[^\n\]*\n" { set x [expr $x+1] } -re "\[^\n\]*\n" { } timeout { perror "timeout\n"; break } eof { break } diff --git a/gas/testsuite/gas/mn10300/movm.s b/gas/testsuite/gas/mn10300/movm.s new file mode 100755 index 0000000..ccfc683 --- /dev/null +++ b/gas/testsuite/gas/mn10300/movm.s @@ -0,0 +1,5 @@ + .text + movm (sp),[a2,a3] + movm (sp),[d2,d3,a2,a3,other] + movm [a2,a3],(sp) + movm [d2,d3,a2,a3,other],(sp) -- cgit v1.1