blob: fdaf57331b1082448165532b4a7572468ec68da9 [file] [log] [blame]
Max Filippov7d890b42011-09-06 03:55:57 +04001.include "macros.inc"
2
3test_suite mul32
4
5test mull
6 movi a2, 0x137f5a5a
7 mov a3, a2
8 movi a4, 0xa5a5137f
9 movi a6, 0x5de480a6
10 mull a5, a2, a4
11 assert eq, a5, a6
12 mull a2, a2, a4
13 assert eq, a2, a6
14 mull a3, a4, a3
15 assert eq, a3, a6
16test_end
17
18/* unfortunately dc232b doesn't have muluh/mulsh*/
19
20test_suite_end