avutil/x86util: don't use movss in VBROADCASTSS macro when src and dst args are the same

Reviewed-by: Henrik Gramner <henrik@gramner.com>
Signed-off-by: James Almer <jamrial@gmail.com>
pull/244/merge
James Almer 8 years ago
parent fc9f14c7de
commit d8962ffbd8
  1. 2
      libavutil/x86/x86util.asm

@ -833,7 +833,9 @@
%if cpuflag(avx)
vbroadcastss %1, %2
%else ; sse
%ifnidn %1, %2
movss %1, %2
%endif
shufps %1, %1, 0
%endif
%endmacro

Loading…
Cancel
Save