diff options
author | Paul Cercueil | 2020-01-30 12:33:44 -0300 |
---|---|---|
committer | Paul Cercueil | 2020-02-08 11:44:52 -0300 |
commit | 4a71579b757d3a2eb6902c84391f429838ad4912 (patch) | |
tree | c57430315f1b82497eebd3fef24c0f4c0336bf0d /deps/lightning/check/fop_abs.tst | |
parent | ea884d3029c673e06a4084156ceb662598d8945a (diff) | |
download | pcsx_rearmed-4a71579b757d3a2eb6902c84391f429838ad4912.tar.gz pcsx_rearmed-4a71579b757d3a2eb6902c84391f429838ad4912.tar.bz2 pcsx_rearmed-4a71579b757d3a2eb6902c84391f429838ad4912.zip |
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"
Diffstat (limited to 'deps/lightning/check/fop_abs.tst')
-rw-r--r-- | deps/lightning/check/fop_abs.tst | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/deps/lightning/check/fop_abs.tst b/deps/lightning/check/fop_abs.tst new file mode 100644 index 0000000..cb7be14 --- /dev/null +++ b/deps/lightning/check/fop_abs.tst @@ -0,0 +1,31 @@ +#include "alu.inc" + +.code + prolog +#define ABS(N, T, I, V) FUN(N, T, abs, I, V) +#define UABS(N, T, I, V) UFUN(N, T, abs, I, V) + ABS(0, _f, -0.0, 0.0) + ABS(1, _f, 0.5, 0.5) + ABS(2, _f, -0.5, 0.5) + ABS(3, _f, $Inf, $Inf) + ABS(4, _f, $nInf, $Inf) + ABS(5, _f, 1.25, 1.25) + ABS(6, _f, -1.25, 1.25) + ABS(7, _f, $nInf, $Inf) + UABS(0, _f, $NaN, $NaN) + ABS(0, _d, -0.0, 0.0) + ABS(1, _d, 0.5, 0.5) + ABS(2, _d, -0.5, 0.5) + ABS(3, _d, $Inf, $Inf) + ABS(4, _d, $nInf, $Inf) + ABS(5, _d, 1.25, 1.25) + ABS(6, _d, -1.25, 1.25) + ABS(7, _d, $nInf, $Inf) + UABS(0, _d, $NaN, $NaN) + + prepare + pushargi ok + ellipsis + finishi @printf + ret + epilog |