https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110788

--- Comment #4 from Hongtao.liu <crazylht at gmail dot com> ---

>         kmovw   %edx, %k0
>         vpbroadcastmw2d %k0, %xmm1
> 
> instead of
> 
>         vpbroadcastw    %edx, %xmm1
> 

It's not vpbroadcastw, it's
   movzwl  %dx, %ecx
   vpbroadcastd    %ecx, %xmm0.

And non-kmask version should be better.

Reply via email to