diff options
author | notaz | 2011-10-19 01:58:04 +0300 |
---|---|---|
committer | notaz | 2011-10-30 23:48:07 +0200 |
commit | 82ed88ebe25a0312aab83623b5a983bd96f3d830 (patch) | |
tree | 80a19f77d63f4683345464f2df8bd3f8ecbe17ec /libpcsxcore/new_dynarec/assem_arm.c | |
parent | 054175e91a93116649ea1802790cb842516a85dc (diff) | |
download | pcsx_rearmed-82ed88ebe25a0312aab83623b5a983bd96f3d830.tar.gz pcsx_rearmed-82ed88ebe25a0312aab83623b5a983bd96f3d830.tar.bz2 pcsx_rearmed-82ed88ebe25a0312aab83623b5a983bd96f3d830.zip |
pcnt: measure gte too
Diffstat (limited to 'libpcsxcore/new_dynarec/assem_arm.c')
-rw-r--r-- | libpcsxcore/new_dynarec/assem_arm.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libpcsxcore/new_dynarec/assem_arm.c b/libpcsxcore/new_dynarec/assem_arm.c index d0d43f4..ddbfafa 100644 --- a/libpcsxcore/new_dynarec/assem_arm.c +++ b/libpcsxcore/new_dynarec/assem_arm.c @@ -4410,11 +4410,19 @@ void cop2_assemble(int i,struct regstat *i_regs) static void c2op_prologue(u_int op,u_int reglist) { save_regs_all(reglist); +#ifdef PCNT + emit_movimm(op,0); + emit_call((int)pcnt_gte_start); +#endif emit_addimm(FP,(int)&psxRegs.CP2D.r[0]-(int)&dynarec_local,0); // cop2 regs } static void c2op_epilogue(u_int op,u_int reglist) { +#ifdef PCNT + emit_movimm(op,0); + emit_call((int)pcnt_gte_end); +#endif restore_regs_all(reglist); } |