aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2011-11-27 15:41:56 +0100
committerRonald S. Bultje <rsbultje@gmail.com>2011-11-27 13:10:33 -0800
commit6b6ee58249b233585f1f7d89aec4fe58f65b5ed7 (patch)
treec8096e7ee5ab41bd501979e179590cac325755ed
parent0df5e869cb9fc4eb6f7aacdf40920b0b87ce4db7 (diff)
downloadffmpeg-6b6ee58249b233585f1f7d89aec4fe58f65b5ed7.tar.gz
x86inc: Flag shufps as an floating-point instruction for the AVX emulation code.
Without this, code like "shufps m0, m1, m2, 0xaa" would not work in CPUs not supporting SSE2. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
-rw-r--r--libavutil/x86/x86inc.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/x86/x86inc.asm b/libavutil/x86/x86inc.asm
index 31f74b9b3e..475e70e3fc 100644
--- a/libavutil/x86/x86inc.asm
+++ b/libavutil/x86/x86inc.asm
@@ -1016,7 +1016,7 @@ AVX_INSTR punpcklwd, 0, 0, 0
AVX_INSTR punpckldq, 0, 0, 0
AVX_INSTR punpcklqdq, 0, 0, 0
AVX_INSTR pxor, 0, 0, 1
-AVX_INSTR shufps, 0, 1, 0
+AVX_INSTR shufps, 1, 1, 0
AVX_INSTR subpd, 1, 0, 0
AVX_INSTR subps, 1, 0, 0
AVX_INSTR subsd, 1, 0, 0