Add VSX optimised versions of autocorrelation loops
authorAnton Blanchard <anton@ozlabs.org>
Sat, 7 Jul 2018 04:21:46 +0000 (14:21 +1000)
committerErik de Castro Lopo <erikd@mega-nerd.com>
Mon, 20 Aug 2018 08:16:34 +0000 (18:16 +1000)
commitcdb030cd3749b4547399a049ce3cae5e974ccd48
tree1ae2e9befc7da38c7c44f27c5ac33ff9afdddb72
parent8e1796b91a1893609b8e2f5813d08f7df3f011cf
Add VSX optimised versions of autocorrelation loops

Add a POWER8 and POWER9 version of the autocorrelation functions.

flac --best is about 3.3x faster on POWER9 with this patch.

Signed-off-by: Anton Blanchard <anton@ozlabs.org>
src/libFLAC/Makefile.am
src/libFLAC/include/private/lpc.h
src/libFLAC/lpc_intrin_vsx.c [new file with mode: 0644]
src/libFLAC/stream_encoder.c