diff options
Diffstat (limited to 'utils/PerfectShuffle/PerfectShuffle.cpp')
-rw-r--r-- | utils/PerfectShuffle/PerfectShuffle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/PerfectShuffle/PerfectShuffle.cpp b/utils/PerfectShuffle/PerfectShuffle.cpp index c2c5bfc..c2abe9b 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); |