Statistics
| Branch: | Revision:

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

History | View | Annotate | Download (1.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
 .data
6 dd43edf4 ths
x:
7 dd43edf4 ths
 .dword 2,1,0xff0f,-1,0x5432f789
8 dd43edf4 ths
 .word 2,1,0xff5f,0xf789
9 dd43edf4 ths
 .byte 2,1,0x4a,0x89
10 dd43edf4 ths
11 dd43edf4 ths
 start
12 dd43edf4 ths
 moveq 1,r3
13 dd43edf4 ths
 move.d x,r5
14 dd43edf4 ths
 or.d [r5+],r3
15 dd43edf4 ths
 checkr3 3
16 dd43edf4 ths
17 dd43edf4 ths
 moveq 2,r3
18 dd43edf4 ths
 or.d [r5],r3
19 dd43edf4 ths
 addq 4,r5
20 dd43edf4 ths
 checkr3 3
21 dd43edf4 ths
22 dd43edf4 ths
 move.d 0xf0ff,r3
23 dd43edf4 ths
 or.d [r5+],r3
24 dd43edf4 ths
 checkr3 ffff
25 dd43edf4 ths
26 dd43edf4 ths
 moveq -1,r3
27 dd43edf4 ths
 or.d [r5+],r3
28 dd43edf4 ths
 checkr3 ffffffff
29 dd43edf4 ths
30 dd43edf4 ths
 move.d 0x78134452,r3
31 dd43edf4 ths
 or.d [r5+],r3
32 dd43edf4 ths
 checkr3 7c33f7db
33 dd43edf4 ths
34 dd43edf4 ths
 move.d 0xffff0001,r3
35 dd43edf4 ths
 or.w [r5+],r3
36 dd43edf4 ths
 checkr3 ffff0003
37 dd43edf4 ths
38 dd43edf4 ths
 moveq 2,r3
39 dd43edf4 ths
 or.w [r5],r3
40 dd43edf4 ths
 addq 2,r5
41 dd43edf4 ths
 test_move_cc 0 0 0 0
42 dd43edf4 ths
 checkr3 3
43 dd43edf4 ths
44 dd43edf4 ths
 move.d 0xfedaffaf,r3
45 dd43edf4 ths
 or.w [r5+],r3
46 dd43edf4 ths
 test_move_cc 1 0 0 0
47 dd43edf4 ths
 checkr3 fedaffff
48 dd43edf4 ths
49 dd43edf4 ths
 move.d 0x78134452,r3
50 dd43edf4 ths
 or.w [r5+],r3
51 dd43edf4 ths
 test_move_cc 1 0 0 0
52 dd43edf4 ths
 checkr3 7813f7db
53 dd43edf4 ths
54 dd43edf4 ths
 moveq 1,r3
55 dd43edf4 ths
 or.b [r5+],r3
56 dd43edf4 ths
 test_move_cc 0 0 0 0
57 dd43edf4 ths
 checkr3 3
58 dd43edf4 ths
59 dd43edf4 ths
 moveq 2,r3
60 dd43edf4 ths
 or.b [r5],r3
61 dd43edf4 ths
 addq 1,r5
62 dd43edf4 ths
 test_move_cc 0 0 0 0
63 dd43edf4 ths
 checkr3 3
64 dd43edf4 ths
65 dd43edf4 ths
 move.d 0xfa3,r3
66 dd43edf4 ths
 or.b [r5+],r3
67 dd43edf4 ths
 test_move_cc 1 0 0 0
68 dd43edf4 ths
 checkr3 feb
69 dd43edf4 ths
70 dd43edf4 ths
 move.d 0x78134453,r3
71 dd43edf4 ths
 or.b [r5],r3
72 dd43edf4 ths
 test_move_cc 1 0 0 0
73 dd43edf4 ths
 checkr3 781344db
74 dd43edf4 ths
75 dd43edf4 ths
 quit