Statistics
| Branch: | Revision:

root / tests / cris / check_dstep.s @ 681f8c29

History | View | Annotate | Download (634 Bytes)

1 dd43edf4 ths
# mach: crisv0 crisv3 crisv8 crisv10 crisv32
2 dd43edf4 ths
# output: fffffffc\n4\nffff\nfffffffe\n9bf3911b\n0\n
3 dd43edf4 ths
4 dd43edf4 ths
 .include "testutils.inc"
5 dd43edf4 ths
 start
6 dd43edf4 ths
 moveq -1,r3
7 dd43edf4 ths
 moveq 2,r4
8 dd43edf4 ths
 dstep r4,r3
9 dd43edf4 ths
 test_move_cc 1 0 0 0
10 dd43edf4 ths
 checkr3 fffffffc
11 dd43edf4 ths
12 dd43edf4 ths
 moveq 2,r3
13 dd43edf4 ths
 moveq -1,r4
14 dd43edf4 ths
 dstep r4,r3
15 dd43edf4 ths
 test_move_cc 0 0 0 0
16 dd43edf4 ths
 checkr3 4
17 dd43edf4 ths
18 dd43edf4 ths
 move.d 0xffff,r4
19 dd43edf4 ths
 move.d r4,r3
20 dd43edf4 ths
 dstep r4,r3
21 dd43edf4 ths
 test_move_cc 0 0 0 0
22 dd43edf4 ths
 checkr3 ffff
23 dd43edf4 ths
24 dd43edf4 ths
 moveq -1,r4
25 dd43edf4 ths
 move.d r4,r3
26 dd43edf4 ths
 dstep r4,r3
27 dd43edf4 ths
 test_move_cc 1 0 0 0
28 dd43edf4 ths
 checkr3 fffffffe
29 dd43edf4 ths
30 dd43edf4 ths
 move.d 0x5432f789,r4
31 dd43edf4 ths
 move.d 0x78134452,r3
32 dd43edf4 ths
 dstep r4,r3
33 dd43edf4 ths
 test_move_cc 1 0 0 0
34 dd43edf4 ths
 checkr3 9bf3911b
35 dd43edf4 ths
36 dd43edf4 ths
 move.d 0xffff,r3
37 dd43edf4 ths
 move.d 0x1fffe,r4
38 dd43edf4 ths
 dstep r4,r3
39 dd43edf4 ths
 test_move_cc 0 1 0 0
40 dd43edf4 ths
 checkr3 0
41 dd43edf4 ths
42 dd43edf4 ths
 quit