Commit Graph

16 Commits

Author SHA1 Message Date
Martijn van Beurden 8c41e7f62e Add multithreading to CMake 2023-09-22 21:10:15 +02:00
Martijn van Beurden ba5172e554
Remove all PPC-specific code (and a mention of SPARC)
As it turns out that the PPC-specific code provides no benefit with
modern, autovectorizing compilers, and given that there is a lot of
cruft surrounding the PPC-specific parts, remove all of it.

See also https://lists.xiph.org/pipermail/flac-dev/2022-December/006620.html
2023-01-27 19:02:36 +01:00
Martijn van Beurden 75ef7958df
Remove all assembler 2022-10-15 15:44:03 +02:00
Martijn van Beurden 8fbeff238c
Remove xmms plugin 2022-10-06 16:41:40 +02:00
Martijn van Beurden 97dbae1800
Fix endianness display in endswap test (cosmetic issue)
As CPU_IS_LITTLE_ENDIAN is used nowehere except in test_libflac,
switch to CPU_IS_BIG_ENDIAN instead, which is actually used in the
code at several places. CMake didn't set the former but does set
the latter.
2022-09-15 07:17:18 +02:00
Martijn van Beurden e3a9212bfc [CMake] Fix ARM64 intrinsics activation
In 95e2c52 the autotools build worked fine, but CMake missed a few
defines. Activition of the lpc_compute_residual_from_qlp_coefficients
depended on encoder->private_->cpuinfo.use_asm for no reason, so
this dependency is removed
2022-05-03 11:10:15 +02:00
Rosen Penev bfe5ff9455 change if checks to ifdef
More similar to the rest of the code.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-04-29 19:17:26 +02:00
RonenGvili 95e2c52980
Adding ARM64 support and optimized Neon implementation (#270)
Add NEON intrinsics routines for lpc_compute_residual_from_qlp_coefficients
and lpc_compute_residual_from_qlp_coefficients_wide
2022-04-29 14:46:07 +02:00
Martijn van Beurden f6b78e69e0 [CMake] Honor WITH_AVX
Fixes https://github.com/xiph/flac/issues/286
2022-04-26 20:52:20 +02:00
Martijn van Beurden 8c46644a8d [CMake] Add check for PPC64, POWER8/9 and vec_doubleh
Add checks for POWER8/9 intrinsics similar to those in autotools
to cmake
2022-04-25 20:13:36 +02:00
Cameron Cawley 32d51aade6 Only define _XOPEN_SOURCE and __EXTENSIONS__ when necessary 2022-04-22 17:19:49 +02:00
Martijn van Beurden f579b163fe
Add git commit tag, hash and date to vendor string when available
In some circles (Hydrogenaud.io for example) people share binaries
compiled from git, i.e. inbetween official releases. Files created
with these binaries cannot be discerned from others. To improve
troubleshooting, compiles from a git repository are marked with
the commit hash and date when configured with autotools or CMake
2022-04-20 21:47:07 +02:00
NotTsunami 7406eabe17 Remove unused macros
Cleanup of ecede0bc72
2022-04-19 10:57:46 +02:00
NotTsunami 617efda90d CMake: Make FORTIFY_SOURCE optional
* Also add in checking for libssp for MinGW
2022-04-13 17:37:50 +02:00
Vitaliy Kirsanov 573dbc12ae Use of BUILD_SHARED_LIBS added 2019-05-04 11:41:48 +10:00
Vitaly Kirsanov a82a014cf1 CMake minimum required lowered to 3.1 2019-05-04 11:41:48 +10:00