OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bac0729
)
x86: Avoid movs on BUTTERFLYPS when in AVX mode
author
Vitor Sessak
<vitor1001@gmail.com>
Fri, 11 May 2012 20:32:08 +0000
(22:32 +0200)
committer
Janne Grunau
<janne-libav@jannau.net>
Tue, 29 May 2012 13:29:46 +0000
(15:29 +0200)
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
libavutil/x86/x86util.asm
patch
|
blob
|
history
diff --git
a/libavutil/x86/x86util.asm
b/libavutil/x86/x86util.asm
index
508f24e
..
066384b
100644
(file)
--- 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