[MPlayer-cvslog] r33790 - in trunk: configure libmpcodecs/vf_yadif.c

diego subversion at mplayerhq.hu
Fri Jul 1 19:48:29 CEST 2011


Author: diego
Date: Fri Jul  1 19:48:29 2011
New Revision: 33790

Log:
configure: Drop check for compiler support of named assembler arguments.

This was done to accomodate legacy compilers that are no longer supported.

Modified:
   trunk/configure
   trunk/libmpcodecs/vf_yadif.c

Modified: trunk/configure
==============================================================================
--- trunk/configure	Fri Jul  1 19:43:40 2011	(r33789)
+++ trunk/configure	Fri Jul  1 19:48:29 2011	(r33790)
@@ -2537,17 +2537,6 @@ echocheck "assembler support of -pipe op
 cflag_check -pipe -I. && _pipe="-pipe" && echores "yes" || echores "no"
 
 
-echocheck "compiler support of named assembler arguments"
-_named_asm_args=yes
-def_named_asm_args="#define NAMED_ASM_ARGS 1"
-if test "$cc_vendor" = "gnu" && test "$_cc_major" -lt 3 \
-     -o "$_cc_major" -eq 3 -a "$_cc_minor" = 0 ; then
-  _named_asm_args=no
-  def_named_asm_args="#undef NAMED_ASM_ARGS"
-fi
-echores $_named_asm_args
-
-
 if darwin && test "$cc_vendor" = "gnu" ; then
 echocheck "GCC support of -mstackrealign"
 # GCC 4.2 and some earlier Apple versions support this flag on x86. Since
@@ -8335,7 +8324,6 @@ $def_macosx_bundle
 $def_macosx_finder
 $def_maemo
 $def_memalign_hack
-$def_named_asm_args
 $def_priority
 $def_quicktime
 $def_restrict_keyword

Modified: trunk/libmpcodecs/vf_yadif.c
==============================================================================
--- trunk/libmpcodecs/vf_yadif.c	Fri Jul  1 19:43:40 2011	(r33789)
+++ trunk/libmpcodecs/vf_yadif.c	Fri Jul  1 19:48:29 2011	(r33790)
@@ -64,7 +64,7 @@ static void store_ref(struct vf_priv_s *
     }
 }
 
-#if HAVE_MMX && defined(NAMED_ASM_ARGS)
+#if HAVE_MMX
 
 #define LOAD4(mem,dst) \
             "movd      "mem", "#dst" \n\t"\
@@ -277,7 +277,7 @@ static void filter_line_mmx2(struct vf_p
 #undef CHECK2
 #undef FILTER
 
-#endif /* HAVE_MMX && defined(NAMED_ASM_ARGS) */
+#endif /* HAVE_MMX */
 
 static void filter_line_c(struct vf_priv_s *p, uint8_t *dst, uint8_t *prev, uint8_t *cur, uint8_t *next, int w, int refs, int parity){
     int x;
@@ -359,7 +359,7 @@ static void filter(struct vf_priv_s *p, 
             }
         }
     }
-#if HAVE_MMX && defined(NAMED_ASM_ARGS)
+#if HAVE_MMX
     if(gCpuCaps.hasMMX2) __asm__ volatile("emms \n\t" : : : "memory");
 #endif
 }
@@ -496,7 +496,7 @@ static int vf_open(vf_instance_t *vf, ch
     if (args) sscanf(args, "%d:%d", &vf->priv->mode, &vf->priv->parity);
 
     filter_line = filter_line_c;
-#if HAVE_MMX && defined(NAMED_ASM_ARGS)
+#if HAVE_MMX
     if(gCpuCaps.hasMMX2) filter_line = filter_line_mmx2;
 #endif
 


More information about the MPlayer-cvslog mailing list