avfilter: x86: Use more precise compile template names

pull/28/head
Diego Biurrun 13 years ago
parent a886b279a0
commit cdaec0b240
  1. 4
      libavfilter/x86/yadif.c
  2. 2
      libavfilter/x86/yadif_template.c

@ -32,7 +32,7 @@ DECLARE_ASM_CONST(16, const xmm_reg, pb_1) = {0x0101010101010101ULL, 0x010101010
DECLARE_ASM_CONST(16, const xmm_reg, pw_1) = {0x0001000100010001ULL, 0x0001000100010001ULL}; DECLARE_ASM_CONST(16, const xmm_reg, pw_1) = {0x0001000100010001ULL, 0x0001000100010001ULL};
#if HAVE_SSSE3 #if HAVE_SSSE3
#define COMPILE_TEMPLATE_SSE 1 #define COMPILE_TEMPLATE_SSE2 1
#define COMPILE_TEMPLATE_SSSE3 1 #define COMPILE_TEMPLATE_SSSE3 1
#undef RENAME #undef RENAME
#define RENAME(a) a ## _ssse3 #define RENAME(a) a ## _ssse3
@ -44,7 +44,7 @@ DECLARE_ASM_CONST(16, const xmm_reg, pw_1) = {0x0001000100010001ULL, 0x000100010
#undef RENAME #undef RENAME
#define RENAME(a) a ## _sse2 #define RENAME(a) a ## _sse2
#include "yadif_template.c" #include "yadif_template.c"
#undef COMPILE_TEMPLATE_SSE #undef COMPILE_TEMPLATE_SSE2
#endif #endif
#if HAVE_MMXEXT #if HAVE_MMXEXT

@ -18,7 +18,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifdef COMPILE_TEMPLATE_SSE #ifdef COMPILE_TEMPLATE_SSE2
#define MM "%%xmm" #define MM "%%xmm"
#define MOV "movq" #define MOV "movq"
#define MOVQ "movdqa" #define MOVQ "movdqa"

Loading…
Cancel
Save