Add test for "mtsa"

This commit is contained in:
Andrew Cagney 1997-07-29 00:57:39 +00:00
parent e42b252084
commit f1bea83b2b
3 changed files with 16 additions and 0 deletions

View file

@ -1,3 +1,7 @@
Tue Jul 29 10:56:53 1997 Andrew Cagney <cagney@b1.cygnus.com>
* t-mtsa.s: Check move/from SA instructions.
Mon Jul 28 20:51:16 1997 Andrew Cagney <cagney@b1.cygnus.com>
* t-pdivuw.s: Also check normal cases.

View file

@ -82,6 +82,7 @@ TESTS = \
hello.ok \
exit47.ko \
\
t-mtsa.ok \
t-paddb.ok \
t-paddsb.ok \
t-paddsh.ok \

View file

@ -0,0 +1,11 @@
.include "t-macros.i"
start
test_mtsa:
load $9 0x0000000000000000 0x0000000000000020 # 32
mtsa $9
mfsa $10 #Expectation rd:0x20
check10 0x0000000000000000 0x0000000000000020
exit0