Statistics
| Branch: | Revision:

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

History | View | Annotate | Download (1 kB)

1 dd43edf4 ths
# mach: crisv0 crisv3 crisv8 crisv10 crisv32
2 dd43edf4 ths
# output: 3\n3\nffff\nffffffff\n7c33f7db\nffff0003\n3\nfedaffff\n7813f7db\n3\n3\nfeb\n781344db\n
3 dd43edf4 ths
4 dd43edf4 ths
 .include "testutils.inc"
5 dd43edf4 ths
 start
6 dd43edf4 ths
 moveq 1,r3
7 dd43edf4 ths
 or.d 2,r3
8 dd43edf4 ths
 test_move_cc 0 0 0 0
9 dd43edf4 ths
 checkr3 3
10 dd43edf4 ths
11 dd43edf4 ths
 moveq 2,r3
12 dd43edf4 ths
 or.d 1,r3
13 dd43edf4 ths
 test_move_cc 0 0 0 0
14 dd43edf4 ths
 checkr3 3
15 dd43edf4 ths
16 dd43edf4 ths
 move.d 0xf0ff,r3
17 dd43edf4 ths
 or.d 0xff0f,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
 or.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
 or.d 0x5432f789,r3
28 dd43edf4 ths
 test_move_cc 0 0 0 0
29 dd43edf4 ths
 checkr3 7c33f7db
30 dd43edf4 ths
31 dd43edf4 ths
 move.d 0xffff0001,r3
32 dd43edf4 ths
 or.w 2,r3
33 dd43edf4 ths
 test_move_cc 0 0 0 0
34 dd43edf4 ths
 checkr3 ffff0003
35 dd43edf4 ths
36 dd43edf4 ths
 moveq 2,r3
37 dd43edf4 ths
 or.w 1,r3
38 dd43edf4 ths
 test_move_cc 0 0 0 0
39 dd43edf4 ths
 checkr3 3
40 dd43edf4 ths
41 dd43edf4 ths
 move.d 0xfedaffaf,r3
42 dd43edf4 ths
 or.w 0xff5f,r3
43 dd43edf4 ths
 test_move_cc 1 0 0 0
44 dd43edf4 ths
 checkr3 fedaffff
45 dd43edf4 ths
46 dd43edf4 ths
 move.d 0x78134452,r3
47 dd43edf4 ths
 or.w 0xf789,r3
48 dd43edf4 ths
 test_move_cc 1 0 0 0
49 dd43edf4 ths
 checkr3 7813f7db
50 dd43edf4 ths
51 dd43edf4 ths
 moveq 1,r3
52 dd43edf4 ths
 or.b 2,r3
53 dd43edf4 ths
 test_move_cc 0 0 0 0
54 dd43edf4 ths
 checkr3 3
55 dd43edf4 ths
56 dd43edf4 ths
 moveq 2,r3
57 dd43edf4 ths
 or.b 1,r3
58 dd43edf4 ths
 test_move_cc 0 0 0 0
59 dd43edf4 ths
 checkr3 3
60 dd43edf4 ths
61 dd43edf4 ths
 move.d 0xfa3,r3
62 dd43edf4 ths
 or.b 0x4a,r3
63 dd43edf4 ths
 test_move_cc 1 0 0 0
64 dd43edf4 ths
 checkr3 feb
65 dd43edf4 ths
66 dd43edf4 ths
 move.d 0x78134453,r3
67 dd43edf4 ths
 or.b 0x89,r3
68 dd43edf4 ths
 test_move_cc 1 0 0 0
69 dd43edf4 ths
 checkr3 781344db
70 dd43edf4 ths
71 dd43edf4 ths
 quit