git subrepo pull --force deps/lightrec
[pcsx_rearmed.git] / deps / lightning / check / qalu_div.tst
CommitLineData
4a71579b
PC
1#include "qalu.inc"
2
3.code
4 prolog
5#define QDIV(N, I0, I1, LO, HI) QALU(N, , qdiv, I0, I1, LO, HI)
6#define UQDIV(N, I0, I1, LO, HI) QALU(N, _u, qdiv, I0, I1, LO, HI)
7 QDIV(0, 10, 3, 3, 1)
8 QDIV(1, -33, 9, -3, -6)
9 QDIV(2, -41, -7, 5, -6)
10 QDIV(3, 65536, 4096, 16, 0)
11 UQDIV(4, -1, -2, 1, 1)
12 UQDIV(5, -2, -5, 1, 3)
13 prepare
14 pushargi ok
15 ellipsis
16 finishi @printf
17 ret
18 epilog