Skip to content

Commit

Permalink
Remove cpu_translator::ucarry<>
Browse files Browse the repository at this point in the history
  • Loading branch information
Nekotekina committed Jul 21, 2018
1 parent 9b4e63d commit 89fe370
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions rpcs3/Emu/CPU/CPUTranslator.h
Expand Up @@ -966,13 +966,6 @@ class cpu_translator
return result;
}

// Get unsigned addition carry into the sign bit (s = a + b)
template <typename T>
static inline auto ucarry(T a, T b, T s)
{
return ((a ^ b) & ~s) | (a & b);
}

// Get signed addition overflow into the sign bit (s = a + b)
template <typename T>
static inline auto scarry(T a, T b, T s)
Expand Down

0 comments on commit 89fe370

Please sign in to comment.