From 4e26b2ea098776afe2daaefeb8d12d9e45bf3bd8 Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Fri, 15 Jun 2018 22:49:10 +0200 Subject: [VSX] Drop the clang-4 workaround for vec_xxpermdi MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit clang-6 seems to support it out of box. E.g. VP9SubtractBlockTest.DISABLED_Speed with the workaround: [ BENCH ] 4x4 286.5 ms ( ±0.2 ms ) Without: [ BENCH ] 4x4 215.2 ms ( ±0.9 ms ) Change-Id: I28b3a2cc93c0d72f52f5a48cc06d8ed4ef26913f --- vpx_dsp/ppc/types_vsx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vpx_dsp/ppc') diff --git a/vpx_dsp/ppc/types_vsx.h b/vpx_dsp/ppc/types_vsx.h index 81c7b970a..6c6d03fb3 100644 --- a/vpx_dsp/ppc/types_vsx.h +++ b/vpx_dsp/ppc/types_vsx.h @@ -23,7 +23,7 @@ typedef vector bool char bool8x16_t; 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 }; -- cgit v1.2.3