On 2014-05-30 22:20:14 +0300, Martin Storsjö wrote:
> On Fri, 30 May 2014, Janne Grunau wrote:
> 
> >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                         | 6 ++++++
> >libavcodec/arm/vc1dsp_init_neon.c | 4 ++++
> >libavcodec/arm/vc1dsp_neon.S      | 4 ++++
> >3 files changed, 14 insertions(+)
> >
> >diff --git a/configure b/configure
> >index 9c6109e..a148b93 100755
> >--- a/configure
> >+++ b/configure
> >@@ -1467,6 +1467,7 @@ SYSTEM_FUNCS="
> >"
> >
> >TOOLCHAIN_FEATURES="
> >+    as_dn_directive
> >    asm_mod_q
> >    attribute_may_alias
> >    attribute_packed
> >@@ -3767,6 +3768,11 @@ EOF
> >
> >    check_inline_asm asm_mod_q '"add r0, %Q0, %R0" :: "r"((long long)0)'
> >
> >+    check_as <<EOF && enable as_dn_directive
> >+ra .dn d0.i16
> >+.unreq ra
> >+EOF
> 
> Is this executed at the point where gas-preprocessor is set up (for
> the cases where we automatically enable it)?

No, it isn't. Good catch. gas is set before for darwin but only used later 
as as.

Janne
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to