Fixes ticket #8986.
Unified · Split
| @@ -59,22 +59,18 @@ DECLARE_ASM_CONST(8, uint64_t, pb_07) = 0x0707070707070707ULL; · 58 unmodified lines | |||
| 59 | #endif /* HAVE_MMX */ | 59 | #endif /* HAVE_MMX */ |
| 60 | 60 | ||
| 61 | // MMXEXT versions | 61 | // MMXEXT versions |
| 62 | #if HAVE_MMXEXT | ||
| 63 | #undef RENAME | 62 | #undef RENAME |
| 64 | #undef COMPILE_TEMPLATE_MMXEXT | 63 | #undef COMPILE_TEMPLATE_MMXEXT |
| 65 | #define COMPILE_TEMPLATE_MMXEXT 1 | 64 | #define COMPILE_TEMPLATE_MMXEXT 1 |
| 66 | #define RENAME(a) a ## _mmxext | 65 | #define RENAME(a) a ## _mmxext |
| 67 | #include "yuv2rgb_template.c" | 66 | #include "yuv2rgb_template.c" |
| 68 | #endif /* HAVE_MMXEXT */ | ||
| 69 | 67 | ||
| 70 | //SSSE3 versions | 68 | //SSSE3 versions |
| 71 | #if HAVE_SSSE3 | ||
| 72 | #undef RENAME | 69 | #undef RENAME |
| 73 | #undef COMPILE_TEMPLATE_MMXEXT | 70 | #undef COMPILE_TEMPLATE_MMXEXT |
| 74 | #define COMPILE_TEMPLATE_MMXEXT 0 | 71 | #define COMPILE_TEMPLATE_MMXEXT 0 |
| 75 | #define RENAME(a) a ## _ssse3 | 72 | #define RENAME(a) a ## _ssse3 |
| 76 | #include "yuv2rgb_template.c" | 73 | #include "yuv2rgb_template.c" |
| 77 | #endif | ||
| 78 | 74 | ||
| 79 | #endif /* HAVE_X86ASM */ | 75 | #endif /* HAVE_X86ASM */ |
| 80 | 76 | ||