Merge tag 'v9.1.0'
[qemu/ar7.git] / tests / tcg / cris / bare / check_dstep.s
blobbd43b838ea9e3f6a41522696e1ca29094499d3fc
1 # mach: crisv0 crisv3 crisv8 crisv10 crisv32
2 # output: fffffffc\n4\nffff\nfffffffe\n9bf3911b\n0\n
4 .include "testutils.inc"
5 start
6 moveq -1,r3
7 moveq 2,r4
8 dstep r4,r3
9 test_move_cc 1 0 0 0
10 checkr3 fffffffc
12 moveq 2,r3
13 moveq -1,r4
14 dstep r4,r3
15 test_move_cc 0 0 0 0
16 checkr3 4
18 move.d 0xffff,r4
19 move.d r4,r3
20 dstep r4,r3
21 test_move_cc 0 0 0 0
22 checkr3 ffff
24 moveq -1,r4
25 move.d r4,r3
26 dstep r4,r3
27 test_move_cc 1 0 0 0
28 checkr3 fffffffe
30 move.d 0x5432f789,r4
31 move.d 0x78134452,r3
32 dstep r4,r3
33 test_move_cc 1 0 0 0
34 checkr3 9bf3911b
36 move.d 0xffff,r3
37 move.d 0x1fffe,r4
38 dstep r4,r3
39 test_move_cc 0 1 0 0
40 checkr3 0
42 quit