projects
/
gem5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove delVirtPort() and make getVirtPort() only return cached version.
[gem5.git]
/
src
/
base
/
condcodes.hh
diff --git
a/src/base/condcodes.hh
b/src/base/condcodes.hh
index 98defdb705029e7c59777ef9f0e996ee1cc9c0ea..986e8d3106730f039de45879cc89321573532478 100644
(file)
--- 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);