summaryrefslogtreecommitdiff
path: root/sim/testsuite/sim/cris/asm/raw8.ms
diff options
context:
space:
mode:
Diffstat (limited to 'sim/testsuite/sim/cris/asm/raw8.ms')
-rw-r--r--sim/testsuite/sim/cris/asm/raw8.ms26
1 files changed, 26 insertions, 0 deletions
diff --git a/sim/testsuite/sim/cris/asm/raw8.ms b/sim/testsuite/sim/cris/asm/raw8.ms
new file mode 100644
index 00000000000..8e42b9513b4
--- /dev/null
+++ b/sim/testsuite/sim/cris/asm/raw8.ms
@@ -0,0 +1,26 @@
+; Checking read-after-write: movemwrite-then-nop-read 2 cycles.
+#mach: crisv32
+#ld: --section-start=.text=0
+#output: Basic clock cycles, total @: 7\n
+#output: Memory source stall cycles: 0\n
+#output: Memory read-after-write stall cycles: 2\n
+#output: Movem source stall cycles: 0\n
+#output: Movem destination stall cycles: 0\n
+#output: Movem address stall cycles: 1\n
+#output: Multiplication source stall cycles: 0\n
+#output: Jump source stall cycles: 0\n
+#output: Branch misprediction stall cycles: 0\n
+#output: Jump target stall cycles: 0\n
+#sim: --cris-cycles=basic
+ .include "testutils.inc"
+ startnostack
+ .lcomm x,4*11
+ .lcomm y,4
+ move.d x,$r0
+ move.d y,$r1
+ nop
+ nop
+ movem $r10,[$r0]
+ nop
+ move.d [$r1],$r2
+ break 15