From 4a71579b757d3a2eb6902c84391f429838ad4912 Mon Sep 17 00:00:00 2001 From: Paul Cercueil Date: Thu, 30 Jan 2020 12:33:44 -0300 Subject: git subrepo clone https://git.savannah.gnu.org/git/lightning.git deps/lightning subrepo: subdir: "deps/lightning" merged: "b0b8eb5" upstream: origin: "https://git.savannah.gnu.org/git/lightning.git" branch: "master" commit: "b0b8eb5" git-subrepo: version: "0.4.1" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "a04d8c2" --- deps/lightning/check/qalu_div.tst | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 deps/lightning/check/qalu_div.tst (limited to 'deps/lightning/check/qalu_div.tst') diff --git a/deps/lightning/check/qalu_div.tst b/deps/lightning/check/qalu_div.tst new file mode 100644 index 0000000..198dfbb --- /dev/null +++ b/deps/lightning/check/qalu_div.tst @@ -0,0 +1,18 @@ +#include "qalu.inc" + +.code + prolog +#define QDIV(N, I0, I1, LO, HI) QALU(N, , qdiv, I0, I1, LO, HI) +#define UQDIV(N, I0, I1, LO, HI) QALU(N, _u, qdiv, I0, I1, LO, HI) + QDIV(0, 10, 3, 3, 1) + QDIV(1, -33, 9, -3, -6) + QDIV(2, -41, -7, 5, -6) + QDIV(3, 65536, 4096, 16, 0) + UQDIV(4, -1, -2, 1, 1) + UQDIV(5, -2, -5, 1, 3) + prepare + pushargi ok + ellipsis + finishi @printf + ret + epilog -- cgit v1.2.3