summaryrefslogtreecommitdiff
path: root/libavutil/x86/lls_init.c
Commit message (Collapse)AuthorAgeFilesLines
* Include attributes.h directlyAndreas Rheinhardt2021-04-191-0/+1
| | | | | | | | Some files currently rely on libavutil/cpu.h to include it for them; yet said file won't use include it any more after the currently deprecated functions are removed, so include attributes.h directly. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* x86: use the new helper macros where usefulJames Almer2016-02-141-1/+1
| | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* lavu/x86/lls: add fma3 optimizations for update_llsGanesh Ajjanagadde2016-01-151-0/+4
| | | | | | | | | | | | | | | | | | | | | This improves accuracy (very slightly) and speed for processors having fma3. Sample benchmark (fate flac-16-lpc-cholesky, Haswell): old: 5993610 decicycles in ff_lpc_calc_coefs, 64 runs, 0 skips 5951528 decicycles in ff_lpc_calc_coefs, 128 runs, 0 skips new: 5252410 decicycles in ff_lpc_calc_coefs, 64 runs, 0 skips 5232869 decicycles in ff_lpc_calc_coefs, 128 runs, 0 skips Tested with FATE and --disable-fma3, also examined contents of lavu/lls-test. Reviewed-by: James Almer <jamrial@gmail.com> Reviewed-by: Henrik Gramner <henrik@gramner.com> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* x86: check for AV_CPU_FLAG_AVXSLOW where usefulJames Almer2015-06-011-1/+1
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil/lls: Make unchanged function arguments constMichael Niedermayer2014-09-281-3/+3
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* drop LLS1, rename LLS2 to LLSMichael Niedermayer2014-08-091-5/+5
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* rename new lls code to lls2 to avoid conflict with the old which has a ↵Michael Niedermayer2013-11-171-4/+4
| | | | | | | | different ABI also remove failed attempt at a compatibility layer, the code simply cannot work Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil: rename lls to lls2Michael Niedermayer2013-11-171-1/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil/x86: reenable ff_update_lls_avx()Michael Niedermayer2013-07-021-1/+1
| | | | | | The bug has been fixed in c8b920a9b7fa534a6141695ace4e8c2dfcd56cee by Loren Merritt Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Revert "avutil/x86: disable ff_evaluate_lls_sse2() for 32bit"Michael Niedermayer2013-07-011-1/+1
| | | | This reverts commit 247425241cb3b2b76df1c2aced5ce0d56126b82d.
* avutil/x86: disable ff_evaluate_lls_sse2() for 32bitMichael Niedermayer2013-06-301-1/+1
| | | | | | It just segfaults on 32bit, thus its disabled until someone fixes it. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit 'b545179fdff1ccfbbb9d422e4e9720cb6c6d9191'Michael Niedermayer2013-06-301-0/+3
|\ | | | | | | | | | | | | | | | | | | * commit 'b545179fdff1ccfbbb9d422e4e9720cb6c6d9191': x86: lpc: simd av_evaluate_lls Conflicts: libavutil/x86/lls.asm Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: lpc: simd av_evaluate_llsLoren Merritt2013-06-291-0/+3
| | | | | | | | | | | | 1.5x-1.8x faster on sandybridge Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | lls.asm: disable ff_update_lls_avxMichael Niedermayer2013-06-301-1/+1
| | | | | | | | | | | | The code doesnt build with yasm from ubuntu 12.04 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '502ab21af0ca68f76d6112722c46d2f35c004053'Michael Niedermayer2013-06-301-4/+4
|/ | | | | | | | | | | | * commit '502ab21af0ca68f76d6112722c46d2f35c004053': x86: lpc: simd av_update_lls The versions are bumped due to changes in lls.h which is used across libraries affecting intra library ABI (This version bump also covers changes to lls.h in the immedeatly previous commits) Merged-by: Michael Niedermayer <michaelni@gmx.at>
* x86: lpc: simd av_update_llsLoren Merritt2013-06-291-0/+38
4x-6x faster on sandybridge Signed-off-by: Luca Barbato <lu_zero@gentoo.org>