Displaying 15 results from an estimated 15 matches for "flac__cpu_ppc".
2019 Aug 18
1
1.3.3: powerpc portability problems
...IBOBJS="$LIBOBJS getopt.o getopt1.o"] )
AC_CHECK_FUNCS(getopt_long, [], [])
+
+AC_CHECK_FUNCS([getauxval])
AC_CHECK_SIZEOF(void*,1)
Index: src/libFLAC/cpu.c
--- src/libFLAC/cpu.c.orig
+++ src/libFLAC/cpu.c
@@ -53,7 +53,7 @@
#define dfprintf(file, format, ...)
#endif
-#if defined FLAC__CPU_PPC
+#if defined(HAVE_SYS_AUXV_H)
#include <sys/auxv.h>
#endif
@@ -236,7 +236,10 @@ x86_cpu_info (FLAC__CPUInfo *info)
static void
ppc_cpu_info (FLAC__CPUInfo *info)
{
-#if defined FLAC__CPU_PPC
+ info->ppc.arch_2_07 = false;
+ info->ppc.arch_3_00 = false;
+
+#if defined(FLAC__CPU_PP...
2004 Oct 01
1
[PATCH] fix compile errors with asm disabled
..._len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 data[]);
void FLAC__lpc_restore_signal_asm_ia32_mmx(const FLAC__int32 residual[], unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 data[]);
-#endif
-#elif defined FLAC__CPU_PPC
+# endif /* FLAC__HAS_NASM */
+# elif defined FLAC__CPU_PPC
void FLAC__lpc_restore_signal_asm_ppc_altivec_16(const FLAC__int32 residual[], unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 data[]);
void FLAC__lpc_restore_signal_asm_ppc_altivec_...
2014 Jun 01
2
Typos in the FLAC codebase
...CONDITIONALs
>> we use the prefix FLaC__ instead of FLAC__ since autoconf triggers off 'AC_' in strings".
>
> I this was was a bug in and earlier version of autoconf, but I fixed
> it anyway, just for the sake of uniformity.
But such names (FLaC__NO_ASM, FLaC__CPU_IA32, FLaC__CPU_PPC, FLaC__USE_3DNOW, ...)
begin with 'FLaC__' only in configure.ac. In all source files (.c, .h, .cpp)
they begin with 'FLAC__' (all caps).
2018 Jul 10
9
[PATCH 0/7] PowerPC64 performance improvements
...64.
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 code
configure.ac: Add VSX enable/disable
configure.ac: Fix FLAC__CPU_PPC on little endian, and add
FLAC__CPU_PPC64
Add runtime detection of POWER8 and POWER9
Add VSX optimised versions of autocorrelation loops
configure.ac | 53 +-
m4/c_attribute.m4 | 18 +
src/libFLAC/Makefile.am | 1 +
src/libFLAC/cpu.c...
2012 Dec 12
1
[PATCH 2/5] autogen.sh: replace this by a simple call to autoreconf
...--- a/src/libFLAC/Makefile.am
> +++ b/src/libFLAC/Makefile.am
> @@ -34,6 +34,9 @@ noinst_LTLIBRARIES = libFLAC-static.la
> if DEBUG
> DEBUGCFLAGS = -DFLAC__OVERFLOW_DETECT
> endif
> +
> +# FIXME: The following logic should be part of configure, not of Makefile.am
> +
> if FLaC__CPU_PPC
> # The -force_cpusubtype_ALL is needed to insert a ppc64 instruction
> # into cpu.c with an asm().
I committed this FIXME comment by mistake, although I stand by its content ;). Anyway, it logically does not really belong into this commit, so you may want to prune it before applying. Altern...
2004 Sep 10
3
Altivec, automake
I think I've gotten FLAC__lpc_restore_signal() about as good as I'm going to
get it.
Here's what I have:
-a new file, lpc_asm.s, which has the assembly routines
-changes to cpu.h, cpu.c, and stream_decoder.c to enable them
-changes to configure.in to support the new cpu stuff
-a preliminary Makefile.am
-maybe something else I'm forgetting
Now automake complains that configure.in
2004 Sep 10
2
Altivec, automake
...=========================
RCS file: /cvsroot/flac/flac/src/libFLAC/cpu.c,v
retrieving revision 1.14
diff -c -r1.14 cpu.c
*** cpu.c 31 Jan 2003 23:34:57 -0000 1.14
--- cpu.c 25 Jul 2004 23:16:52 -0000
***************
*** 37,42 ****
--- 37,50 ----
#include <config.h>
#endif
+ #if defined FLAC__CPU_PPC
+ #if !defined FLAC__NO_ASM
+ #if defined __APPLE__ && defined __MACH__
+ #include <sys/sysctl.h>
+ #endif /* __APPLE__ && __MACH__ */
+ #endif /* FLAC__NO_ASM */
+ #endif /* FLAC__CPU_PPC */
+
const unsigned FLAC__CPUINFO_IA32_CPUID_CMOV = 0x00008000;
const unsigned FLAC...
2004 Sep 10
5
autoheader failing?
With these versions:
ii autoconf 2.54-2 automatic configure script builder
ii automake1.6 1.6.3-2 A tool for generating GNU Standards-complian
I am unable to build the autoconfiscations. autoheader gives:
autoheader2.50: error: AC_CONFIG_HEADERS not found in configure.in
What versions are you using?
(btw, I do think it would be a very good idea to start using
2004 Sep 10
2
1.0 souce released
OK, I did the last few patches and made the source release.
Hope I got everything. I'll send out the standard announcement
now. Thanks everyone.
Josh
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
2014 Jul 02
2
[PATCH] two patches of doubtful usefulness
...cal_lpc_restore_signal_16bit_order8( ... );
else
decoder->private_->local_lpc_restore_signal_16bit( ... );
but local_lpc_restore_signal_16bit is equal to ..._order8 for all
architectures except powerpc/altivec.
The patch hides local_lpc_restore_signal_16bit_order8 under
#ifdef FLAC__CPU_PPC / #endif directives.
Pros:
* one branch less
Cons:
* the same as for the 1st patch: the speed increase is probably negligible
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lpc_shift.patch
Type: application/octet-stream
Size: 506 bytes
Desc: not available
Url...
2014 May 30
3
Typos in the FLAC codebase
1) src/share/grabbag/snprintf.c, line 42: 'on systems with a norrmal ISO C99'
'norrmal' -> 'normal'
2) src/flac/encode.c, line 1661: '(eg, very short files, < 10000 fames)'
'fames' -> frames? samples? bytes?
3) configure.ac, line 140: 'AM_CONDITIONAL(FLAC__CPU_X86_64, test "x$cpu_x86_64" = xtrue)'
Not sure about this, but
2012 Dec 12
8
[PATCH 0/5] update build system
This patch series modernizes various aspects of the autotools
based build system. There is a lot more that could and should be
done, but I tried to stay conservative for now and just resolve
some of the most obvious issues.
Max Horn (5):
configure: replace XIPH_C_FIND_ENDIAN by AC_C_BIGENDIAN
autogen.sh: replace this by a simple call to autoreconf
configure: always print
2005 Jan 29
2
Patch : fix configure.in and Makefile.am problems.
...05:23:53 -0000
@@ -42,7 +42,6 @@
dnl AC_CHECK_FUNCS(getopt_long , , [LIBOBJS="$LIBOBJS getopt.o getopt1.o"] )
AC_CHECK_FUNCS(getopt_long, [], [])
-AC_CANONICAL_HOST
case "$host_cpu" in
i*86) cpu_ia32=true ; AC_DEFINE(FLAC__CPU_IA32) ;;
powerpc) cpu_ppc=true ; AC_DEFINE(FLAC__CPU_PPC) ;;
@@ -209,6 +208,9 @@
CFLAGS="$OUR_CFLAGS_HEAD $CFLAGS"
CXXFLAGS="$OUR_CFLAGS_HEAD $CXXFLAGS"
+AM_CONDITIONAL(FLaC__HAS_AS__TEMPORARILY_DISABLED, test "yes" = "no")
+AM_CONDITIONAL(FLaC__HAS_GAS__TEMPORARILY_DISABLED, test "yes" = "no&quo...
2012 Dec 12
0
[PATCH 2/5] autogen.sh: replace this by a simple call to autoreconf
...akefile.am
index 13ab593..aa88100 100644
--- a/src/libFLAC/Makefile.am
+++ b/src/libFLAC/Makefile.am
@@ -34,6 +34,9 @@ noinst_LTLIBRARIES = libFLAC-static.la
if DEBUG
DEBUGCFLAGS = -DFLAC__OVERFLOW_DETECT
endif
+
+# FIXME: The following logic should be part of configure, not of Makefile.am
+
if FLaC__CPU_PPC
# The -force_cpusubtype_ALL is needed to insert a ppc64 instruction
# into cpu.c with an asm().
diff --git a/src/plugin_common/Makefile.am b/src/plugin_common/Makefile.am
index 0f557fd..270416a 100644
--- a/src/plugin_common/Makefile.am
+++ b/src/plugin_common/Makefile.am
@@ -15,8 +15,6 @@
# Li...
2004 Sep 10
1
altivec lpc_restore_signal
...===
RCS file: /cvsroot/flac/flac/src/libFLAC/Makefile.am,v
retrieving revision 1.44
diff -c -r1.44 Makefile.am
*** Makefile.am 27 May 2003 05:07:16 -0000 1.44
--- Makefile.am 16 Sep 2003 06:34:15 -0000
***************
*** 44,49 ****
--- 44,53 ----
libFLAC_la_LIBADD = -lm
endif
endif
+ if FLaC__CPU_PPC
+ ARCH_SUBDIRS = ppc
+ libFLAC_la_LIBADD = ppc/libFLAC-asm.la
+ endif
endif
SUBDIRS = $(ARCH_SUBDIRS) include .