shithub: libvpx

Download patch

ref: 0b1ef32b984d099cb45896329bd6aee71176827f
parent: d9f0106d9dd8b8adbfa716f32c787d81327de790
parent: 7bf48f92e884fc01c28a4652ea0883b28744519d
author: Johann Koenig <[email protected]>
date: Thu Jun 13 14:40:42 EDT 2019

Merge "ppc: disable vsx optimizations with hbd"

--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -1239,7 +1239,10 @@
     ppc64le*)
       link_with_cc=gcc
       setup_gnu_toolchain
-      check_gcc_machine_option "vsx"
+      # Only enable vsx optimizations when vp9_highbitdepth is not enabled.
+      # https://bugs.chromium.org/p/webm/issues/detail?id=1538
+      enabled vp9_highbitdepth || check_gcc_machine_option "vsx"
+      enabled vsx || RTCD_OPTIONS="${RTCD_OPTIONS}--disable-vsx "
       if [ -n "${tune_cpu}" ]; then
         case ${tune_cpu} in
           power?)