Statistics
| Branch: | Revision:

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

History | View | Annotate | Download (589 Bytes)

1
# mach: crisv0 crisv3 crisv8 crisv10 crisv32
2
# output: 3\n3\nffffffff\nffffffff\n1f\nffffffe0\n7813445e\n
3

    
4
 .include "testutils.inc"
5
 start
6
 moveq 1,r3
7
 orq 2,r3
8
 test_move_cc 0 0 0 0
9
 checkr3 3
10

    
11
 moveq 2,r3
12
 orq 1,r3
13
 test_move_cc 0 0 0 0
14
 checkr3 3
15

    
16
 move.d 0xf0ff,r3
17
 orq -1,r3
18
 test_move_cc 1 0 0 0
19
 checkr3 ffffffff
20

    
21
 moveq 0,r3
22
 orq -1,r3
23
 test_move_cc 1 0 0 0
24
 checkr3 ffffffff
25

    
26
 moveq 0,r3
27
 orq 31,r3
28
 test_move_cc 0 0 0 0
29
 checkr3 1f
30

    
31
 moveq 0,r3
32
 orq -32,r3
33
 test_move_cc 1 0 0 0
34
 checkr3 ffffffe0
35

    
36
 move.d 0x78134452,r3
37
 orq 12,r3
38
 test_move_cc 0 0 0 0
39
 checkr3 7813445e
40

    
41
 quit