diff options
author | Hal Finkel <hfinkel@anl.gov> | 2012-06-18 21:08:18 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2012-06-18 21:08:18 +0000 |
commit | e877c4f9c7b4e4142f33a29e6cd1a07262525a12 (patch) | |
tree | ecbb5ae6ebaa572c5715be2b35512d9921317c74 /utils | |
parent | 0ed5cf4fc1f6d7947687114c9d0cbe0d1ba1d883 (diff) | |
download | external_llvm-e877c4f9c7b4e4142f33a29e6cd1a07262525a12.zip external_llvm-e877c4f9c7b4e4142f33a29e6cd1a07262525a12.tar.gz external_llvm-e877c4f9c7b4e4142f33a29e6cd1a07262525a12.tar.bz2 |
Allow up to 64 functional units per processor itinerary.
This patch changes the type used to hold the FU bitset from unsigned to uint64_t.
This will be needed for some upcoming PowerPC itineraries.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158679 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r-- | utils/TableGen/SubtargetEmitter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/TableGen/SubtargetEmitter.cpp b/utils/TableGen/SubtargetEmitter.cpp index 1b871a8..870b8ad 100644 --- a/utils/TableGen/SubtargetEmitter.cpp +++ b/utils/TableGen/SubtargetEmitter.cpp @@ -379,8 +379,8 @@ void SubtargetEmitter::EmitStageAndOperandCycleData(raw_ostream &OS, << "namespace " << Name << "FU {\n"; for (unsigned j = 0, FUN = FUs.size(); j < FUN; ++j) - OS << " const unsigned " << FUs[j]->getName() - << " = 1 << " << j << ";\n"; + OS << " const uint64_t " << FUs[j]->getName() + << " = 1ULL << " << j << ";\n"; OS << "}\n"; |