mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-12-21 18:29:57 +00:00
Correct a couple of merge issues.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
parent
c8dd6e7267
commit
637c0c68fa
@ -61,7 +61,7 @@ inline int EightBit::findFirstSet(int value) {
|
||||
# define LIKELY(x) __builtin_expect(!!(x), 1)
|
||||
# define UNLIKELY(x) __builtin_expect(!!(x), 0)
|
||||
|
||||
# define EIGHTBIT_PARITY(x) __builtin_parity(x)
|
||||
# define PARITY(x) __builtin_parity(x)
|
||||
|
||||
# define UNREACHABLE __builtin_unreachable();
|
||||
|
||||
|
@ -69,7 +69,7 @@ namespace EightBit {
|
||||
}
|
||||
|
||||
template<class T> static void adjustParity(uint8_t& f, uint8_t value) {
|
||||
clearFlag(f, T::PF, EIGHTBIT_PARITY(value));
|
||||
clearFlag(f, T::PF, PARITY(value));
|
||||
}
|
||||
|
||||
template<class T> static void adjustSZ(uint8_t& f, uint8_t value) {
|
||||
|
Loading…
Reference in New Issue
Block a user