diff options
author | James Almer <jamrial@gmail.com> | 2017-03-20 19:39:49 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-03-21 19:15:00 -0300 |
commit | d8962ffbd8aaf9485d06eec045b022ba9c39692b (patch) | |
tree | b5c1ed96732f96b7ac97a683d2849a2a5517d5a1 | |
parent | fc9f14c7de5bff05bab6f7b258ca70b777ce04ed (diff) | |
download | ffmpeg-d8962ffbd8aaf9485d06eec045b022ba9c39692b.tar.gz |
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>
-rw-r--r-- | libavutil/x86/x86util.asm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/x86/x86util.asm b/libavutil/x86/x86util.asm index de7d2d11c1..fe9a727e22 100644 --- a/libavutil/x86/x86util.asm +++ b/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 |