Files
Mike Frysinger 1368b914e9 sim: testsuite: flatten tree
Now that all port tests live under testsuite/sim/*/, and none live
in testsuite/ directly, flatten the structure by moving all of the
dirs under testsuite/sim/ to testsuite/ directly.

We need to stop passing --tool to dejagnu so that it searches all
dirs and not just ones that start with "sim".  Since we have no
other dirs in this tree, and no plans to add any, should be fine.
2021-01-15 19:18:34 -05:00

109 lines
1.5 KiB
Plaintext

# mach: crisv3 crisv8 crisv10
#output: fffffffe\n
#output: 3\n
#output: 1fffe\n
#output: 2fffd\n
#output: fffffffd\n
#output: ffffffff\n
#output: f02688a4\n
#output: 1fffe\n
#output: fffffffe\n
#output: fffffffe\n
#output: fffffff9\n
#output: 0\n
#output: 4459802d\n
#output: 4459802d\n
.include "testutils.inc"
start
moveq -1,r3
moveq 2,r4
mstep r4,r3
test_move_cc 1 0 0 0
dumpr3 ; fffffffe
moveq 2,r3
moveq -1,r4
mstep r4,r3
test_move_cc 0 0 0 0
dumpr3 ; 3
move.d 0xffff,r4
move.d r4,r3
mstep r4,r3
test_move_cc 0 0 0 0
dumpr3 ; 1fffe
move.d 0xffff,r4
move.d r4,r3
setf n
mstep r4,r3
test_move_cc 0 0 0 0
dumpr3 ; 2fffd
moveq -1,r4
move.d r4,r3
mstep r4,r3
test_move_cc 1 0 0 0
dumpr3 ; fffffffd
moveq -1,r3
moveq 1,r4
setf n
mstep r4,r3
test_move_cc 1 0 0 0
dumpr3 ; ffffffff
move.d 0x5432f789,r4
move.d 0x78134452,r3
mstep r4,r3
test_move_cc 1 0 0 0
dumpr3 ; f02688a4
move.d 0xffff,r3
move.d 0x1fffe,r4
mstep r4,r3
test_move_cc 0 0 0 0
dumpr3 ; 1fffe
move.d 0x7fffffff,r3
moveq 5,r5
mstep r5,r3
test_move_cc 1 0 0 0
dumpr3 ; fffffffe
move.d 0x7fffffff,r3
moveq 0,r5
mstep r5,r3
test_move_cc 1 0 0 0
dumpr3 ; fffffffe
move.d 0x7fffffff,r3
moveq -5,r5
mstep r5,r3
test_move_cc 1 0 0 0
dumpr3 ; fffffff9
move.d 0x7fffffff,r3
moveq 2,r5
setf n
mstep r5,r3
test_move_cc 0 1 0 0
dumpr3 ; 0
move.d 0x5432f789,r4
move.d 0x78134452,r3
setf n
mstep r4,r3
test_move_cc 0 0 0 0
dumpr3 ; 4459802d
move.d 0x5432f789,r4
move.d 0x78134452,r3
setf nc
mstep r4,r3
test_move_cc 0 0 0 0
dumpr3 ; 4459802d
quit