add debug information for emc
[qemu/qemu-JZ.git] / tests / cris / check_boundr.s
blob5c50cc5f6adc9c05673fd8700ff1e0427a5ebd4a
1 # mach: crisv0 crisv3 crisv8 crisv10 crisv32
2 # output: 2\n2\nffff\nffffffff\n5432f789\n2\n2\nffff\nffff\nffff\nf789\n2\n2\nff\nff\n89\nfeda4953\nfeda4962\n0\n0\n
4 .include "testutils.inc"
5 start
6 moveq -1,r3
7 moveq 2,r4
8 bound.d r4,r3
9 test_move_cc 0 0 0 0
10 checkr3 2
12 moveq 2,r3
13 moveq -1,r4
14 bound.d r4,r3
15 test_move_cc 0 0 0 0
16 checkr3 2
18 move.d 0xffff,r4
19 move.d r4,r3
20 bound.d r4,r3
21 test_move_cc 0 0 0 0
22 checkr3 ffff
24 moveq -1,r4
25 move.d r4,r3
26 bound.d r4,r3
27 test_move_cc 1 0 0 0
28 checkr3 ffffffff
30 move.d 0x5432f789,r4
31 move.d 0x78134452,r3
32 bound.d r4,r3
33 test_move_cc 0 0 0 0
34 checkr3 5432f789
36 moveq -1,r3
37 moveq 2,r4
38 bound.w r4,r3
39 test_move_cc 0 0 0 0
40 checkr3 2
42 moveq 2,r3
43 moveq -1,r4
44 bound.w r4,r3
45 test_move_cc 0 0 0 0
46 checkr3 2
48 moveq -1,r3
49 bound.w r3,r3
50 test_move_cc 0 0 0 0
51 checkr3 ffff
53 move.d 0xffff,r4
54 move.d r4,r3
55 bound.w r4,r3
56 test_move_cc 0 0 0 0
57 checkr3 ffff
59 move.d 0xfedaffff,r4
60 move.d r4,r3
61 bound.w r4,r3
62 test_move_cc 0 0 0 0
63 checkr3 ffff
65 move.d 0x5432f789,r4
66 move.d 0x78134452,r3
67 bound.w r4,r3
68 test_move_cc 0 0 0 0
69 checkr3 f789
71 moveq -1,r3
72 moveq 2,r4
73 bound.b r4,r3
74 test_move_cc 0 0 0 0
75 checkr3 2
77 moveq 2,r3
78 moveq -1,r4
79 bound.b r4,r3
80 test_move_cc 0 0 0 0
81 checkr3 2
83 move.d 0xff,r4
84 move.d r4,r3
85 bound.b r4,r3
86 test_move_cc 0 0 0 0
87 checkr3 ff
89 move.d 0xfeda49ff,r4
90 move.d r4,r3
91 bound.b r4,r3
92 test_move_cc 0 0 0 0
93 checkr3 ff
95 move.d 0x5432f789,r4
96 move.d 0x78134452,r3
97 bound.b r4,r3
98 test_move_cc 0 0 0 0
99 checkr3 89
101 move.d 0xfeda4956,r3
102 move.d 0xfeda4953,r4
103 bound.d r4,r3
104 test_move_cc 1 0 0 0
105 checkr3 feda4953
107 move.d 0xfeda4962,r3
108 move.d 0xfeda4963,r4
109 bound.d r4,r3
110 test_move_cc 1 0 0 0
111 checkr3 feda4962
113 move.d 0xfeda4956,r3
114 move.d 0,r4
115 bound.d r4,r3
116 test_move_cc 0 1 0 0
117 checkr3 0
119 move.d 0xfeda4956,r4
120 move.d 0,r3
121 bound.d r4,r3
122 test_move_cc 0 1 0 0
123 checkr3 0
125 quit