QEMU main repository: Please see https://www.qemu.org/docs/master/devel/submitting-a-patch.html for how to submit changes to QEMU. Pull Requests are ignored. Please only use release tarballs from the QEMU website. http://www.qemu.org
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
396 B
24 lines
396 B
#include "macros.inc"
|
|
|
|
test_suite mul32
|
|
|
|
#if XCHAL_HAVE_MUL32
|
|
|
|
test mull
|
|
movi a2, 0x137f5a5a
|
|
mov a3, a2
|
|
movi a4, 0xa5a5137f
|
|
movi a6, 0x5de480a6
|
|
mull a5, a2, a4
|
|
assert eq, a5, a6
|
|
mull a2, a2, a4
|
|
assert eq, a2, a6
|
|
mull a3, a4, a3
|
|
assert eq, a3, a6
|
|
test_end
|
|
|
|
#endif
|
|
|
|
/* unfortunately dc232b doesn't have muluh/mulsh*/
|
|
|
|
test_suite_end
|
|
|