[FFmpeg-cvslog] r24509 - trunk/libavcodec/x86/vp8dsp.asm
rbultje
subversion
Mon Jul 26 15:56:51 CEST 2010
Author: rbultje
Date: Mon Jul 26 15:56:51 2010
New Revision: 24509
Log:
Use nested ifs instead of &&, which appears to not work with %ifidn (i.e. this
construct was always enabled, even for <ssse3 versions).
Modified:
trunk/libavcodec/x86/vp8dsp.asm
Modified: trunk/libavcodec/x86/vp8dsp.asm
==============================================================================
--- trunk/libavcodec/x86/vp8dsp.asm Mon Jul 26 15:52:49 2010 (r24508)
+++ trunk/libavcodec/x86/vp8dsp.asm Mon Jul 26 15:56:51 2010 (r24509)
@@ -1394,9 +1394,11 @@ cglobal vp8_%2_loop_filter_simple_%1, 3,
%if mmsize == 8 ; mmx/mmxext
mov r3, 2
%endif
-%ifnidn %1, sse2 && mmsize == 16
+%ifnidn %1, sse2
+%if mmsize == 16
pxor m0, m0
%endif
+%endif
SPLATB_REG m7, r2, m0 ; splat "flim" into register
; set up indexes to address 4 rows
@@ -1584,9 +1586,11 @@ cglobal vp8_%2_loop_filter16y_inner_%1,
%define stack_reg hev_thr_reg
%endif
-%ifnidn %1, sse2 && mmsize == 16
+%ifnidn %1, sse2
+%if mmsize == 16
pxor m7, m7
%endif
+%endif
%ifndef m8 ; mmx/mmxext or sse2 on x86-32
; splat function arguments
@@ -2181,9 +2185,11 @@ cglobal vp8_%2_loop_filter16y_mbedge_%1,
%define stack_reg hev_thr_reg
%endif
-%ifnidn %1, sse2 && mmsize == 16
+%ifnidn %1, sse2
+%if mmsize == 16
pxor m7, m7
%endif
+%endif
%ifndef m8 ; mmx/mmxext or sse2 on x86-32
; splat function arguments
More information about the ffmpeg-cvslog
mailing list