xref: /openbmc/qemu/tests/tcg/xtensa/test_mul32.S (revision 2e1cacfb)
1#include "macros.inc"
2
3test_suite mul32
4
5#if XCHAL_HAVE_MUL32
6
7test 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
18test_end
19
20#endif
21
22/* unfortunately dc232b doesn't have muluh/mulsh*/
23
24test_suite_end
25