aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/mips64vr5900el-elf/t-mtsa.s
diff options
context:
space:
mode:
Diffstat (limited to 'sim/testsuite/mips64vr5900el-elf/t-mtsa.s')
-rw-r--r--sim/testsuite/mips64vr5900el-elf/t-mtsa.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/sim/testsuite/mips64vr5900el-elf/t-mtsa.s b/sim/testsuite/mips64vr5900el-elf/t-mtsa.s
new file mode 100644
index 0000000..04ad529
--- /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