From 25b48746642a0b5df15bdf193272a155ca7c9422 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 25 Sep 2007 20:07:06 -0700 Subject: [PATCH] Condition Codes: Fix type error. --HG-- extra : convert_revision : 99f6c232cc421c6f741a8a11c029285e599eb183 --- src/base/condcodes.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } /** -- 2.30.2