aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2011-11-27 15:41:56 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-11-28 00:24:21 +0100
commitca55606a5127a9ddb10e4c1971c56e3e69bfd864 (patch)
treeea45ef78718ad5cea2c45902182eb823536228a4
parente64edeed3ccbf6808218aeb55639e701f0dab40e (diff)
downloadffmpeg-ca55606a5127a9ddb10e4c1971c56e3e69bfd864.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: Michael Niedermayer <michaelni@gmx.at>
-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 cdd7f18cef..b1cc6b752e 100644
--- a/libavutil/x86/x86inc.asm
+++ b/libavutil/x86/x86inc.asm
@@ -1033,7 +1033,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