summaryrefslogtreecommitdiff
path: root/src/libFLAC/lpc_intrin_avx2.c
Commit message (Collapse)AuthorAgeFilesLines
* Bulk update copyright dates to 2022Martijn van Beurden2022-07-261-1/+1
|
* Silence clang warnings on alignment of unaligned loadsMartijn van Beurden2022-04-131-271/+271
| | | | | | | | | | | | | | Clang throws *a lot* of warnings on alignment requirement increase where no alignment is required at all. This is a results of the way intrinsics were implemented long ago. See https://stackoverflow.com/questions/71279668/why-does-clang-complain-about-alignment-on-sse-intrinsic-unaligned-loads This commit silences these warnings by first casting the pointer to (const void*) or (void*) before casting the (const __m128i*), (__m128i*), (const __m256i*) or (__m256i*) Compiling with and without this patch returns exactly the same binary for GCC 9.3 and clang 10.0
* Fix GCC 7 case fall through warningsErik de Castro Lopo2017-06-261-90/+90
| | | | | GCC 7 warns about `case` statements which are not separated by a `break` statement. This warning can be fixed by adding a comment.
* SIMD: Add const qualifier where appropriateErik de Castro Lopo2017-02-191-4/+4
| | | | Patch-from: lvqcl <lvqcl.mail@gmail.com>
* Purge usage of `unsigned` typeErik de Castro Lopo2017-01-141-3/+3
| | | | | | | As pointed out by Ozkan Sezer, on some platforms `int32_t` is actually a typedef for `long` so `unsigned` cannot be used interchangably with `FLAC__uint32`. Fix is to switch from `unsigned` to explicit sized ISO C types defined in <stdint.h>.
* Another bulk update of copyright datesErik de Castro Lopo2016-12-051-1/+1
|
* Fix use of FLAC__HAS_X86INTRIN configure variableErik de Castro Lopo2016-06-201-1/+1
|
* libFLAC: infer cpu type from compiler macrosTim Blechmann2016-05-121-0/+2
| | | | Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
* Add AVX2 CPU support stream encoder.Erik de Castro Lopo2014-10-041-0/+1120
Patch-from: lvqcl <lvqcl.mail@gmail.com>