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