Bug fix. Now works on 32-bit and with -O3.
git-svn-id: http://www.cdkersey.com/harp/harptool@120 0246edb2-e076-4747-b392-db732a341fa2
This commit is contained in:
@@ -240,7 +240,7 @@ static unsigned ceilLog2(RegNum x) {
|
||||
}
|
||||
|
||||
static Word mask(Size bits) {
|
||||
return (1l<<bits)-1;
|
||||
return (1ull<<bits)-1;
|
||||
}
|
||||
|
||||
static void getSizes(const ArchDef &arch, Size &n, Size& o, Size &r, Size &p,
|
||||
|
||||
Reference in New Issue
Block a user