On 5/10/17 5:20 PM, Luca Barbato wrote:
> Clang support for Altivec/VSX uses a different approach.
> ---
> Clang-4 sadly seeems to have some additional problems.
> configure | 9 ++++++++-
> 1 file changed, 8 insertions(+), 1 deletion(-)
>
> diff --git a/configure b/configure
> index d70e61593a..7f1b1b7b38 100755
> --- a/configure
> +++ b/configure
> @@ -4452,7 +4452,14 @@ EOF
>
> if enabled vsx; then
> check_cflags -mvsx &&
> - check_builtin vec_vsx_ld "altivec.h" "__builtin_vec_vsx_ld" ||
> disable vsx
> + check_cc <<EOF || disable vsx
> +$inc_altivec_h
> +int main(void) {
> + int v[4] = { 0 };
> + vector signed int v1 = vec_vsx_ld(0, v);
> + return 0;
> +}
> +EOF
> fi
>
> if enabled power8; then
> --
> 2.12.2
>
> _______________________________________________
> libav-devel mailing list
> [email protected]
> https://lists.libav.org/mailman/listinfo/libav-devel
>
Ping.
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel