From 896a5bff64264f4d01ed98eacc97a67260c1e17e Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: Thu, 29 May 2014 14:21:05 +0200 Subject: arm: check if AS supports .dn Move the GNU as check before the arch specific asm checks since the .dn check requires gas compatible assembler. Disable the VC-1 motion compensation NEON asm which is the only part using that directive. The integrated assembler in the upcoming clang 3.5 does not support .dn/.qn without plans to change that. Too much effort to implement it while it is rarely used. http://llvm.org/bugs/show_bug.cgi?id=18199. --- configure | 33 ++++++++++++++++++++------------- 1 file changed, 20 insertions(+), 13 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 9c6109e19e..13bcdfe4d3 100755 --- a/configure +++ b/configure @@ -1467,6 +1467,7 @@ SYSTEM_FUNCS=" " TOOLCHAIN_FEATURES=" + as_dn_directive asm_mod_q attribute_may_alias attribute_packed @@ -3721,6 +3722,20 @@ unsigned int endian = 'B' << 24 | 'I' << 16 | 'G' << 8 | 'E'; EOF od -t x1 $TMPO | grep -q '42 *49 *47 *45' && enable bigendian + +if enabled asm; then + enabled arm && nogas=die + enabled_all ppc altivec && nogas=warn + as=${gas:=$as} + check_as <