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
/
lz.ms
blob
8a4bb3c45fcfa15cbf55e4378c0c5128a555a1a0
1
# mach: crisv0 crisv3 crisv8 crisv10 crisv32
2
# output: 0\n20\n0\n1\n1\n1a\n1f\n10\n1e\n
3
4
.include "testutils.inc"
5
start
6
moveq -1,r3
7
8
lz r3,r3
9
test_move_cc 0 1 0 0
10
dumpr3 ; 0
11
12
moveq 0,r3
13
lz r3,r3
14
test_move_cc 0 0 0 0
15
dumpr3 ; 20
16
17
move.d 0x80000000,r4
18
lz r4,r3
19
test_move_cc 0 1 0 0
20
dumpr3 ; 0
21
22
move.d 0x40000000,r4
23
lz r4,r3
24
test_move_cc 0 0 0 0
25
dumpr3 ; 1
26
27
move.d 0x7fffffff,r4
28
lz r4,r3
29
test_move_cc 0 0 0 0
30
dumpr3 ; 1
31
32
move.d 42,r3
33
lz r3,r3
34
test_move_cc 0 0 0 0
35
dumpr3 ; 1a
36
37
moveq 1,r6
38
lz r6,r3
39
test_move_cc 0 0 0 0
40
dumpr3 ; 1f
41
42
move.d 0xffff,r3
43
lz r3,r3
44
test_move_cc 0 0 0 0
45
dumpr3 ; 10
46
47
moveq 2,r5
48
lz r5,r3
49
test_move_cc 0 0 0 0
50
dumpr3 ; 1e
51
52
quit