diff options
Diffstat (limited to 'src/base/condcodes.hh')
-rw-r--r-- | src/base/condcodes.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/condcodes.hh b/src/base/condcodes.hh index 98defdb70..986e8d310 100644 --- a/src/base/condcodes.hh +++ b/src/base/condcodes.hh @@ -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); |