aboutsummaryrefslogtreecommitdiff
path: root/tests/andi.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/andi.c
parent57f6b41047e95374701ee276248f0f8615168450 (diff)
downloadejit-f5c729ea59d227a507f83bd94d07f4366b46d72b.tar.gz
ejit-f5c729ea59d227a507f83bd94d07f4366b46d72b.zip
start supporting 32bit arches
Diffstat (limited to 'tests/andi.c')
-rw-r--r--tests/andi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/andi.c b/tests/andi.c
index a587aab..c8fa277 100644
--- a/tests/andi.c
+++ b/tests/andi.c
@@ -17,9 +17,9 @@ int main(int argc, char *argv[])
ejit_select_compile_func(f, 1, 0, EJIT_USE64(long), do_jit);
- assert(ejit_run_func_1(f, EJIT_ARG(0x7fffffff, long)) == 1);
- assert(ejit_run_func_1(f, EJIT_ARG(0x80000000, long)) == 0);
- assert(ejit_run_func_1(f, EJIT_ARG(0x7fffffffffffffff, long)) == 1);
- assert(ejit_run_func_1(f, EJIT_ARG(0x8000000000000000, long)) == 0);
+ assert(erfi1(f, EJIT_ARG(0x7fffffff, long)) == 1);
+ assert(erfi1(f, EJIT_ARG(0x80000000, long)) == 0);
+ assert(erfi1(f, EJIT_ARG(0x7fffffffffffffff, long)) == 1);
+ assert(erfi1(f, EJIT_ARG(0x8000000000000000, long)) == 0);
ejit_destroy_func(f);
}