Statistics
| Branch: | Revision:

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

History | View | Annotate | Download (656 Bytes)

1 dd43edf4 ths
# mach: crisv0 crisv3 crisv8 crisv10 crisv32
2 dd43edf4 ths
# output: 2\n2\nffff\nffffffff\n1f\nffffffe0\n78134452\n0\n
3 dd43edf4 ths
4 dd43edf4 ths
 .include "testutils.inc"
5 dd43edf4 ths
 start
6 dd43edf4 ths
 moveq -1,r3
7 dd43edf4 ths
 andq 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
 andq -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
 andq -1,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
 andq -1,r3
23 dd43edf4 ths
 test_move_cc 1 0 0 0
24 dd43edf4 ths
 checkr3 ffffffff
25 dd43edf4 ths
26 dd43edf4 ths
 moveq -1,r3
27 dd43edf4 ths
 andq 31,r3
28 dd43edf4 ths
 test_move_cc 0 0 0 0
29 dd43edf4 ths
 checkr3 1f
30 dd43edf4 ths
31 dd43edf4 ths
 moveq -1,r3
32 dd43edf4 ths
 andq -32,r3
33 dd43edf4 ths
 test_move_cc 1 0 0 0
34 dd43edf4 ths
 checkr3 ffffffe0
35 dd43edf4 ths
36 dd43edf4 ths
 move.d 0x78134457,r3
37 dd43edf4 ths
 andq -14,r3
38 dd43edf4 ths
 test_move_cc 0 0 0 0
39 dd43edf4 ths
 checkr3 78134452
40 dd43edf4 ths
41 dd43edf4 ths
 moveq 0,r3
42 dd43edf4 ths
 andq -14,r3
43 dd43edf4 ths
 test_move_cc 0 1 0 0
44 dd43edf4 ths
 checkr3 0
45 dd43edf4 ths
46 dd43edf4 ths
 quit