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
25a0204203
commit
6278f83560
@ -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…
x
Reference in New Issue
Block a user