Commit c48bb8b0 by Nicolas Capens Committed by Jim Stichnoth

Fix swizzle of second vector.

Change-Id: I6ad399f250a49ae5e1c49f3afafbab7ca58fb81b Reviewed-on: https://chromium-review.googlesource.com/435715Reviewed-by: 's avatarJim Stichnoth <stichnot@chromium.org>
parent 59b0dad7
...@@ -6203,10 +6203,10 @@ void TargetX86Base<TraitsType>::lowerShuffleVector_UsingPshufb( ...@@ -6203,10 +6203,10 @@ void TargetX86Base<TraitsType>::lowerShuffleVector_UsingPshufb(
_pshufb(T0, Mask0M); _pshufb(T0, Mask0M);
if (Idx0 > 16 || Idx1 > 16 || Idx2 > 16 || Idx3 > 16 || Idx4 > 16 || if (Idx0 >= 16 || Idx1 >= 16 || Idx2 >= 16 || Idx3 >= 16 || Idx4 >= 16 ||
Idx5 > 16 || Idx6 > 16 || Idx7 > 16 || Idx8 > 16 || Idx9 > 16 || Idx5 >= 16 || Idx6 >= 16 || Idx7 >= 16 || Idx8 >= 16 || Idx9 >= 16 ||
Idx10 > 16 || Idx11 > 16 || Idx12 > 16 || Idx13 > 16 || Idx14 > 16 || Idx10 >= 16 || Idx11 >= 16 || Idx12 >= 16 || Idx13 >= 16 || Idx14 >= 16 ||
Idx15 > 16) { Idx15 >= 16) {
auto *Mask1M = X86OperandMem::create( auto *Mask1M = X86OperandMem::create(
Func, MaskType, NoBase, Func, MaskType, NoBase,
lowerShuffleVector_CreatePshufbMask( lowerShuffleVector_CreatePshufbMask(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment