summaryrefslogtreecommitdiff
path: root/sim/testsuite/sim/cris/asm/x7-v32.ms
diff options
context:
space:
mode:
Diffstat (limited to 'sim/testsuite/sim/cris/asm/x7-v32.ms')
-rw-r--r--sim/testsuite/sim/cris/asm/x7-v32.ms19
1 files changed, 19 insertions, 0 deletions
diff --git a/sim/testsuite/sim/cris/asm/x7-v32.ms b/sim/testsuite/sim/cris/asm/x7-v32.ms
new file mode 100644
index 00000000000..ea98ef0548a
--- /dev/null
+++ b/sim/testsuite/sim/cris/asm/x7-v32.ms
@@ -0,0 +1,19 @@
+#mach: crisv32
+#ld: --section-start=.text=0
+#sim: --cris-trace=basic
+#output: 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 * ixnzvc 0 0\n
+#output: 8 0 0 0 0 0 0 0 0 0 0 0 0 0 0 * ixNzvc 1 aa424243\n
+#output: a 0 0 0 0 0 0 0 0 0 0 0 0 0 0 * ixnzvc 1 55212121\n
+#output: c 0 0 0 0 0 0 0 0 0 0 0 0 0 0 * ixnzvc 1 1\n
+#output: e 0 0 0 0 0 0 0 0 0 0 0 0 0 0 * ixnzvc 1 0\n
+
+; Check that trace with changing ACR works.
+
+ .include "testutils.inc"
+ startnostack
+ move.d 0xaa424243,$acr
+ lsrq 1,$acr
+ moveq 1,$acr
+ clear.d $acr
+ break 15
+ nop