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
/
mulv10.ms
blob
43511f7ad9b69501826d15f5d66e04bed1e9a27d
1
# mach: crisv8 crisv10
2
# output: fffffffe\n
3
# output: ffffffff\n
4
# output: fffffffe\n
5
# output: 1\n
6
7
; Check that carry is cleared on v8, v10.
8
9
.include "testutils.inc"
10
start
11
moveq -1,r3
12
moveq 2,r4
13
setf c
14
muls.d r4,r3
15
test_cc 1 0 0 0
16
dumpr3 ; fffffffe
17
move mof,r3
18
dumpr3 ; ffffffff
19
20
moveq -1,r3
21
moveq 2,r4
22
setf c
23
mulu.d r4,r3
24
test_cc 0 0 1 0
25
dumpr3 ; fffffffe
26
move mof,r3
27
dumpr3 ; 1
28
29
quit