aboutsummaryrefslogtreecommitdiff
path: root/tests/escapei_double.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2025-03-14 21:08:01 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2025-03-14 21:08:01 +0200
commitf5c729ea59d227a507f83bd94d07f4366b46d72b (patch)
tree70d1f242100cea09acd38a71ff8c821836117cfd /tests/escapei_double.c
parent57f6b41047e95374701ee276248f0f8615168450 (diff)
downloadejit-f5c729ea59d227a507f83bd94d07f4366b46d72b.tar.gz
ejit-f5c729ea59d227a507f83bd94d07f4366b46d72b.zip
start supporting 32bit arches
Diffstat (limited to 'tests/escapei_double.c')
-rw-r--r--tests/escapei_double.c4
1 files changed, 2 insertions, 2 deletions
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);
}