repo.or.cz
/
binutils-gdb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
bfd/ELF: slightly "better" file alignment for object files
[binutils-gdb.git]
/
sim
/
testsuite
/
cris
/
asm
/
orr.ms
blob
54d033b68bbbc0a06d0fcd167149772dc7c38141
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
moveq 2,r4
8
or.d r4,r3
9
test_move_cc 0 0 0 0
10
dumpr3 ; 3
11
12
moveq 2,r3
13
moveq 1,r4
14
or.d r4,r3
15
test_move_cc 0 0 0 0
16
dumpr3 ; 3
17
18
move.d 0xff0f,r4
19
move.d 0xf0ff,r3
20
or.d r4,r3
21
test_move_cc 0 0 0 0
22
dumpr3 ; ffff
23
24
moveq -1,r4
25
move.d r4,r3
26
or.d r4,r3
27
test_move_cc 1 0 0 0
28
dumpr3 ; ffffffff
29
30
move.d 0x5432f789,r4
31
move.d 0x78134452,r3
32
or.d r4,r3
33
test_move_cc 0 0 0 0
34
dumpr3 ; 7c33f7db
35
36
move.d 0xffff0001,r3
37
moveq 2,r4
38
or.w r4,r3
39
test_move_cc 0 0 0 0
40
dumpr3 ; ffff0003
41
42
moveq 2,r3
43
move.d 0xffff0001,r4
44
or.w r4,r3
45
test_move_cc 0 0 0 0
46
dumpr3 ; 3
47
48
move.d 0xfedaffaf,r3
49
move.d 0xffffff5f,r4
50
or.w r4,r3
51
test_move_cc 1 0 0 0
52
dumpr3 ; fedaffff
53
54
move.d 0x5432f789,r4
55
move.d 0x78134452,r3
56
or.w r4,r3
57
test_move_cc 1 0 0 0
58
dumpr3 ; 7813f7db
59
60
moveq 1,r3
61
move.d 0xffffff02,r4
62
or.b r4,r3
63
test_move_cc 0 0 0 0
64
dumpr3 ; 3
65
66
moveq 2,r3
67
moveq 1,r4
68
or.b r4,r3
69
test_move_cc 0 0 0 0
70
dumpr3 ; 3
71
72
move.d 0x4a,r4
73
move.d 0xfa3,r3
74
or.b r4,r3
75
test_move_cc 1 0 0 0
76
dumpr3 ; feb
77
78
move.d 0x5432f789,r4
79
move.d 0x78134453,r3
80
or.b r4,r3
81
test_move_cc 1 0 0 0
82
dumpr3 ; 781344db
83
84
quit