From f1bea83b2b6ec2d432299f6fea7567320375cf08 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Tue, 29 Jul 1997 00:57:39 +0000 Subject: [PATCH] Add test for "mtsa" --- sim/testsuite/mips64vr5900el-elf/ChangeLog | 4 ++++ sim/testsuite/mips64vr5900el-elf/Makefile.in | 1 + sim/testsuite/mips64vr5900el-elf/t-mtsa.s | 11 +++++++++++ 3 files changed, 16 insertions(+) create mode 100644 sim/testsuite/mips64vr5900el-elf/t-mtsa.s 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 -- 2.30.2