From cf2459d4cab72e3e0072fdf76ca2f5d8f9593f78 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sun, 14 Jul 2024 16:15:37 +0300 Subject: jit tests pass (kind of) on x86_64 --- tests/beqr_f.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'tests/beqr_f.c') diff --git a/tests/beqr_f.c b/tests/beqr_f.c index 00bd84c..9444284 100644 --- a/tests/beqr_f.c +++ b/tests/beqr_f.c @@ -24,28 +24,28 @@ int main(int argc, char *argv[]) ejit_select_compile_func(f, 0, 2, EJIT_USE64(float), do_jit); assert(erf2(f, EJIT_ARG(0, float), EJIT_ARG(0, float) - ) == 1); + ) == 1); assert(erf2(f, EJIT_ARG(0, float), EJIT_ARG(1, float) - ) == 0); + ) == 0); assert(erf2(f, EJIT_ARG(1, float), EJIT_ARG(0, float) - ) == 0); + ) == 0); assert(erf2(f, EJIT_ARG(-1, float), EJIT_ARG(0, float) - ) == 0); + ) == 0); assert(erf2(f, EJIT_ARG(0, float), EJIT_ARG(-1, float) - ) == 0); + ) == 0); assert(erf2(f, EJIT_ARG(1, float), EJIT_ARG(1, float) - ) == 1); + ) == 1); assert(erf2(f, EJIT_ARG(0, float), EJIT_ARG(0.0/0.0, float) - ) == 0); + ) == 0); assert(erf2(f, EJIT_ARG(0.0/0.0, float), EJIT_ARG(0, float) - ) == 0); + ) == 0); ejit_destroy_func(f); } -- cgit v1.2.3