diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2012-05-11 22:32:08 +0200 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2012-05-29 15:29:46 +0200 |
commit | 4a301706fd682d3ad43b4239542e6f586ae29811 (patch) | |
tree | 57c7172baff97920887ed3eb0f2250995eb973f6 | |
parent | bac0729d9e1dcd4efc63637c7832c8bb013d4284 (diff) | |
download | ffmpeg-streaming-4a301706fd682d3ad43b4239542e6f586ae29811.zip ffmpeg-streaming-4a301706fd682d3ad43b4239542e6f586ae29811.tar.gz |
x86: Avoid movs on BUTTERFLYPS when in AVX mode
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
-rw-r--r-- | libavutil/x86/x86util.asm | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/libavutil/x86/x86util.asm b/libavutil/x86/x86util.asm index 508f24e..066384b 100644 --- a/libavutil/x86/x86util.asm +++ b/libavutil/x86/x86util.asm @@ -84,13 +84,12 @@ %macro TRANSPOSE4x4PS 5 SBUTTERFLYPS %1, %2, %5 SBUTTERFLYPS %3, %4, %5 - movaps m%5, m%1 - movlhps m%1, m%3 - movhlps m%3, m%5 - movaps m%5, m%2 - movlhps m%2, m%4 - movhlps m%4, m%5 - SWAP %2, %3 + movlhps m%5, m%1, m%3 + movhlps m%3, m%1 + SWAP %5, %1 + movlhps m%5, m%2, m%4 + movhlps m%4, m%2 + SWAP %5, %2, %3 %endmacro %macro TRANSPOSE8x8W 9-11 |