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
Automatic date update in version.in
[binutils-gdb.git]
/
sim
/
testsuite
/
cris
/
asm
/
mover.ms
blob
41a64749151af1315260db3870180d2aa13fdc29
1
# mach: crisv3 crisv8 crisv10 crisv32
2
# output: ffffff05\nffff0005\n5\nffffff00\n
3
4
; Move between registers. Check that just the subreg is copied.
5
6
.include "testutils.inc"
7
startnostack
8
moveq -30,r3
9
moveq 5,r4
10
move.b r4,r3
11
test_move_cc 0 0 0 0
12
dumpr3
13
14
move.w r4,r3
15
test_move_cc 0 0 0 0
16
dumpr3
17
18
move.d r4,r3
19
test_move_cc 0 0 0 0
20
dumpr3
21
22
moveq -1,r3
23
moveq 0,r4
24
move.b r4,r3
25
test_move_cc 0 1 0 0
26
dumpr3
27
28
quit
29