From 017c173d7400a8070cb23a0ead812220037f74be Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Tue, 28 Jun 2011 15:22:27 +0200 Subject: configure: Remove checks for default inline asm features Remove checks for compiler support of >= 10 assembler operands and named assembler arguments. Just assume the features are always available. These features were only missing from obsolete GCC versions which are not supported any more. --- libmpcodecs/vf_yadif.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libmpcodecs') diff --git a/libmpcodecs/vf_yadif.c b/libmpcodecs/vf_yadif.c index 4bd082cbe7..6b9d05fde5 100644 --- a/libmpcodecs/vf_yadif.c +++ b/libmpcodecs/vf_yadif.c @@ -65,7 +65,7 @@ static void store_ref(struct vf_priv_s *p, uint8_t *src[3], int src_stride[3], i } } -#if HAVE_MMX && defined(NAMED_ASM_ARGS) +#if HAVE_MMX #define LOAD4(mem,dst) \ "movd "mem", "#dst" \n\t"\ @@ -278,7 +278,7 @@ static void filter_line_mmx2(struct vf_priv_s *p, uint8_t *dst, uint8_t *prev, u #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; @@ -360,7 +360,7 @@ static void filter(struct vf_priv_s *p, uint8_t *dst[3], int dst_stride[3], int } } } -#if HAVE_MMX && defined(NAMED_ASM_ARGS) +#if HAVE_MMX if(gCpuCaps.hasMMX2) __asm__ volatile("emms \n\t" : : : "memory"); #endif } @@ -505,7 +505,7 @@ static int vf_open(vf_instance_t *vf, char *args){ 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 -- cgit v1.2.3