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
/
andq.ms
blob
e515b3e0e3a7ce4c2577aa589f5c5080f9b1efbf
1
# mach: crisv0 crisv3 crisv8 crisv10 crisv32
2
# output: 2\n2\nffff\nffffffff\n1f\nffffffe0\n78134452\n0\n
3
4
.include "testutils.inc"
5
start
6
moveq -1,r3
7
andq 2,r3
8
test_move_cc 0 0 0 0
9
dumpr3 ; 2
10
11
moveq 2,r3
12
andq -1,r3
13
test_move_cc 0 0 0 0
14
dumpr3 ; 2
15
16
move.d 0xffff,r3
17
andq -1,r3
18
test_move_cc 0 0 0 0
19
dumpr3 ; ffff
20
21
moveq -1,r3
22
andq -1,r3
23
test_move_cc 1 0 0 0
24
dumpr3 ; ffffffff
25
26
moveq -1,r3
27
andq 31,r3
28
test_move_cc 0 0 0 0
29
dumpr3 ; 1f
30
31
moveq -1,r3
32
andq -32,r3
33
test_move_cc 1 0 0 0
34
dumpr3 ; ffffffe0
35
36
move.d 0x78134457,r3
37
andq -14,r3
38
test_move_cc 0 0 0 0
39
dumpr3 ; 78134452
40
41
moveq 0,r3
42
andq -14,r3
43
test_move_cc 0 1 0 0
44
dumpr3 ; 0
45
46
quit