jit tweak relevant only for x86_64
svn: r4183
This commit is contained in:
parent
a6e4dfa639
commit
9c553c40d9
|
@ -2483,13 +2483,13 @@ static int generate_arith(mz_jit_state *jitter, Scheme_Object *rator, Scheme_Obj
|
||||||
/* min */
|
/* min */
|
||||||
jit_insn *refc;
|
jit_insn *refc;
|
||||||
refc = jit_blti_l(jit_forward(), JIT_R0, (long)scheme_make_integer(v));
|
refc = jit_blti_l(jit_forward(), JIT_R0, (long)scheme_make_integer(v));
|
||||||
jit_movi_p(JIT_R0, scheme_make_integer(v));
|
jit_movi_l(JIT_R0, (long)scheme_make_integer(v));
|
||||||
mz_patch_branch(refc);
|
mz_patch_branch(refc);
|
||||||
} else if (arith == 10) {
|
} else if (arith == 10) {
|
||||||
/* max */
|
/* max */
|
||||||
jit_insn *refc;
|
jit_insn *refc;
|
||||||
refc = jit_bgti_l(jit_forward(), JIT_R0, (long)scheme_make_integer(v));
|
refc = jit_bgti_l(jit_forward(), JIT_R0, (long)scheme_make_integer(v));
|
||||||
jit_movi_p(JIT_R0, scheme_make_integer(v));
|
jit_movi_l(JIT_R0, (long)scheme_make_integer(v));
|
||||||
mz_patch_branch(refc);
|
mz_patch_branch(refc);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user