projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d53fea
)
Condition Codes: Fix type error.
author
Gabe Black
<gblack@eecs.umich.edu>
Wed, 26 Sep 2007 03:07:06 +0000
(20:07 -0700)
committer
Gabe Black
<gblack@eecs.umich.edu>
Wed, 26 Sep 2007 03:07:06 +0000
(20:07 -0700)
--HG--
extra : convert_revision :
99f6c232cc421c6f741a8a11c029285e599eb183
src/base/condcodes.hh
patch
|
blob
|
history
diff --git
a/src/base/condcodes.hh
b/src/base/condcodes.hh
index efff12dc8cab2581bc3fa3c4497025162958f390..98defdb705029e7c59777ef9f0e996ee1cc9c0ea 100644
(file)
--- a/
src/base/condcodes.hh
+++ b/
src/base/condcodes.hh
@@
-54,7
+54,7
@@
inline
bool
findOverflow(int width, uint64_t dest, uint64_t src1, uint64_t src2) {
int shift = width - 1;
- return ((src1 ^ ~src2) & (src1 ^ dest)) & (1 << shift);
+ return ((src1 ^ ~src2) & (src1 ^ dest)) & (1
ULL
<< shift);
}
/**