v210: x86: Add the correct guards around the asm code

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
This commit is contained in:
Luca Barbato 2016-01-24 16:58:19 +01:00
parent 4709f72115
commit eafb05fcf3
1 changed files with 6 additions and 0 deletions

View File

@ -82,8 +82,10 @@ cglobal v210_planar_pack_10, 5, 5, 4, y, u, v, dst, width
RET
%endmacro
%if HAVE_SSSE3_EXTERNAL
INIT_XMM ssse3
v210_planar_pack_10
%endif
%macro v210_planar_pack_8 0
@ -139,7 +141,11 @@ cglobal v210_planar_pack_8, 5, 5, 7, y, u, v, dst, width
RET
%endmacro
%if HAVE_SSSE3_EXTERNAL
INIT_XMM ssse3
v210_planar_pack_8
%endif
%if HAVE_AVX_EXTERNAL
INIT_XMM avx
v210_planar_pack_8
%endif