diff i386/snowdsp_mmx.c @ 5601:b26025b9586d libavcodec

workaround gcc bug, untested as my gcc is not complaining
author michael
date Sun, 26 Aug 2007 12:34:22 +0000
parents f302e395f552
children 3b21f3268707
line wrap: on
line diff
--- a/i386/snowdsp_mmx.c	Sun Aug 26 11:16:23 2007 +0000
+++ b/i386/snowdsp_mmx.c	Sun Aug 26 12:34:22 2007 +0000
@@ -388,6 +388,7 @@
     }
 }
 
+#ifdef CONFIG_7REGS
 #define snow_vertical_compose_sse2_load_add(op,r,t0,t1,t2,t3)\
         ""op" ("r",%%"REG_d"), %%"t0"      \n\t"\
         ""op" 16("r",%%"REG_d"), %%"t1"    \n\t"\
@@ -602,6 +603,7 @@
         :"+d"(i)
         :"r"(b0),"r"(b1),"r"(b2),"r"(b3),"r"(b4),"r"(b5));
 }
+#endif //CONFIG_7REGS
 
 #define snow_inner_add_yblock_sse2_header \
     IDWTELEM * * dst_array = sb->line + src_y;\