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/extr_16.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tests/extr_16.c') diff --git a/tests/extr_16.c b/tests/extr_16.c index 1d98e0f..412cba9 100644 --- a/tests/extr_16.c +++ b/tests/extr_16.c @@ -15,12 +15,12 @@ int main(int argc, char *argv[]) ejit_select_compile_func(f, 2, 0, EJIT_USE64(long), do_jit); - assert(erf1(f, EJIT_ARG(0, long)) == 0); - assert(erf1(f, EJIT_ARG(1, long)) == 1); - assert(erf1(f, EJIT_ARG(0xfff, long)) == 0xfff); - assert(erf1(f, EJIT_ARG(0xffff, long)) == -1); - assert(erf1(f, EJIT_ARG(0xfffff, long)) == -1); - assert(erf1(f, EJIT_ARG(0xf0000, long)) == 0); + assert(erfi1(f, EJIT_ARG(0, long)) == 0); + assert(erfi1(f, EJIT_ARG(1, long)) == 1); + assert(erfi1(f, EJIT_ARG(0xfff, long)) == 0xfff); + assert(erfi1(f, EJIT_ARG(0xffff, long)) == -1); + assert(erfi1(f, EJIT_ARG(0xfffff, long)) == -1); + assert(erfi1(f, EJIT_ARG(0xf0000, long)) == 0); ejit_destroy_func(f); } -- cgit v1.2.3