From: Andrew Cagney Date: Tue, 29 Jul 1997 00:57:39 +0000 (+0000) Subject: Add test for "mtsa" X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f1bea83b2b6ec2d432299f6fea7567320375cf08;p=binutils-gdb.git Add test for "mtsa" --- diff --git a/sim/testsuite/mips64vr5900el-elf/ChangeLog b/sim/testsuite/mips64vr5900el-elf/ChangeLog index a6ad061770f..444ff9a866f 100644 --- a/sim/testsuite/mips64vr5900el-elf/ChangeLog +++ b/sim/testsuite/mips64vr5900el-elf/ChangeLog @@ -1,3 +1,7 @@ +Tue Jul 29 10:56:53 1997 Andrew Cagney + + * t-mtsa.s: Check move/from SA instructions. + Mon Jul 28 20:51:16 1997 Andrew Cagney * t-pdivuw.s: Also check normal cases. diff --git a/sim/testsuite/mips64vr5900el-elf/Makefile.in b/sim/testsuite/mips64vr5900el-elf/Makefile.in index 2efdd7a6410..849efb3d10f 100644 --- a/sim/testsuite/mips64vr5900el-elf/Makefile.in +++ b/sim/testsuite/mips64vr5900el-elf/Makefile.in @@ -82,6 +82,7 @@ TESTS = \ hello.ok \ exit47.ko \ \ + t-mtsa.ok \ t-paddb.ok \ t-paddsb.ok \ t-paddsh.ok \ diff --git a/sim/testsuite/mips64vr5900el-elf/t-mtsa.s b/sim/testsuite/mips64vr5900el-elf/t-mtsa.s new file mode 100644 index 00000000000..04ad529635d --- /dev/null +++ b/sim/testsuite/mips64vr5900el-elf/t-mtsa.s @@ -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