diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2018-06-15 22:49:10 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2018-06-15 21:54:47 +0000 |
commit | 4e26b2ea098776afe2daaefeb8d12d9e45bf3bd8 (patch) | |
tree | 4fe246f03cf1ea57057cf20901dfb3539dd9fb7b /vpx_dsp/ppc | |
parent | 7538e4cc88591fe5b161d93d4c74a20b5bc55ff2 (diff) | |
download | libvpx-4e26b2ea098776afe2daaefeb8d12d9e45bf3bd8.tar libvpx-4e26b2ea098776afe2daaefeb8d12d9e45bf3bd8.tar.gz libvpx-4e26b2ea098776afe2daaefeb8d12d9e45bf3bd8.tar.bz2 libvpx-4e26b2ea098776afe2daaefeb8d12d9e45bf3bd8.zip |
[VSX] Drop the clang-4 workaround for vec_xxpermdi
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
Diffstat (limited to 'vpx_dsp/ppc')
-rw-r--r-- | vpx_dsp/ppc/types_vsx.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 }; |