repo.or.cz
/
qemu
/
ar7.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
hw/intc/apic: fix memory leak
[qemu/ar7.git]
/
tests
/
tcg
/
xtensa
/
test_mul32.S
blob
862d45abcec06167e2bfbc229584a83fac4ed8db
1
#include "macros.inc"
2
3
test_suite mul32
4
5
#if XCHAL_HAVE_MUL32
6
7
test mull
8
movi a2, 0x137f5a5a
9
mov a3, a2
10
movi a4, 0xa5a5137f
11
movi a6, 0x5de480a6
12
mull a5, a2, a4
13
assert eq, a5, a6
14
mull a2, a2, a4
15
assert eq, a2, a6
16
mull a3, a4, a3
17
assert eq, a3, a6
18
test_end
19
20
#endif
21
22
/* unfortunately dc232b doesn't have muluh/mulsh*/
23
24
test_suite_end