shithub: libvpx

Download patch

ref: 3c20815a40557e5fce62d49bd4109eb1c8900778
parent: eca56ea29af4429b2068141117ec96b1f567d7c6
parent: 4e26b2ea098776afe2daaefeb8d12d9e45bf3bd8
author: Luca Barbato <lu_zero@gentoo.org>
date: Wed Jun 27 15:04:49 EDT 2018

Merge "[VSX] Drop the clang-4 workaround for vec_xxpermdi"

--- a/vpx_dsp/ppc/types_vsx.h
+++ b/vpx_dsp/ppc/types_vsx.h
@@ -23,7 +23,7 @@
 typedef vector bool short bool16x8_t;
 typedef vector bool int bool32x4_t;
 
-#ifdef __clang__
+#if defined(__clang__) && __clang_major__ < 6
 static const uint8x16_t xxpermdi0_perm = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05,
                                            0x06, 0x07, 0x10, 0x11, 0x12, 0x13,
                                            0x14, 0x15, 0x16, 0x17 };