From: Jeff Law Date: Tue, 19 Nov 1996 20:36:18 +0000 (+0000) Subject: * gas/mn10300/movm.s: Update for correct syntax. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=440e84b262bb0cb33fe399cc143f88e111ffc93a;p=binutils-gdb.git * gas/mn10300/movm.s: Update for correct syntax. * gas/mn10300/basic.exp: Update expected movm bit patterns. --- diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index e1a5e506392..12ee0017441 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 4193e55b4f3..914aaa15148 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 00000000000..ccfc6830ef3 --- /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)