summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-04-17 05:05:52 +0000
committerChris Lattner <sabre@nondot.org>2006-04-17 05:05:52 +0000
commit195d8adac9600e90f2c2dbd9e44f62616b10df7d (patch)
tree86ae37624c42e35e8ed5afcb5532b1985f4ae64b /utils
parentc74e7100007ed830af146afe7194b08764a38ee7 (diff)
downloadllvm-195d8adac9600e90f2c2dbd9e44f62616b10df7d.tar.gz
llvm-195d8adac9600e90f2c2dbd9e44f62616b10df7d.tar.bz2
llvm-195d8adac9600e90f2c2dbd9e44f62616b10df7d.tar.xz
Really, I can count!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27743 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/PerfectShuffle/PerfectShuffle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/PerfectShuffle/PerfectShuffle.cpp b/utils/PerfectShuffle/PerfectShuffle.cpp
index c2c5bfcd8c..c2abe9b611 100644
--- a/utils/PerfectShuffle/PerfectShuffle.cpp
+++ b/utils/PerfectShuffle/PerfectShuffle.cpp
@@ -391,7 +391,7 @@ int main() {
// Encode this as 2 bits of saturated cost, 4 bits of opcodes, 13 bits of
// LHS, and 13 bits of RHS = 32 bits.
- unsigned Val = (CostSat << 30) | (OpNum << 27) | (LHS << 13) | RHS;
+ unsigned Val = (CostSat << 30) | (OpNum << 26) | (LHS << 13) | RHS;
std::cout << " " << Val << "U,\t// ";
PrintMask(i, std::cout);