arm: swscale: Only compile the rgb2yuv asm if .dn aliases are supported
authorMartin Storsjö <martin@martin.st>
Sat, 31 Mar 2018 18:54:32 +0000 (21:54 +0300)
committerMartin Storsjö <martin@martin.st>
Sat, 31 Mar 2018 18:54:56 +0000 (21:54 +0300)
commitf33f728470434a9981a53d7560d67657b93d1e26
tree8904c9d5b3a65bfaf5b7bd94d79cc590f646930c
parent0c25caa4708cc3a89a9ee9666d0257e6dc6a1573
arm: swscale: Only compile the rgb2yuv asm if .dn aliases are supported

Vanilla clang supports altmacro since clang 5.0, and thus doesn't
require gas-preprocessor for building the arm assembly any longer.

However, the built-in assembler doesn't support .dn directives.

This readds checks that were removed in d7320ca3ed10f0d, when
the last usage of .dn directives within libav were removed.

Alternatively, the assembly could be rewritten to not use the
.dn directive, making it available to clang users.

Signed-off-by: Martin Storsjö <martin@martin.st>
configure
libswscale/arm/rgb2yuv_neon_16.S
libswscale/arm/rgb2yuv_neon_32.S
libswscale/arm/swscale_unscaled.c