summaryrefslogtreecommitdiff
path: root/sim/testsuite/sim/cris/asm/io9.ms
diff options
context:
space:
mode:
Diffstat (limited to 'sim/testsuite/sim/cris/asm/io9.ms')
-rw-r--r--sim/testsuite/sim/cris/asm/io9.ms21
1 files changed, 21 insertions, 0 deletions
diff --git a/sim/testsuite/sim/cris/asm/io9.ms b/sim/testsuite/sim/cris/asm/io9.ms
new file mode 100644
index 00000000000..afcb5913ac6
--- /dev/null
+++ b/sim/testsuite/sim/cris/asm/io9.ms
@@ -0,0 +1,21 @@
+# mach: crisv32
+# ld: --section-start=.text=0
+# xerror:
+# output: ce11d0c\n
+# output: core: 4 byte write to unmapped address 0x90000004 at 0x16\n
+# output: program stopped with signal 11.\n
+
+; Check invalid access valid with --cris-900000xx.
+; "PASS" area.
+
+ .include "testutils.inc"
+ start
+ move.d 0x0ce11d0c,$r3
+ dumpr3
+ move.d 0x90000004,$acr
+ move.d $acr,[$acr]
+ move.d 0xbadc0de,$r3
+ dumpr3
+0:
+ ba 0b
+ nop