diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2007-09-25 20:07:06 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2007-09-25 20:07:06 -0700 |
commit | 25b48746642a0b5df15bdf193272a155ca7c9422 (patch) | |
tree | 45719930e8b8bc1a03d3495b99b494effab9a1cd /src | |
parent | 8d53fea21004af9dc51c68643bf5714904da2e72 (diff) | |
download | gem5-25b48746642a0b5df15bdf193272a155ca7c9422.tar.xz |
Condition Codes: Fix type error.
--HG--
extra : convert_revision : 99f6c232cc421c6f741a8a11c029285e599eb183
Diffstat (limited to 'src')
-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 efff12dc8..98defdb70 100644 --- 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)) & (1ULL << shift); } /** |