From f5c729ea59d227a507f83bd94d07f4366b46d72b Mon Sep 17 00:00:00 2001 From: Kimplul Date: Fri, 14 Mar 2025 21:08:01 +0200 Subject: start supporting 32bit arches --- tests/escapei_double.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/escapei_double.c') diff --git a/tests/escapei_double.c b/tests/escapei_double.c index 7eb9a27..8406490 100644 --- a/tests/escapei_double.c +++ b/tests/escapei_double.c @@ -33,7 +33,7 @@ int main(int argc, char *argv[]) EJIT_OPERAND_GPR(0, EJIT_INT32), EJIT_OPERAND_FPR(0, EJIT_DOUBLE) }; - ejit_escapei_f(f, escape_func, 2, args); + ejit_escapei_d(f, escape_func, 2, args); ejit_retval_d(f, EJIT_FPR(0)); ejit_retr_d(f, EJIT_FPR(0)); @@ -41,7 +41,7 @@ int main(int argc, char *argv[]) double d = 22.0f; int32_t i = 20; - assert(erff2(f, EJIT_ARG(&i, void *), EJIT_ARG(&d, void *)) == 42.0f); + assert(erfd2(f, EJIT_ARG(&i, void *), EJIT_ARG(&d, void *)) == 42.0f); ejit_destroy_func(f); } -- cgit v1.2.3