Browse Source

Really, I can count!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27743 91177308-0d34-0410-b5e6-96231b3b80d8
Chris Lattner 19 năm trước cách đây
mục cha
commit
195d8adac9

+ 1 - 1
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
     // Encode this as 2 bits of saturated cost, 4 bits of opcodes, 13 bits of
     // LHS, and 13 bits of RHS = 32 bits.
     // 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// ";
     std::cout << "  " << Val << "U,\t// ";
     PrintMask(i, std::cout);
     PrintMask(i, std::cout);