BufferUtils: fix regression on AVX path

primitive_restart_impl::upload_untouched was broken.
Bug in vec_broadcast_gpr on AVX path.
This commit is contained in:
Nekotekina 2022-09-24 16:07:56 +03:00 committed by Ivan
parent dd8a337b14
commit a604394b20

View File

@ -544,7 +544,7 @@ void asmjit::simd_builder::vec_broadcast_gpr(u32 esize, const Operand& v, const
this->emit(x86::Inst::kIdVpbroadcastw, v, v);
else
{
this->emit(x86::Inst::kIdVpunpcklwd, v, v);
this->emit(x86::Inst::kIdVpunpcklwd, v, v, v);
this->emit(x86::Inst::kIdVpshufd, v, v, Imm(0));
}
}