Commit 4a301706 authored by Vitor Sessak's avatar Vitor Sessak Committed by Janne Grunau

x86: Avoid movs on BUTTERFLYPS when in AVX mode

Signed-off-by: 's avatarJanne Grunau <janne-libav@jannau.net>
parent bac0729d
...@@ -84,13 +84,12 @@ ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment