projects
/
deliverable
/
binutils-gdb.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* sim/cris/asm/testutils.inc (test_h_mem): Use register prefix.
[deliverable/binutils-gdb.git]
/
sim
/
testsuite
/
sim
/
cris
/
asm
/
addc.ms
1
# mach: crisv0 crisv3 crisv8 crisv10 crisv32
2
# output: 1\n1\n1fffe\nfffffffe\ncc463bdb\nffff0001\n1\nfffe\nfedafffe\n78133bdb\nffffff01\n1\nfe\nfeda49fe\n781344db\n
3
4
.include "testutils.inc"
5
start
6
moveq -1,r3
7
add.d 2,r3
8
test_cc 0 0 0 1
9
dumpr3 ; 1
10
11
moveq 2,r3
12
add.d -1,r3
13
test_cc 0 0 0 1
14
dumpr3 ; 1
15
16
move.d 0xffff,r3
17
add.d 0xffff,r3
18
test_cc 0 0 0 0
19
dumpr3 ; 1fffe
20
21
moveq -1,r3
22
add.d -1,r3
23
test_cc 1 0 0 1
24
dumpr3 ; fffffffe
25
26
move.d 0x78134452,r3
27
add.d 0x5432f789,r3
28
test_cc 1 0 1 0
29
dumpr3 ; cc463bdb
30
31
moveq -1,r3
32
add.w 2,r3
33
test_cc 0 0 0 1
34
dumpr3 ; ffff0001
35
36
moveq 2,r3
37
add.w -1,r3
38
test_cc 0 0 0 1
39
dumpr3 ; 1
40
41
move.d 0xffff,r3
42
add.w 0xffff,r3
43
test_cc 1 0 0 1
44
dumpr3 ; fffe
45
46
move.d 0xfedaffff,r3
47
add.w 0xffff,r3
48
test_cc 1 0 0 1
49
dumpr3 ; fedafffe
50
51
move.d 0x78134452,r3
52
add.w 0xf789,r3
53
test_cc 0 0 0 1
54
dumpr3 ; 78133bdb
55
56
moveq -1,r3
57
add.b 2,r3
58
test_cc 0 0 0 1
59
dumpr3 ; ffffff01
60
61
moveq 2,r3
62
add.b -1,r3
63
test_cc 0 0 0 1
64
dumpr3 ; 1
65
66
move.d 0xff,r3
67
add.b 0xff,r3
68
test_cc 1 0 0 1
69
dumpr3 ; fe
70
71
move.d 0xfeda49ff,r3
72
add.b 0xff,r3
73
test_cc 1 0 0 1
74
dumpr3 ; feda49fe
75
76
move.d 0x78134452,r3
77
add.b 0x89,r3
78
test_cc 1 0 0 0
79
dumpr3 ; 781344db
80
81
quit
This page took
0.030503 seconds
and
4
git commands to generate.