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>
This commit is contained in:
James Almer 2017-03-20 19:39:49 -03:00
parent fc9f14c7de
commit d8962ffbd8
1 changed files with 2 additions and 0 deletions

View File

@ -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