xref: /openbmc/qemu/tests/tcg/hexagon/test_mpyi.S (revision 79807f3e6bf1186c684312d4e7fb426b2643bade)
1/* Purpose: test a simple multiplication operation */
2
3    .text
4    .globl _start
5
6_start:
7    {
8        r1 = #4
9        r2 = #6
10    }
11    {
12        r3 = mpyi(r1, r2)
13    }
14    {
15        p0 = cmp.eq(r3, #24); if (p0.new) jump:t pass
16        jump fail
17    }
18