Hi guys,
There is a missing return type in flac_internal_CreateFile_utf8 in case of
#if _MSC_VER > 1900 && WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
I suppose there should ba a
return handle;
Thanks !
--
Olivier Tristan
Research & Development
www.uvi.net
From: Amitay Isaacs
Check if the compiler supports __attribute__((target("cpu=power8")))
and __attribute__((target("cpu=power9")))
Signed-off-by: Amitay Isaacs
---
configure.ac | 20
1 file changed, 20 insertions(+)
diff --git a/configure.ac b/configure.ac
index
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
---
src/libFLAC/Makefile.am | 1 +
src/libFLAC/include/private/lpc.h | 14 +
src/libFLAC/lpc_intrin_vsx.c | 942
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
---
src/libFLAC/cpu.c | 31 +++
src/libFLAC/include/private/cpu.h | 6 ++
2
From: Amitay Isaacs
Signed-off-by: Amitay Isaacs
---
m4/c_attribute.m4 | 18 ++
1 file changed, 18 insertions(+)
create mode 100644 m4/c_attribute.m4
diff --git a/m4/c_attribute.m4 b/m4/c_attribute.m4
new file mode 100644
index ..48aa6223
--- /dev/null
+++
The following series adds initial vector support for PowerPC64.
On POWER9, flac --best is about 3.3x faster.
Amitay Isaacs (2):
Add m4 macro to check for C __attribute__ features
Check if compiler supports target attribute on ppc64
Anton Blanchard (5):
configure.ac: Remove SPE detection
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
---
configure.ac | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 592e7750..55078293 100644
We want to create functions with PowerPC VSX instructions, so add
a configure check.
Signed-off-by: Anton Blanchard
---
configure.ac | 13 +
1 file changed, 13 insertions(+)
diff --git a/configure.ac b/configure.ac
index 77e3628e..592e7750 100644
--- a/configure.ac
+++
Thank you for this collection of patches.
How can I test them? What platforms (computers) have the ppc64 or POWER9
processor?
Brian
On Jul 10, 2018, at 2:31 PM, Anton Blanchard wrote:
>
> The following series adds initial vector support for PowerPC64.
> On POWER9, flac --best is about 3.3x