aboutsummaryrefslogtreecommitdiff
path: root/tests/ldxr_u32.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ldxr_u32.c')
-rw-r--r--tests/ldxr_u32.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/ldxr_u32.c b/tests/ldxr_u32.c
index d4d9489..7a42307 100644
--- a/tests/ldxr_u32.c
+++ b/tests/ldxr_u32.c
@@ -17,12 +17,12 @@ int main(int argc, char *argv[])
ejit_ldxr_u32(f, EJIT_GPR(0), EJIT_GPR(0), EJIT_GPR(1));
ejit_retr(f, EJIT_GPR(0));
- ejit_select_compile_func(f, 2, 0, false, do_jit);
+ ejit_select_compile_func(f, 2, 0, true, do_jit);
- assert(erf2(f, EJIT_ARG(data, void *),
- EJIT_ARG(0, unsigned)) == 0xffffffff);
- assert(erf2(f, EJIT_ARG(data, void *), EJIT_ARG(4, unsigned)) == 0);
- assert(erf2(f, EJIT_ARG(data, void *),
+ assert(erfi2(f, EJIT_ARG(data, void *),
+ EJIT_ARG(0, unsigned)) == (long)0xffffffff);
+ assert(erfi2(f, EJIT_ARG(data, void *), EJIT_ARG(4, unsigned)) == 0);
+ assert(erfi2(f, EJIT_ARG(data, void *),
EJIT_ARG(8, unsigned)) == 0x42424242);
ejit_destroy_func(f);