emit_x64_vector: Fix typo in VectorShuffleImpl
This is supposed to be pshufd, not pshufw (which only allows a 64-bit operand)
This commit is contained in:
parent
586b00d11d
commit
b8d5765f9b
1 changed files with 1 additions and 1 deletions
|
@ -1156,7 +1156,7 @@ static void VectorShuffleImpl(ShuffleType type, EmitContext& ctx, IR::Inst* inst
|
|||
} else if (type == ShuffleType::HighHalfwords) {
|
||||
code.pshufhw(result, operand, mask);
|
||||
} else {
|
||||
code.pshufw(result, operand, mask);
|
||||
code.pshufd(result, operand, mask);
|
||||
}
|
||||
|
||||
ctx.reg_alloc.DefineValue(inst, result);
|
||||
|
|
Loading…
Reference in a new issue