aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/huffyuvdsp.asm
diff options
context:
space:
mode:
authorChristophe Gisquet <christophe.gisquet@gmail.com>2014-05-30 11:57:56 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-05-30 21:39:06 +0200
commitd136fe6fd7be03b3edc87bb19c81a09a31b1a733 (patch)
tree22646585ab1e1976d01a886feea533cff1711aa8 /libavcodec/x86/huffyuvdsp.asm
parente0d074556055e8d2ed706be100e26d7bb6864d6e (diff)
downloadffmpeg-d136fe6fd7be03b3edc87bb19c81a09a31b1a733.tar.gz
x86: huffyuvdsp: fewer functions for x86_64
When there are 2 functions that are <= SSE2, only one is needed for x86_64. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/x86/huffyuvdsp.asm')
-rw-r--r--libavcodec/x86/huffyuvdsp.asm6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/x86/huffyuvdsp.asm b/libavcodec/x86/huffyuvdsp.asm
index 73c476495a..d13c08a7de 100644
--- a/libavcodec/x86/huffyuvdsp.asm
+++ b/libavcodec/x86/huffyuvdsp.asm
@@ -110,8 +110,10 @@ cglobal add_hfyu_median_pred, 6,6,8, dst, top, diff, w, left, left_top
RET
%endmacro
+%if ARCH_X86_32
INIT_MMX mmxext
HFYU_MEDIAN
+%endif
INIT_XMM sse2
HFYU_MEDIAN
@@ -219,8 +221,10 @@ cglobal add_bytes, 3,4,2, dst, src, w, size
REP_RET
%endmacro
+%if ARCH_X86_32
INIT_MMX mmx
ADD_BYTES
+%endif
INIT_XMM sse2
ADD_BYTES
@@ -257,7 +261,9 @@ cglobal add_hfyu_left_pred_bgr32, 4,4,3, dst, src, w, left
REP_RET
%endmacro
+%if ARCH_X86_32
INIT_MMX mmx
LEFT_BGR32
+%endif
INIT_XMM sse2
LEFT_BGR32