Skip to content

Commit

Permalink
jit div_I and mod_I.
Browse files Browse the repository at this point in the history
  • Loading branch information
timo committed Aug 27, 2014
1 parent 5c3d596 commit a10dc26
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/jit/graph.c
Expand Up @@ -268,6 +268,8 @@ static void * op_to_func(MVMThreadContext *tc, MVMint16 opcode) {
case MVM_OP_add_I: return &MVM_bigint_add;
case MVM_OP_sub_I: return &MVM_bigint_sub;
case MVM_OP_mul_I: return &MVM_bigint_mul;
case MVM_OP_div_I: return &MVM_bigint_div;
case MVM_OP_mod_I: return &MVM_bigint_mod;
case MVM_OP_lcm_I: return &MVM_bigint_lcm;
case MVM_OP_gcd_I: return &MVM_bigint_gcd;
case MVM_OP_bool_I: return &MVM_bigint_bool;
Expand Down Expand Up @@ -1419,6 +1421,8 @@ static MVMint32 jgb_consume_ins(MVMThreadContext *tc, JitGraphBuilder *jgb,
case MVM_OP_add_I:
case MVM_OP_sub_I:
case MVM_OP_mul_I:
case MVM_OP_div_I:
case MVM_OP_mod_I:
case MVM_OP_lcm_I:
case MVM_OP_gcd_I: {
MVMint16 src_a = ins->operands[1].reg.orig;
Expand Down

0 comments on commit a10dc26

Please sign in to comment.