On 2014-01-15 10:14:11 +0200, Martin Storsjö wrote:
> On Wed, 15 Jan 2014, Janne Grunau wrote:
> 
> 
> > diff --git a/libavutil/aarch64/cpu.h b/libavutil/aarch64/cpu.h
> > new file mode 100644
> > index 0000000..78320f3
> > --- /dev/null
> > +++ b/libavutil/aarch64/cpu.h
> > @@ -0,0 +1,35 @@
> > +
> > + [license header]
> > +
> > +#ifndef AVUTIL_AARCH64_CPU_H
> > +#define AVUTIL_AARCH64_CPU_H
> > +
> > +#include "config.h"
> > +#include "libavutil/cpu.h"
> > +#include "libavutil/cpu_internal.h"
> > +
> > +#define have_neon(flags)          CPUEXT(flags, NEON)
> > +#define have_vfp(flags)           CPUEXT(flags, VFP)
> > +
> > +#define have_neon_external(flags) CPUEXT_SUFFIX(flags, _EXTERNAL, NEON)
> > +#define have_vfp_external(flags)  CPUEXT_SUFFIX(flags, _EXTERNAL, VFP)
> > +
> > +#define have_neon_inline(flags)   CPUEXT_SUFFIX(flags, _INLINE, NEON)
> > +#define have_vfp_inline(flags)    CPUEXT_SUFFIX(flags, _INLINE, VFP)
> > +
> > +#endif /* AVUTIL_AARCH64_CPU_H */
> 
> I guess the _external and _inline ones aren't really needed any longer now 
> that the suffix-less HAVE_* have been updated to behave like on arm.

yes, I'll remove them and update the other patches. I doubt though that
there will be a ARMv8 application profile CPU without VFP and NEON.

Janne
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to