mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 00:11:24 +12:00
Remove cpu_translator::ucarry<>
This commit is contained in:
parent
9b4e63df6d
commit
89fe3705a4
1 changed files with 0 additions and 7 deletions
|
@ -966,13 +966,6 @@ public:
|
||||||
return result;
|
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)
|
// Get signed addition overflow into the sign bit (s = a + b)
|
||||||
template <typename T>
|
template <typename T>
|
||||||
static inline auto scarry(T a, T b, T s)
|
static inline auto scarry(T a, T b, T s)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue