changeset 12274:1d207bb5cd29 libavcodec

Use nested ifs instead of &&, which appears to not work with %ifidn (i.e. this construct was always enabled, even for <ssse3 versions).
author rbultje
date Mon, 26 Jul 2010 13:56:51 +0000
parents 7323559a53fd
children 709d5848abf8
files x86/vp8dsp.asm
diffstat 1 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/x86/vp8dsp.asm	Mon Jul 26 13:52:49 2010 +0000
+++ b/x86/vp8dsp.asm	Mon Jul 26 13:56:51 2010 +0000
@@ -1394,9 +1394,11 @@
 %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 @@
 %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 @@
 %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