binutils-gdb/sim/testsuite/cris/asm/io7.ms
Hans-Peter Nilsson 6f62dbfb12 sim/testsuite/cris: As applicable, require simoption --cris-900000xx
Apply the new run_sim_test option "require" as in "#require
simoption --cris-900000xx" for all tests using that option.
This allows a clean test-suite-run for a build with
--disable-sim-hardware, where that option is not supported,
by skipping those tests as "untested".

sim/testsuite/cris:
	* asm/io1.ms, asm/io2.ms, asm/io3.ms, asm/io6.ms,
	asm/io7.ms: Call "#require: simoption --cris-900000xx".
2022-02-14 23:50:55 +01:00

24 lines
486 B
Plaintext

# mach: crisv32
# ld: --section-start=.text=0
# requires: simoption --cris-900000xx
# sim: --cris-900000xx
# xerror:
# output: ce11d0c\n
# output: core: 4 byte write to unmapped address 0x90000004 at 0x16\n
# output: program stopped with signal 11 (*).\n
; Check that invalid access to the simulator area is recognized.
; "PASS" area.
.include "testutils.inc"
start
move.d 0x0ce11d0c,$r3
dumpr3
move.d 0x90000004,$acr
clear.d [$acr]
move.d 0xbadc0de,$r3
dumpr3
0:
ba 0b
nop