summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit3dcfef631069d80f465f791169d5c07f87c40876 (patch)
tree82027d44ca79f1ef7c8bab70c89b534901682c21 /llvm/utils
parent311b1a6e2331ead2dbfd0290fbce7fb56750ee50 (diff)
downloadbcm5719-llvm-3dcfef631069d80f465f791169d5c07f87c40876.tar.gz
bcm5719-llvm-3dcfef631069d80f465f791169d5c07f87c40876.zip
Really, I can count!
llvm-svn: 27743
Diffstat (limited to 'llvm/utils')
-rw-r--r--llvm/utils/PerfectShuffle/PerfectShuffle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/PerfectShuffle/PerfectShuffle.cpp b/llvm/utils/PerfectShuffle/PerfectShuffle.cpp
index c2c5bfcd8c8..c2abe9b6116 100644
--- a/llvm/utils/PerfectShuffle/PerfectShuffle.cpp
+++ b/llvm/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);
OpenPOWER on IntegriCloud