x86: Avoid movs on BUTTERFLYPS when in AVX mode

Signed-off-by: Janne Grunau <janne-libav@jannau.net>
pull/59/head
Vitor Sessak 13 years ago committed by Janne Grunau
parent bac0729d9e
commit 4a301706fd
  1. 13
      libavutil/x86/x86util.asm

@ -84,13 +84,12 @@
%macro TRANSPOSE4x4PS 5 %macro TRANSPOSE4x4PS 5
SBUTTERFLYPS %1, %2, %5 SBUTTERFLYPS %1, %2, %5
SBUTTERFLYPS %3, %4, %5 SBUTTERFLYPS %3, %4, %5
movaps m%5, m%1 movlhps m%5, m%1, m%3
movlhps m%1, m%3 movhlps m%3, m%1
movhlps m%3, m%5 SWAP %5, %1
movaps m%5, m%2 movlhps m%5, m%2, m%4
movlhps m%2, m%4 movhlps m%4, m%2
movhlps m%4, m%5 SWAP %5, %2, %3
SWAP %2, %3
%endmacro %endmacro
%macro TRANSPOSE8x8W 9-11 %macro TRANSPOSE8x8W 9-11

Loading…
Cancel
Save