Files
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

19 lines
281 B
Plaintext

# mach: crisv32
# requires: simoption --cris-900000xx
# sim: --cris-900000xx
# output: ce11d0c\n
; Check correct "pass" exit.
.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