shithub: libvpx

Download patch

ref: f4e6bf6e052d7cf212903e5281f31066388c6e74
parent: 32235a77b78a228b9dfaf058194585355ac16cdc
parent: bb286cd851bd16efa32fe6fba5a9c2d0a160efa5
author: James Zern <jzern@google.com>
date: Fri Jun 29 00:03:20 EDT 2018

Merge "libyuv: disable AVX512 in clang"

--- a/third_party/libyuv/README.libvpx
+++ b/third_party/libyuv/README.libvpx
@@ -13,6 +13,7 @@
 times in order to encode multiple resolution bit streams.
 
 Local Modifications:
+Disable ARGBToRGB24Row_AVX512VBMI due to build failure on Mac.
 rm libyuv/include/libyuv.h libyuv/include/libyuv/compare_row.h
 mv libyuv/include tmp/
 mv libyuv/source tmp/
--- a/third_party/libyuv/include/libyuv/row.h
+++ b/third_party/libyuv/include/libyuv/row.h
@@ -57,11 +57,13 @@
 
 // clang >= 6.0.0 required for AVX512.
 // TODO(fbarchard): fix xcode 9 ios b/789.
+#if 0  // Build fails in libvpx on Mac
 #if defined(__clang__) && (defined(__x86_64__) || defined(__i386__))
 #if (__clang_major__ >= 7) && !defined(__APPLE_EMBEDDED_SIMULATOR__)
 #define CLANG_HAS_AVX512 1
 #endif  // clang >= 7
 #endif  // __clang__
+#endif  // 0
 
 // Visual C 2012 required for AVX2.
 #if defined(_M_IX86) && !defined(__clang__) && defined(_MSC_VER) && \