hw/omap1.c: Add fallthrough markers and breaks
[qemu/pbrook.git] / tests / tcg / cris / check_boundc.s
blobfb9e5bc905bd5993ac7971f7e198e527c3e492e7
1 # mach: crisv0 crisv3 crisv8 crisv10 crisv32
2 # output: 2\n2\nffff\nffffffff\n5432f789\n2\nffff\n2\nffff\nffff\nf789\n2\n2\nff\nff\nff\n89\n0\nff\n
4 .include "testutils.inc"
5 start
6 moveq -1,r3
7 moveq 2,r4
8 bound.d 2,r3
9 test_move_cc 0 0 0 0
10 checkr3 2
12 moveq 2,r3
13 bound.d 0xffffffff,r3
14 test_move_cc 0 0 0 0
15 checkr3 2
17 move.d 0xffff,r3
18 bound.d 0xffff,r3
19 test_move_cc 0 0 0 0
20 checkr3 ffff
22 moveq -1,r3
23 bound.d 0xffffffff,r3
24 test_move_cc 1 0 0 0
25 checkr3 ffffffff
27 move.d 0x78134452,r3
28 bound.d 0x5432f789,r3
29 test_move_cc 0 0 0 0
30 checkr3 5432f789
32 moveq -1,r3
33 bound.w 2,r3
34 test_move_cc 0 0 0 0
35 checkr3 2
37 moveq -1,r3
38 bound.w 0xffff,r3
39 test_move_cc 0 0 0 0
40 checkr3 ffff
42 moveq 2,r3
43 bound.w 0xffff,r3
44 test_move_cc 0 0 0 0
45 checkr3 2
47 move.d 0xffff,r3
48 bound.w 0xffff,r3
49 test_move_cc 0 0 0 0
50 checkr3 ffff
52 move.d 0xfedaffff,r3
53 bound.w 0xffff,r3
54 test_move_cc 0 0 0 0
55 checkr3 ffff
57 move.d 0x78134452,r3
58 bound.w 0xf789,r3
59 test_move_cc 0 0 0 0
60 checkr3 f789
62 moveq -1,r3
63 bound.b 2,r3
64 test_move_cc 0 0 0 0
65 checkr3 2
67 moveq 2,r3
68 bound.b 0xff,r3
69 test_move_cc 0 0 0 0
70 checkr3 2
72 moveq -1,r3
73 bound.b 0xff,r3
74 test_move_cc 0 0 0 0
75 checkr3 ff
77 move.d 0xff,r3
78 bound.b 0xff,r3
79 test_move_cc 0 0 0 0
80 checkr3 ff
82 move.d 0xfeda49ff,r3
83 bound.b 0xff,r3
84 test_move_cc 0 0 0 0
85 checkr3 ff
87 move.d 0x78134452,r3
88 bound.b 0x89,r3
89 test_move_cc 0 0 0 0
90 checkr3 89
92 bound.w 0,r3
93 test_move_cc 0 1 0 0
94 checkr3 0
96 move.d 0xffff,r3
97 bound.b -1,r3
98 test_move_cc 0 0 0 0
99 checkr3 ff
101 quit