Condition Codes: Fix the findParity function.

--HG--
extra : convert_revision : 37520ed12f55f6b8d9daedca9947eaa2eb8d7cc7
This commit is contained in:
Gabe Black 2007-09-25 20:26:10 -07:00
parent 2dd65dc254
commit 58c448ced5

View file

@ -63,7 +63,7 @@ findOverflow(int width, uint64_t dest, uint64_t src1, uint64_t src2) {
inline
bool
findParity(int width, uint64_t dest) {
dest &= width;
dest &= mask(width);
dest ^= (dest >> 32);
dest ^= (dest >> 16);
dest ^= (dest >> 8);