Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #746 from FioraAeterna/fastermtcrf
Improve performance of CR functions in JIT64
  • Loading branch information
dolphin-emu-bot committed Aug 19, 2014
2 parents 7246ea9 + 1cb50c9 commit 961c1db
Show file tree
Hide file tree
Showing 2 changed files with 101 additions and 198 deletions.
4 changes: 2 additions & 2 deletions Source/Core/Core/PowerPC/Jit64/Jit.h
Expand Up @@ -105,8 +105,8 @@ class Jit64 : public Jitx86Base

// Reads a given bit of a given CR register part. Clobbers ABI_PARAM1,
// don't forget to xlock it before.
void GetCRFieldBit(int field, int bit, Gen::X64Reg out);
// Clobbers ABI_PARAM1 and ABI_PARAM2, xlock them before.
void GetCRFieldBit(int field, int bit, Gen::X64Reg out, bool negate = false);
// Clobbers ABI_PARAM1, xlock it before.
void SetCRFieldBit(int field, int bit, Gen::X64Reg in);

// Generates a branch that will check if a given bit of a CR register part
Expand Down

0 comments on commit 961c1db

Please sign in to comment.