Commit Graph

95 Commits

Author SHA1 Message Date
Gustavo Zacarias
d65ede3e87 Fix Makefile.am altivec logic
Besides SPE (FSL e500v? cores) there are other powerpc processors
that don't support altivec instructions so only enable them when it's
100% sure that the target has it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2013-12-20 05:57:33 +11:00
Erik de Castro Lopo
ecd0acba75 Improve x86 instrinsic implementation.
* Splits lpc_x86intrin.c to lpc_intrin_sse.c and lpc_intrin_sse2.c
* Add FLAC__lpc_compute_residual_from_qlp_coefficients_intrin_sse2()
  function to lpc_intrin_sse2.c
* Add lpc_intrin_sse41.c with two ..._wide_intrin_sse41() functions
  (useful for 24-bit en-/decoding)
* Add precompute_partition_info_sums_intrin_sse2() / ...ssse3() and
  disables precompute_partition_info_sums_32bit_asm_ia32_().
  SSE2 version uses 4 SSE2 instructions instead of 1 SSSE3 instruction
  PABSD so it is slightly slower.

Patch-from: lvqcl <lvqcl.mail@gmail.com>
2013-10-04 01:41:48 +10:00
Erik de Castro Lopo
5e5ee2720c Adds SSE-accelerated lpc functions.
New functions are:
    FLAC__lpc_compute_autocorrelation_intrin_sse_lag_4()
    FLAC__lpc_compute_autocorrelation_intrin_sse_lag_8()
    FLAC__lpc_compute_autocorrelation_intrin_sse_lag_12()
    FLAC__lpc_compute_autocorrelation_intrin_sse_lag_16()
    FLAC__lpc_compute_residual_from_qlp_coefficients_16_intrin_sse2()

Patch-from: lvqcl <lvqcl.mail@gmail.com>
2013-09-15 10:29:19 +10:00
Cristian Rodríguez
355f4aae47 Link with -no-undefined regardless of the OS
libFLAC* must never have undefined symbols no matter
what is the target platform.

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2013-07-21 19:51:08 +10:00
Erik de Castro Lopo
b1982fbc5f Set version to 1.3.0 and update coyprights throughout. 2013-05-26 19:17:53 +10:00
Cristian Rodríguez
92db3c951e Ensure AM_LDFLAGS is used consistently
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2013-04-21 17:26:33 +10:00
Erik de Castro Lopo
2199d08692 Enable utf8 I/O stuff when compiling with MinGW. 2013-04-01 19:57:13 +11:00
Erik de Castro Lopo
168c258aa3 Purge old un-maintained MSVC 6 project files. 2013-03-10 11:17:20 +11:00
Max Horn
66c0a581d2 autogen.sh: replace this by a simple call to autoreconf
The autoreconf tool is provided by autoconf to do what custom
autogen.sh scripts in many projects used to do. Only it is more
robust and widely tested. It has been available for several years,
too. No reason to rely on custom code for this.

Signed-off-by: Max Horn <max@quendi.de>
2012-12-13 08:12:14 +11:00
Miroslav Lichvar
a43f56c0b2 Update library version-info. 2012-12-04 17:45:51 +11:00
Miroslav Lichvar
19c78e58d7 Hide symbols with gcc.
With gcc >= 4 and ELF, set default visibility to hidden and make visible
only the symbols with FLAC_API or FLACPP_API.

A convenience libFLAC-static.la is created for test_libFLAC as it
depends on the hidden symbols.
2012-12-04 17:45:06 +11:00
Erik de Castro Lopo
d9fde55674 Fix all links to libtool version info rules. 2012-05-07 19:45:23 +10:00
Cristian Rodríguez
9b7cb22f84 Update and improve autotools build
- INCLUDES is deprecated, and CPPFLAGS is an user-defined
  variable, use the proper AM_CPPFLAGS instead

- Remove FLAC__INLINE definition, providing proper
  replacement for MSVC compilers.

- Detect if we have C99 's lround and provide a replacement
  for windows...
2012-04-08 09:03:03 +10:00
Erik de Castro Lopo
b6e64af3b3 Disable Altivec on host triplet powerpc-unknown-linux-gnuspe.
SPE is incompatible with AltiVec because it shares the same opcode range.

Patch from Sebastian Andrzej Siewior <bigeasy@linutronix.de> via Debian.
2012-02-13 19:46:32 +11:00
Erik de Castro Lopo
698ee5c7ed Purge MINGW_WINSOCK_LIBS config variable.
This was only needed for ntohl() function which has already been removed.
2012-02-05 16:25:22 +11:00
Josh Coalson
dea0f5a044 add 2009 copyright 2009-01-07 07:31:28 +00:00
Josh Coalson
494d9ab011 mingw fixes, enable build dll w/ mingw (SF#2000973: https://sourceforge.net/tracker2/?func=detail&aid=2000973&group_id=13478&atid=313478) 2009-01-03 01:59:10 +00:00
Josh Coalson
82b128050e update copyright for 2008 2008-02-28 05:34:21 +00:00
Josh Coalson
841fdd30a6 bump libtool version numbers 2007-09-15 01:08:15 +00:00
Josh Coalson
4fb6132d13 add vcproj files to EXTRA_DIST 2007-07-11 04:13:09 +00:00
Josh Coalson
c90a5cad24 bump libtool number in prep for release 2007-07-10 02:09:38 +00:00
Josh Coalson
4296e1a40a bump libtool .so revision number 2007-02-14 05:59:09 +00:00
Josh Coalson
07e89ccfbb add pkg-config files for libFLAC and libFLAC++ (SF#1647881: http://sourceforge.net/tracker/index.php?func=detail&aid=1647881&group_id=13478&atid=313478) 2007-02-07 01:24:15 +00:00
Josh Coalson
e74bd9516c add 2007 copyright 2007-02-02 06:58:19 +00:00
Josh Coalson
423f804d50 several speed improvements: completely rewritten bitbuffer which uses native machine word size instead of bytes; much faster rice partition size estimation; crc16 calculation in machine word size 2007-01-28 17:40:26 +00:00
Josh Coalson
d351d04437 fix makefile bug with ogg linkage (SF#1611414: http://sourceforge.net/tracker/index.php?func=detail&aid=1611414&group_id=13478&atid=113478) 2006-12-14 07:23:48 +00:00
Josh Coalson
8da98c897b merge libOggFLAC into libFLAC and libOggFLAC++ into FLAC++; documentation still needs work 2006-10-15 04:24:05 +00:00
Josh Coalson
42228b33e2 bump libtool .so number in prep for release 2006-10-10 03:44:54 +00:00
Josh Coalson
59717c20a2 minor comments 2006-10-10 00:35:35 +00:00
Josh Coalson
480c01144e minor comments 2006-09-26 01:01:38 +00:00
Josh Coalson
6b21f66784 merge down from merged-API-layer branch: cvs -q up -dP -j API_LAYER_MERGING_BASELINE -j API_LAYER_MERGING_BRANCH 2006-09-13 01:42:27 +00:00
Josh Coalson
6c08886234 add window.[ch] 2006-05-18 07:36:34 +00:00
Josh Coalson
0395dac13f add 2206 to copyright notice 2006-04-25 06:59:33 +00:00
Josh Coalson
a02b73f5ea check in more fixes from Luca to build properly on linux-ppc (asm-related again) 2005-03-02 05:21:06 +00:00
Josh Coalson
16eded53e4 fix on ppc: as/gas checks need to be __TEMPORARILY_DISABLED 2005-02-03 04:29:52 +00:00
Josh Coalson
a3448128bc bump the libtool number 2005-02-02 01:51:25 +00:00
Josh Coalson
2499c5694c only use -force_cpusubtype_ALL in CFLAGS on Darwin-PPC 2005-01-31 04:35:26 +00:00
Josh Coalson
05a3984002 fix handling of CFLAGS/CXXFLAGS, now using AM_CFLAGS 2005-01-30 18:44:46 +00:00
Josh Coalson
63d489ae31 temporary disable ppc asm optimizations 2005-01-29 06:10:58 +00:00
Josh Coalson
b1b4f59c16 minor fixes 2005-01-27 03:58:00 +00:00
Josh Coalson
a78fac662c add 2005 to copyright notices 2005-01-25 04:17:55 +00:00
Josh Coalson
663c599b0a merged patches from Chris Csanady and John Steele Scott, better checking for altivec and ppc64 on ppc 2005-01-21 01:53:02 +00:00
Josh Coalson
b990022c95 fix libFLAC to build PPC asm properly, conditionalized for gas or as 2004-12-30 01:13:03 +00:00
Josh Coalson
47faab80d7 split PPC asm code into two directores, one holding asm compatible with OS X native 'as', and one for 'gas' 2004-11-09 01:50:35 +00:00
Josh Coalson
29a6a9df04 add float.c/h 2004-11-09 01:25:44 +00:00
Josh Coalson
3fbf64c110 bump libtool library version numbers 2004-09-10 00:20:59 +00:00
Josh Coalson
9b32217c24 bump libtool version numbers for flac-1.1.1-beta1 2004-07-30 00:03:52 +00:00
Josh Coalson
c2570659f2 rename strip_fPIC.sh to strip_non_asm_libtool_args.sh, as it takes on new duties stripping other arguments for other assemblers 2004-07-29 06:43:23 +00:00
Josh Coalson
31bdd7048a add brady's first round of altivec implementations 2004-07-25 20:34:40 +00:00
Matt Zimmerman
04027adf91 Enure that libFLAC is linked with -lm on all architectures, and regardless of
whether nasm is present
2004-04-16 22:20:07 +00:00