diff --git a/src/backend_x64/emit_x64_vector.cpp b/src/backend_x64/emit_x64_vector.cpp index 18136087..928421d6 100644 --- a/src/backend_x64/emit_x64_vector.cpp +++ b/src/backend_x64/emit_x64_vector.cpp @@ -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);