root / tests / cris / check_andc.s @ 681f8c29
History | View | Annotate | Download (1.2 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 | and.d 2,r3 |
8 | dd43edf4 | ths | test_move_cc 0 0 0 0 |
9 | dd43edf4 | ths | checkr3 2 |
10 | dd43edf4 | ths | |
11 | dd43edf4 | ths | moveq 2,r3 |
12 | dd43edf4 | ths | and.d -1,r3 |
13 | dd43edf4 | ths | test_move_cc 0 0 0 0 |
14 | dd43edf4 | ths | checkr3 2 |
15 | dd43edf4 | ths | |
16 | dd43edf4 | ths | move.d 0xffff,r3 |
17 | dd43edf4 | ths | and.d 0xffff,r3 |
18 | dd43edf4 | ths | test_move_cc 0 0 0 0 |
19 | dd43edf4 | ths | checkr3 ffff |
20 | dd43edf4 | ths | |
21 | dd43edf4 | ths | moveq -1,r3 |
22 | dd43edf4 | ths | and.d -1,r3 |
23 | dd43edf4 | ths | test_move_cc 1 0 0 0 |
24 | dd43edf4 | ths | checkr3 ffffffff |
25 | dd43edf4 | ths | |
26 | dd43edf4 | ths | move.d 0x78134452,r3 |
27 | dd43edf4 | ths | and.d 0x5432f789,r3 |
28 | dd43edf4 | ths | test_move_cc 0 0 0 0 |
29 | dd43edf4 | ths | checkr3 50124400 |
30 | dd43edf4 | ths | |
31 | dd43edf4 | ths | moveq -1,r3 |
32 | dd43edf4 | ths | and.w 2,r3 |
33 | dd43edf4 | ths | test_move_cc 0 0 0 0 |
34 | dd43edf4 | ths | checkr3 ffff0002 |
35 | dd43edf4 | ths | |
36 | dd43edf4 | ths | moveq 2,r3 |
37 | dd43edf4 | ths | and.w -1,r3 |
38 | dd43edf4 | ths | test_move_cc 0 0 0 0 |
39 | dd43edf4 | ths | checkr3 2 |
40 | dd43edf4 | ths | |
41 | dd43edf4 | ths | move.d 0xfffff,r3 |
42 | dd43edf4 | ths | and.w 0xffff,r3 |
43 | dd43edf4 | ths | test_move_cc 1 0 0 0 |
44 | dd43edf4 | ths | checkr3 fffff |
45 | dd43edf4 | ths | |
46 | dd43edf4 | ths | move.d 0xfedaffaf,r3 |
47 | dd43edf4 | ths | and.w 0xff5f,r3 |
48 | dd43edf4 | ths | test_move_cc 1 0 0 0 |
49 | dd43edf4 | ths | checkr3 fedaff0f |
50 | dd43edf4 | ths | |
51 | dd43edf4 | ths | move.d 0x78134452,r3 |
52 | dd43edf4 | ths | and.w 0xf789,r3 |
53 | dd43edf4 | ths | test_move_cc 0 0 0 0 |
54 | dd43edf4 | ths | checkr3 78134400 |
55 | dd43edf4 | ths | |
56 | dd43edf4 | ths | moveq -1,r3 |
57 | dd43edf4 | ths | and.b 2,r3 |
58 | dd43edf4 | ths | test_move_cc 0 0 0 0 |
59 | dd43edf4 | ths | checkr3 ffffff02 |
60 | dd43edf4 | ths | |
61 | dd43edf4 | ths | moveq 2,r3 |
62 | dd43edf4 | ths | and.b -1,r3 |
63 | dd43edf4 | ths | test_move_cc 0 0 0 0 |
64 | dd43edf4 | ths | checkr3 2 |
65 | dd43edf4 | ths | |
66 | dd43edf4 | ths | move.d 0xfa7,r3 |
67 | dd43edf4 | ths | and.b 0x5a,r3 |
68 | dd43edf4 | ths | test_move_cc 0 0 0 0 |
69 | dd43edf4 | ths | checkr3 f02 |
70 | dd43edf4 | ths | |
71 | dd43edf4 | ths | move.d 0x78134453,r3 |
72 | dd43edf4 | ths | and.b 0x89,r3 |
73 | dd43edf4 | ths | test_move_cc 0 0 0 0 |
74 | dd43edf4 | ths | checkr3 78134401 |
75 | dd43edf4 | ths | |
76 | dd43edf4 | ths | and.b 0,r3 |
77 | dd43edf4 | ths | test_move_cc 0 1 0 0 |
78 | dd43edf4 | ths | checkr3 78134400 |
79 | dd43edf4 | ths | |
80 | dd43edf4 | ths | quit |