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/ldxr_u16.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/ldxr_u16.c') diff --git a/tests/ldxr_u16.c b/tests/ldxr_u16.c index e8f517f..430635a 100644 --- a/tests/ldxr_u16.c +++ b/tests/ldxr_u16.c @@ -19,10 +19,10 @@ int main(int argc, char *argv[]) ejit_select_compile_func(f, 2, 0, false, do_jit); - assert(erf2(f, EJIT_ARG(data, void *), + assert(erfi2(f, EJIT_ARG(data, void *), EJIT_ARG(0, unsigned)) == 0xffff); - assert(erf2(f, EJIT_ARG(data, void *), EJIT_ARG(2, unsigned)) == 0); - assert(erf2(f, EJIT_ARG(data, void *), + assert(erfi2(f, EJIT_ARG(data, void *), EJIT_ARG(2, unsigned)) == 0); + assert(erfi2(f, EJIT_ARG(data, void *), EJIT_ARG(4, unsigned)) == 0x4242); ejit_destroy_func(f); -- cgit v1.2.3