summaryrefslogtreecommitdiff
path: root/sim/testsuite/sim/cris/asm/jumpmp.ms
diff options
context:
space:
mode:
Diffstat (limited to 'sim/testsuite/sim/cris/asm/jumpmp.ms')
-rw-r--r--sim/testsuite/sim/cris/asm/jumpmp.ms21
1 files changed, 21 insertions, 0 deletions
diff --git a/sim/testsuite/sim/cris/asm/jumpmp.ms b/sim/testsuite/sim/cris/asm/jumpmp.ms
new file mode 100644
index 00000000000..dd21e9c6b38
--- /dev/null
+++ b/sim/testsuite/sim/cris/asm/jumpmp.ms
@@ -0,0 +1,21 @@
+# mach: crisv3 crisv8 crisv10
+# output: bed0bed1\n
+
+# Test that jump indirect clears the "prefixed"
+# bit.
+
+ .include "testutils.inc"
+ .data
+w:
+ .dword x1
+y:
+ .dword 0xbed0bed1
+
+ start
+x:
+ move.d y,r3
+ jump [w]
+x1:
+ move.d [r3],r3
+ dumpr3 ; bed0bed1
+ quit