projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c74e710
)
Really, I can count!
author
Chris Lattner
<sabre@nondot.org>
Mon, 17 Apr 2006 05:05:52 +0000
(
05:05
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 17 Apr 2006 05:05:52 +0000
(
05:05
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27743
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/PerfectShuffle/PerfectShuffle.cpp
patch
|
blob
|
history
diff --git
a/utils/PerfectShuffle/PerfectShuffle.cpp
b/utils/PerfectShuffle/PerfectShuffle.cpp
index c2c5bfcd8c8468e8e68320688010e94c0a45e1d4..c2abe9b6116f305d07e2f1a01f748549e80431ea 100644
(file)
--- 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 << 2
7
) | (LHS << 13) | RHS;
+ unsigned Val = (CostSat << 30) | (OpNum << 2
6
) | (LHS << 13) | RHS;
std::cout << " " << Val << "U,\t// ";
PrintMask(i, std::cout);