Remove cpu_translator::ucarry<>

This commit is contained in:
Nekotekina 2018-07-09 19:55:32 +03:00
parent 9b4e63df6d
commit 89fe3705a4

View File

@ -966,13 +966,6 @@ public:
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)