aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/mips64r5900-elf/t-prot3w.s
diff options
context:
space:
mode:
Diffstat (limited to 'sim/testsuite/mips64r5900-elf/t-prot3w.s')
-rw-r--r--sim/testsuite/mips64r5900-elf/t-prot3w.s14
1 files changed, 14 insertions, 0 deletions
diff --git a/sim/testsuite/mips64r5900-elf/t-prot3w.s b/sim/testsuite/mips64r5900-elf/t-prot3w.s
new file mode 100644
index 0000000..1c9f018
--- /dev/null
+++ b/sim/testsuite/mips64r5900-elf/t-prot3w.s
@@ -0,0 +1,14 @@
+.include "t-macros.i"
+
+ start
+
+test_prot3w:
+ load $8 0x3333333311111111 0x2222222244444444
+ prot3w $10,$8 #Expectation:
+
+ # Prior to PR 17362, this was:
+ # check10 0x1111111122222222 0x3333333344444444
+
+ check10 0x1111111144444444 0x2222222233333333
+
+ exit0