summaryrefslogtreecommitdiff
path: root/sim/testsuite/sim/cris/asm/raw6.ms
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2005-11-21 04:48:19 +0000
committerHans-Peter Nilsson <hp@axis.com>2005-11-21 04:48:19 +0000
commit33362918bffa49495556d4f1eb5fc4e5a0808398 (patch)
treec6c154eb0da40a03d2ddb5bdb5c6b0bd62695aba /sim/testsuite/sim/cris/asm/raw6.ms
parent4e1c23a559814a39fc0278a1a8e8ef70a1eaa055 (diff)
downloadgdb-33362918bffa49495556d4f1eb5fc4e5a0808398.tar.gz
* sim/cris: New directory with C and assembly tests for the CRIS
simulator.
Diffstat (limited to 'sim/testsuite/sim/cris/asm/raw6.ms')
-rw-r--r--sim/testsuite/sim/cris/asm/raw6.ms24
1 files changed, 24 insertions, 0 deletions
diff --git a/sim/testsuite/sim/cris/asm/raw6.ms b/sim/testsuite/sim/cris/asm/raw6.ms
new file mode 100644
index 00000000000..d6e66364212
--- /dev/null
+++ b/sim/testsuite/sim/cris/asm/raw6.ms
@@ -0,0 +1,24 @@
+; Checking read-after-write: write-then-nop-nop-read unaffected.
+#mach: crisv32
+#output: Basic clock cycles, total @: 6\n
+#output: Memory source stall cycles: 0\n
+#output: Memory read-after-write stall cycles: 0\n
+#output: Movem source stall cycles: 0\n
+#output: Movem destination stall cycles: 0\n
+#output: Movem address stall cycles: 0\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
+ .lcomm y,4
+ move.d x,$r0
+ move.d y,$r1
+ move.d $r1,[$r0]
+ nop
+ nop
+ move.d [$r1],$r2
+ break 15