diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-06-28 15:22:27 +0200 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2011-06-28 19:04:22 +0300 |
commit | 017c173d7400a8070cb23a0ead812220037f74be (patch) | |
tree | 271c83de837d05d9b7c2426b172604050f4b31ad /libmpcodecs | |
parent | fd01bee8f7ad057e79202a6ce2aaa65875862794 (diff) | |
download | mpv-017c173d7400a8070cb23a0ead812220037f74be.tar.bz2 mpv-017c173d7400a8070cb23a0ead812220037f74be.tar.xz |
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.
Diffstat (limited to 'libmpcodecs')
-rw-r--r-- | libmpcodecs/vf_yadif.c | 8 |
1 files changed, 4 insertions, 4 deletions
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 |