summaryrefslogtreecommitdiff
path: root/sim/testsuite/sim/cris/asm/x7-v10.ms
diff options
context:
space:
mode:
Diffstat (limited to 'sim/testsuite/sim/cris/asm/x7-v10.ms')
-rw-r--r--sim/testsuite/sim/cris/asm/x7-v10.ms29
1 files changed, 29 insertions, 0 deletions
diff --git a/sim/testsuite/sim/cris/asm/x7-v10.ms b/sim/testsuite/sim/cris/asm/x7-v10.ms
new file mode 100644
index 00000000000..f465143f504
--- /dev/null
+++ b/sim/testsuite/sim/cris/asm/x7-v10.ms
@@ -0,0 +1,29 @@
+#mach: crisv10
+#ld: --section-start=.text=0
+#output: 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 * ixnzvc 0\n
+#output: 4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 * ixnzvc 1\n
+#output: c 0 0 0 24 0 0 0 0 0 0 0 0 0 0 * ixnzvc 5\n
+#output: e 0 0 0 24 0 0 0 0 0 0 0 0 0 0 * ixnzvc 1\n
+#output: 10 0 0 0 24 0 0 0 0 0 0 0 0 0 0 * ixnZvc 1\n
+#output: 14 0 0 0 24 0 24 0 0 0 0 0 0 0 0 * ixnzvc 3\n
+#output: 18 0 0 0 24 0 24 0 0 0 0 0 0 0 0 * ixnzvc 3\n
+#output: 20 0 0 0 24 0 24 0 0 0 0 0 0 0 0 * ixnzvc 5\n
+#sim: --cris-trace=basic
+
+; Check that prefix+insn are traced as one.
+
+ .include "testutils.inc"
+ startnostack
+ nop
+ move.d [0f],r3
+ nop
+ moveq 0,r4
+ move.d [r3+r4.b],r5
+ move.d [r3+4],r5
+ bdap.d 0,r3
+ move.d [r3],r5
+ break 15
+ .p2align 2
+0:
+ .dword 0b
+ .dword 0b