Permalink
Browse files

new_dynarec: Added missing emitter "emit_umlal"

  • Loading branch information...
Gillou68310 committed Jan 19, 2015
1 parent 7088aab commit fc16ce2a566df5e12f1414470a0f390f816a1125
Showing with 9 additions and 0 deletions.
  1. +9 −0 jni/mupen64plus-core/src/r4300/new_dynarec/assem_arm.c
@@ -2055,6 +2055,15 @@ static void emit_umull(u_int rs1, u_int rs2, u_int hi, u_int lo)
assert(lo<16);
output_w32(0xe0800090|(hi<<16)|(lo<<12)|(rs2<<8)|rs1);
}
static void emit_umlal(u_int rs1, u_int rs2, u_int hi, u_int lo)
{
assem_debug("umlal %s, %s, %s, %s",regname[lo],regname[hi],regname[rs1],regname[rs2]);
assert(rs1<16);
assert(rs2<16);
assert(hi<16);
assert(lo<16);
output_w32(0xe0a00090|(hi<<16)|(lo<<12)|(rs2<<8)|rs1);
}
static void emit_smull(u_int rs1, u_int rs2, u_int hi, u_int lo)
{
assem_debug("smull %s, %s, %s, %s",regname[lo],regname[hi],regname[rs1],regname[rs2]);

0 comments on commit fc16ce2

Please sign in to comment.