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