diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-08-18 18:16:17 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-08-18 18:16:17 +0100 |
commit | fc637fb28da700da71ec2064d65ca5a7a31b9c6c (patch) | |
tree | 326613a08f25851c388715e205576a2e7d25dc4f /media-libs/libvpx/files/libvpx-1.8.0-ppc64le-disable-vsx.patch | |
parent | b24bd25253fe093f722ab576d29fdc41d04cb1ee (diff) |
gentoo resync : 18.08.2019
Diffstat (limited to 'media-libs/libvpx/files/libvpx-1.8.0-ppc64le-disable-vsx.patch')
-rw-r--r-- | media-libs/libvpx/files/libvpx-1.8.0-ppc64le-disable-vsx.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/media-libs/libvpx/files/libvpx-1.8.0-ppc64le-disable-vsx.patch b/media-libs/libvpx/files/libvpx-1.8.0-ppc64le-disable-vsx.patch new file mode 100644 index 000000000000..5c6a36ca8670 --- /dev/null +++ b/media-libs/libvpx/files/libvpx-1.8.0-ppc64le-disable-vsx.patch @@ -0,0 +1,28 @@ +From 7bf48f92e884fc01c28a4652ea0883b28744519d Mon Sep 17 00:00:00 2001 +From: Johann <johannkoenig@google.com> +Date: Mon, 10 Jun 2019 14:35:03 -0700 +Subject: [PATCH] ppc: disable vsx optimizations with hbd + +vsx optimizations do not support 32 bit tran_low_t values. + +BUG=webm:1563 + +Change-Id: I9e6348078f6e4855acfd381133eb840a435b7f81 +--- + +diff --git a/build/make/configure.sh b/build/make/configure.sh +index e950353..4a874f1 100644 +--- 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?) |