Statistics
| Branch: | Revision:

root / tests / tcg / cris / check_andr.s @ c09015dd

History | View | Annotate | Download (1.4 kB)

1 dd43edf4 ths
# mach: crisv0 crisv3 crisv8 crisv10 crisv32
2 dd43edf4 ths
# output: 2\n2\nffff\nffffffff\n50124400\nffff0002\n2\nfffff\nfedaff0f\n78134400\nffffff02\n2\nf02\n78134401\n78134400\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
 and.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
 and.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
 and.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
 and.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
 and.d r4,r3
33 dd43edf4 ths
 test_move_cc 0 0 0 0
34 dd43edf4 ths
 checkr3 50124400
35 dd43edf4 ths
36 dd43edf4 ths
 moveq -1,r3
37 dd43edf4 ths
 moveq 2,r4
38 dd43edf4 ths
 and.w r4,r3
39 dd43edf4 ths
 test_move_cc 0 0 0 0
40 dd43edf4 ths
 checkr3 ffff0002
41 dd43edf4 ths
42 dd43edf4 ths
 moveq 2,r3
43 dd43edf4 ths
 moveq -1,r4
44 dd43edf4 ths
 and.w r4,r3
45 dd43edf4 ths
 test_move_cc 0 0 0 0
46 dd43edf4 ths
 checkr3 2
47 dd43edf4 ths
48 dd43edf4 ths
 move.d 0xfffff,r3
49 dd43edf4 ths
 move.d 0xffff,r4
50 dd43edf4 ths
 and.w r4,r3
51 dd43edf4 ths
 test_move_cc 1 0 0 0
52 dd43edf4 ths
 checkr3 fffff
53 dd43edf4 ths
54 dd43edf4 ths
 move.d 0xfedaffaf,r3
55 dd43edf4 ths
 move.d 0xff5f,r4
56 dd43edf4 ths
 and.w r4,r3
57 dd43edf4 ths
 test_move_cc 1 0 0 0
58 dd43edf4 ths
 checkr3 fedaff0f
59 dd43edf4 ths
60 dd43edf4 ths
 move.d 0x5432f789,r4
61 dd43edf4 ths
 move.d 0x78134452,r3
62 dd43edf4 ths
 and.w r4,r3
63 dd43edf4 ths
 test_move_cc 0 0 0 0
64 dd43edf4 ths
 checkr3 78134400
65 dd43edf4 ths
66 dd43edf4 ths
 moveq -1,r3
67 dd43edf4 ths
 moveq 2,r4
68 dd43edf4 ths
 and.b r4,r3
69 dd43edf4 ths
 test_move_cc 0 0 0 0
70 dd43edf4 ths
 checkr3 ffffff02
71 dd43edf4 ths
72 dd43edf4 ths
 moveq 2,r3
73 dd43edf4 ths
 moveq -1,r4
74 dd43edf4 ths
 and.b r4,r3
75 dd43edf4 ths
 test_move_cc 0 0 0 0
76 dd43edf4 ths
 checkr3 2
77 dd43edf4 ths
78 dd43edf4 ths
 move.d 0x5a,r4
79 dd43edf4 ths
 move.d 0xfa7,r3
80 dd43edf4 ths
 and.b r4,r3
81 dd43edf4 ths
 test_move_cc 0 0 0 0
82 dd43edf4 ths
 checkr3 f02
83 dd43edf4 ths
84 dd43edf4 ths
 move.d 0x5432f789,r4
85 dd43edf4 ths
 move.d 0x78134453,r3
86 dd43edf4 ths
 and.b r4,r3
87 dd43edf4 ths
 test_move_cc 0 0 0 0
88 dd43edf4 ths
 checkr3 78134401
89 dd43edf4 ths
90 dd43edf4 ths
 moveq 0,r7
91 dd43edf4 ths
 and.b r7,r3
92 dd43edf4 ths
 test_move_cc 0 1 0 0
93 dd43edf4 ths
 checkr3 78134400
94 dd43edf4 ths
95 dd43edf4 ths
 quit