Add test for "mtsa"
This commit is contained in:
parent
e42b252084
commit
f1bea83b2b
3 changed files with 16 additions and 0 deletions
|
@ -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.
|
||||
|
|
|
@ -82,6 +82,7 @@ TESTS = \
|
|||
hello.ok \
|
||||
exit47.ko \
|
||||
\
|
||||
t-mtsa.ok \
|
||||
t-paddb.ok \
|
||||
t-paddsb.ok \
|
||||
t-paddsh.ok \
|
||||
|
|
11
sim/testsuite/mips64vr5900el-elf/t-mtsa.s
Normal file
11
sim/testsuite/mips64vr5900el-elf/t-mtsa.s
Normal 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
|
Loading…
Reference in a new issue