changeset 33702:772268824c8a

configure: Drop check for compiler support of named assembler arguments. This was done to accomodate legacy compilers that are no longer supported.
author diego
date Fri, 01 Jul 2011 17:48:29 +0000
parents 09bdaa0c82b3
children 84346d087e4e
files configure libmpcodecs/vf_yadif.c
diffstat 2 files changed, 4 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Fri Jul 01 17:43:40 2011 +0000
+++ b/configure	Fri Jul 01 17:48:29 2011 +0000
@@ -2537,17 +2537,6 @@
 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_finder
 $def_maemo
 $def_memalign_hack
-$def_named_asm_args
 $def_priority
 $def_quicktime
 $def_restrict_keyword
--- a/libmpcodecs/vf_yadif.c	Fri Jul 01 17:43:40 2011 +0000
+++ b/libmpcodecs/vf_yadif.c	Fri Jul 01 17:48:29 2011 +0000
@@ -64,7 +64,7 @@
     }
 }
 
-#if HAVE_MMX && defined(NAMED_ASM_ARGS)
+#if HAVE_MMX
 
 #define LOAD4(mem,dst) \
             "movd      "mem", "#dst" \n\t"\
@@ -277,7 +277,7 @@
 #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 @@
             }
         }
     }
-#if HAVE_MMX && defined(NAMED_ASM_ARGS)
+#if HAVE_MMX
     if(gCpuCaps.hasMMX2) __asm__ volatile("emms \n\t" : : : "memory");
 #endif
 }
@@ -496,7 +496,7 @@
     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