Browse Source

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>
tags/n3.3
James Almer 9 years ago
parent
commit
d8962ffbd8
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavutil/x86/x86util.asm

+ 2
- 0
libavutil/x86/x86util.asm 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


Loading…
Cancel
Save