Statistics
| Branch: | Revision:

root / tests / cris / check_boundr.s @ 1ffc346f

History | View | Annotate | Download (1.8 kB)

1 dd43edf4 ths
# mach: crisv0 crisv3 crisv8 crisv10 crisv32
2 dd43edf4 ths
# output: 2\n2\nffff\nffffffff\n5432f789\n2\n2\nffff\nffff\nffff\nf789\n2\n2\nff\nff\n89\nfeda4953\nfeda4962\n0\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
 bound.d r4,r3
9 dd43edf4 ths
 test_move_cc 0 0 0 0
10 dd43edf4 ths
 checkr3 2
11 dd43edf4 ths
12 dd43edf4 ths
 moveq 2,r3
13 dd43edf4 ths
 moveq -1,r4
14 dd43edf4 ths
 bound.d r4,r3
15 dd43edf4 ths
 test_move_cc 0 0 0 0
16 dd43edf4 ths
 checkr3 2
17 dd43edf4 ths
18 dd43edf4 ths
 move.d 0xffff,r4
19 dd43edf4 ths
 move.d r4,r3
20 dd43edf4 ths
 bound.d 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
 bound.d r4,r3
27 dd43edf4 ths
 test_move_cc 1 0 0 0
28 dd43edf4 ths
 checkr3 ffffffff
29 dd43edf4 ths
30 dd43edf4 ths
 move.d 0x5432f789,r4
31 dd43edf4 ths
 move.d 0x78134452,r3
32 dd43edf4 ths
 bound.d r4,r3
33 dd43edf4 ths
 test_move_cc 0 0 0 0
34 dd43edf4 ths
 checkr3 5432f789
35 dd43edf4 ths
36 dd43edf4 ths
 moveq -1,r3
37 dd43edf4 ths
 moveq 2,r4
38 dd43edf4 ths
 bound.w r4,r3
39 dd43edf4 ths
 test_move_cc 0 0 0 0
40 dd43edf4 ths
 checkr3 2
41 dd43edf4 ths
42 dd43edf4 ths
 moveq 2,r3
43 dd43edf4 ths
 moveq -1,r4
44 dd43edf4 ths
 bound.w r4,r3
45 dd43edf4 ths
 test_move_cc 0 0 0 0
46 dd43edf4 ths
 checkr3 2
47 dd43edf4 ths
48 dd43edf4 ths
 moveq -1,r3
49 dd43edf4 ths
 bound.w r3,r3
50 dd43edf4 ths
 test_move_cc 0 0 0 0
51 dd43edf4 ths
 checkr3 ffff
52 dd43edf4 ths
53 dd43edf4 ths
 move.d 0xffff,r4
54 dd43edf4 ths
 move.d r4,r3
55 dd43edf4 ths
 bound.w r4,r3
56 dd43edf4 ths
 test_move_cc 0 0 0 0
57 dd43edf4 ths
 checkr3 ffff
58 dd43edf4 ths
59 dd43edf4 ths
 move.d 0xfedaffff,r4
60 dd43edf4 ths
 move.d r4,r3
61 dd43edf4 ths
 bound.w r4,r3
62 dd43edf4 ths
 test_move_cc 0 0 0 0
63 dd43edf4 ths
 checkr3 ffff
64 dd43edf4 ths
65 dd43edf4 ths
 move.d 0x5432f789,r4
66 dd43edf4 ths
 move.d 0x78134452,r3
67 dd43edf4 ths
 bound.w r4,r3
68 dd43edf4 ths
 test_move_cc 0 0 0 0
69 dd43edf4 ths
 checkr3 f789
70 dd43edf4 ths
71 dd43edf4 ths
 moveq -1,r3
72 dd43edf4 ths
 moveq 2,r4
73 dd43edf4 ths
 bound.b r4,r3
74 dd43edf4 ths
 test_move_cc 0 0 0 0
75 dd43edf4 ths
 checkr3 2
76 dd43edf4 ths
77 dd43edf4 ths
 moveq 2,r3
78 dd43edf4 ths
 moveq -1,r4
79 dd43edf4 ths
 bound.b r4,r3
80 dd43edf4 ths
 test_move_cc 0 0 0 0
81 dd43edf4 ths
 checkr3 2
82 dd43edf4 ths
83 dd43edf4 ths
 move.d 0xff,r4
84 dd43edf4 ths
 move.d r4,r3
85 dd43edf4 ths
 bound.b r4,r3
86 dd43edf4 ths
 test_move_cc 0 0 0 0
87 dd43edf4 ths
 checkr3 ff
88 dd43edf4 ths
89 dd43edf4 ths
 move.d 0xfeda49ff,r4
90 dd43edf4 ths
 move.d r4,r3
91 dd43edf4 ths
 bound.b r4,r3
92 dd43edf4 ths
 test_move_cc 0 0 0 0
93 dd43edf4 ths
 checkr3 ff
94 dd43edf4 ths
95 dd43edf4 ths
 move.d 0x5432f789,r4
96 dd43edf4 ths
 move.d 0x78134452,r3
97 dd43edf4 ths
 bound.b r4,r3
98 dd43edf4 ths
 test_move_cc 0 0 0 0
99 dd43edf4 ths
 checkr3 89
100 dd43edf4 ths
101 dd43edf4 ths
 move.d 0xfeda4956,r3
102 dd43edf4 ths
 move.d 0xfeda4953,r4
103 dd43edf4 ths
 bound.d r4,r3
104 dd43edf4 ths
 test_move_cc 1 0 0 0
105 dd43edf4 ths
 checkr3 feda4953
106 dd43edf4 ths
107 dd43edf4 ths
 move.d 0xfeda4962,r3
108 dd43edf4 ths
 move.d 0xfeda4963,r4
109 dd43edf4 ths
 bound.d r4,r3
110 dd43edf4 ths
 test_move_cc 1 0 0 0
111 dd43edf4 ths
 checkr3 feda4962
112 dd43edf4 ths
113 dd43edf4 ths
 move.d 0xfeda4956,r3
114 dd43edf4 ths
 move.d 0,r4
115 dd43edf4 ths
 bound.d r4,r3
116 dd43edf4 ths
 test_move_cc 0 1 0 0
117 dd43edf4 ths
 checkr3 0
118 dd43edf4 ths
119 dd43edf4 ths
 move.d 0xfeda4956,r4
120 dd43edf4 ths
 move.d 0,r3
121 dd43edf4 ths
 bound.d r4,r3
122 dd43edf4 ths
 test_move_cc 0 1 0 0
123 dd43edf4 ths
 checkr3 0
124 dd43edf4 ths
125 dd43edf4 ths
 quit