Les articles publiés sur le site
-
9 juillet 2018, par Amitay Isaacs
Check if compiler supports target attribute on ppc64
Check if the compiler supports __attribute__((target("cpu=power8")))
and __attribute__((target("cpu=power9")))
Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
-
8 juillet 2018, par Anton Blanchard
configure.ac: Fix FLAC__CPU_PPC on little endian, and add FLAC__CPU_PPC64
FLAC__CPU_PPC wasn't catching powerpcle or powerpc64le. Fix that and
add a new define for FLAC__CPU_PPC64.
Signed-off-by: Anton Blanchard <anton@ozlabs.org>
-
8 juillet 2018, par Anton Blanchard
configure.ac: Add VSX enable/disable
We want to create functions with PowerPC VSX instructions, so add
a configure check.
Signed-off-by: Anton Blanchard <anton@ozlabs.org>
-
7 juillet 2018, par Anton Blanchard
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>
- [DH] src/libFLAC/Makefile.am
- [DH] src/libFLAC/include/private/lpc.h
- [DH] src/libFLAC/lpc_intrin_vsx.c
- [DH] src/libFLAC/stream_encoder.c
-
7 juillet 2018, par Anton Blanchard
Add runtime detection of POWER8 and POWER9
Use getauxval() to determine if we are on POWER8 or POWER9 or newer.
POWER8 is represented by version 2.07 and POWER9 by version 3.00.
Signed-off-by: Anton Blanchard <anton@ozlabs.org>
- [DH] src/libFLAC/cpu.c
- [DH] src/libFLAC/include/private/cpu.h