summaryrefslogtreecommitdiff
path: root/tests/checkasm
Commit message (Collapse)AuthorAge
* x86inc: Add debug symbols indicating sizes of compiled functionsGeza Lore2016-01-21
| | | | | | | | | Some debuggers/profilers use this metadata to determine which function a given instruction is in; without it they get can confused by local labels (if you haven't stripped those). On the other hand, some tools are still confused even with this metadata. e.g. this fixes `gdb`, but not `perf`. Currently only implemented for ELF.
* checkasm: add videodsp emulated_edge_mc test.Ronald S. Bultje2016-01-21
|
* Merge commit 'fec76cd430f3c865183a6e5b4caec0743e055605'Hendrik Leppkes2016-01-19
|\ | | | | | | | | | | | | * commit 'fec76cd430f3c865183a6e5b4caec0743e055605': checkasm: Check register clobbering on aarch64 Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * checkasm: Check register clobbering on aarch64Martin Storsjö2016-01-07
| | | | | | | | | | | | | | This is disabled on iOS, since iOS uses a slightly different ABI for vararg parameters. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '26ec75aec3576daea691dee53a78ec67c0dc4040'Hendrik Leppkes2016-01-19
|\| | | | | | | | | | | | | * commit '26ec75aec3576daea691dee53a78ec67c0dc4040': checkasm: Check register clobbering on arm Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * checkasm: Check register clobbering on armMartin Storsjö2016-01-07
| | | | | | | | | | | | | | | | | | | | | | Use two separate functions, depending on whether VFP/NEON is available. This is set to require armv5te - it uses blx, which is only available since armv5t, but we don't have a separate configure item for that. (It also uses ldrd, which requires armv5te, but this could be avoided if necessary.) Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit 'f0f54117c8f206e8045d301c2eb975b26e9f263d'Hendrik Leppkes2016-01-02
|\| | | | | | | | | | | | | * commit 'f0f54117c8f206e8045d301c2eb975b26e9f263d': checkasm: x86: post commit review fixes Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * checkasm: x86: post commit review fixesJanne Grunau2015-12-29
| | | | | | | | | | | | | | Check the full FPU tag word instead of only the lower half and simplify the comparison. Use upper-case function base name as macro name to instantiate both checked_call variants.
* | Merge commit '2008f76054906e9ff6bf744800af0e5a5bfe61be'Hendrik Leppkes2016-01-02
|\| | | | | | | | | | | | | * commit '2008f76054906e9ff6bf744800af0e5a5bfe61be': dca: remove unused decode_hf function and quant_d tables Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * dca: remove unused decode_hf function and quant_d tablesAlexandra Hájková2015-12-24
| | | | | | | | | | They were superseded with their integer equivalents. Rename integer decode_hf to decode_hf.
* | Merge commit '489e6add4478b0f5717dbf644234c6f3a3baf02c'Hendrik Leppkes2016-01-02
|\| | | | | | | | | | | | | * commit '489e6add4478b0f5717dbf644234c6f3a3baf02c': checkasm: add fmtconvert tests Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * checkasm: add fmtconvert testsJanne Grunau2015-12-21
| |
* | Merge commit '568a4323fbde03665b2b23a98068d02b39121812'Hendrik Leppkes2016-01-02
|\| | | | | | | | | | | | | * commit '568a4323fbde03665b2b23a98068d02b39121812': checkasm: add synth_filter test Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * checkasm: add synth_filter testJanne Grunau2015-12-21
| |
* | Merge commit 'e71b747e9dc56cb84f8a06ec8214d5f3bd98bb6d'Hendrik Leppkes2016-01-02
|\| | | | | | | | | | | | | * commit 'e71b747e9dc56cb84f8a06ec8214d5f3bd98bb6d': checkasm: add tests for dcadsp Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * checkasm: add tests for dcadspJanne Grunau2015-12-21
| |
* | Merge commit '9d218d573f8088c606d873e80df572582e6773ef'Hendrik Leppkes2016-01-02
|\| | | | | | | | | | | | | * commit '9d218d573f8088c606d873e80df572582e6773ef': checkasm: add float comparison util functions Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * checkasm: add float comparison util functionsJanne Grunau2015-12-21
| |
* | Merge commit '711781d7a1714ea4eb0217eb1ba04811978c43d1'Hendrik Leppkes2016-01-02
|\| | | | | | | | | | | | | * commit '711781d7a1714ea4eb0217eb1ba04811978c43d1': x86: checkasm: check for or handle missing cleanup after MMX instructions Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * x86: checkasm: check for or handle missing cleanup after MMX instructionsJanne Grunau2015-12-21
| | | | | | | | | | | | | | | | Not every asm routine is expected clear the MMX state after returning. It is however a requisite for testing floating point code in checkasm. Annotate functions requiring cleanup with declare_func_emms() and issue emms after the call. The remaining functions are checked for having a cleared MMX state after return.
* | Merge commit 'e2710e790c09e49e86baa58c6063af0097cc8cb0'Hendrik Leppkes2016-01-02
|\| | | | | | | | | | | | | * commit 'e2710e790c09e49e86baa58c6063af0097cc8cb0': arm: add a cpu flag for the VFPv2 vector mode Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * arm: add a cpu flag for the VFPv2 vector modeJanne Grunau2015-12-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The vector mode was deprecated in ARMv7-A/VFPv3 and various cpu implementations do not support it in hardware. Vector mode code will depending the OS either be emulated in software or result in an illegal instruction on cpus which does not support it. This was not really problem in practice since NEON implementations of the same functions are preferred. It will however become a problem for checkasm which tests every cpu flag separately. Since this is a cpu feature newer cpu do not support anymore the behaviour of this flag differs from the other flags. It can be only activated by runtime cpu feature selection.
| * checkasm: add HEVC MC testsAnton Khirnov2015-12-05
| |
| * checkasm: Fix the function name sorting algorithmHenrik Gramner2015-10-03
| | | | | | | | | | | | The previous implementation was behaving incorrectly in some corner cases. Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * checkasm/x86: Correctly handle variadic functionsHenrik Gramner2015-09-28
| | | | | | | | | | | | | | | | | | | | The System V ABI on x86-64 specifies that the al register contains an upper bound of the number of arguments passed in vector registers when calling variadic functions, so we aren't allowed to clobber it. checkasm_fail_func() is a variadic function so also zero al before calling it. Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * checkasm: Use a self-balancing treeHenrik Gramner2015-09-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Tested functions are internally kept in a binary search tree for efficient lookups. The downside of the current implementation is that the tree quickly becomes unbalanced which causes an unneccessary amount of comparisons between nodes. Improve this by changing the tree into a self-balancing left-leaning red-black tree with a worst case lookup/insertion time complexity of O(log n). Significantly reduces the recursion depth and makes the tests run around 10% faster overall. The relative performance improvement compared to the existing non-balanced tree will also most likely increase as more tests are added. Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * checkasm: v210: Fix array overwriteHenrik Gramner2015-09-17
| |
* | Add pixblockdsp checkasm testsTimothy Gu2015-11-07
| |
* | lavu: add AESNI CPU flagRodger Combs2015-10-28
| |
* | vp9: add itxfm_add eob shortcuts to 10/12bpp functions.Ronald S. Bultje2015-10-13
| | | | | | | | | | | | | | | | These aren't quite as helpful as the ones in 8bpp, since over there, we can use pmulhrsw, but here the coefficients have too many bits to be able to take advantage of pmulhrsw. However, we can still skip cols for which all coefs are 0, and instead just zero the input data for the row itx. This helps a few % on overall decoding speed.
* | checkasm: add alacdsp testsJames Almer2015-10-06
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | checkasm: Fix compilation with --disable-avcodecHenrik Gramner2015-10-04
| |
* | checkasm: Remove use of deprecated av_set_cpu_flags_mask()Henrik Gramner2015-10-03
| |
* | checkasm/vp9dsp: Fix iszero() to read the correct dataHenrik Gramner2015-09-28
| |
* | checkasm: add vp9dsp.itxfm_add tests.Ronald S. Bultje2015-09-28
| |
* | checkasm: Fix the function name sorting algorithmHenrik Gramner2015-09-28
| | | | | | | | The previous implementation was behaving incorrectly in some corner cases.
* | checkasm/x86: Correctly handle variadic functionsHenrik Gramner2015-09-27
| | | | | | | | | | | | | | | | The System V ABI on x86-64 specifies that the al register contains an upper bound of the number of arguments passed in vector registers when calling variadic functions, so we aren't allowed to clobber it. checkasm_fail_func() is a variadic function so also zero al before calling it.
* | checkasm/vp9dsp: add const to suppress "discards const qualifier" warningsJames Almer2015-09-26
| | | | | | | | | | Reviewed-by: Henrik Gramner <henrik@gramner.com> Signed-off-by: James Almer <jamrial@gmail.com>
* | checkasm/Makefile: add missing testclean targetJames Almer2015-09-26
| | | | | | | | | | Reviewed-by: Henrik Gramner <henrik@gramner.com> Signed-off-by: James Almer <jamrial@gmail.com>
* | checkasm: Use a self-balancing treeHenrik Gramner2015-09-26
| | | | | | | | | | | | | | | | | | | | | | | | Tested functions are internally kept in a binary search tree for efficient lookups. The downside of the current implementation is that the tree quickly becomes unbalanced which causes an unneccessary amount of comparisons between nodes. Improve this by changing the tree into a self-balancing left-leaning red-black tree with a worst case lookup/insertion time complexity of O(log n). Significantly reduces the recursion depth and makes the tests run around 10% faster overall. The relative performance improvement compared to the existing non-balanced tree will also most likely increase as more tests are added.
* | checkasm: clip vp9 loopfilter test pixels inside allowed bitdepth range.Ronald S. Bultje2015-09-26
| |
* | tests/checkasm: make randomize_buffers a function for easier debuggingRodger Combs2015-09-26
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | tests/checkasm/vp9dsp: Revert first hunk of ↵Michael Niedermayer2015-09-24
| | | | | | | | | | | | | | | | | | bddcf758d3a68ac0bcc3bc4fc4aa7156e05245d4 The change was wrong, also add a comment explaining it Found-by: BBB Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | vp9: fix loopfilter test code to address Hendrik's comments.Ronald S. Bultje2015-09-21
| | | | | | | | (I forgot to actually merge them into the patch I just pushed.)
* | tests/checkasm: fix stack smash in check_loopfilterRodger Combs2015-09-20
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | tests/checkasm/vp9dsp: Add () to protect macro argumentsMichael Niedermayer2015-09-20
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | checkasm: add VP9 loopfilter tests.Ronald S. Bultje2015-09-20
| | | | | | | | | | | | | | The randomize_buffer() implementation assures that "most of the time", we'll do a good mix of wide16/wide8/hev/regular/no filters for complete code coverage. However, this is not mathematically assured because that would make the code either much more complex, or much less random.
* | checkasm: add jpeg2000dsp rct_int testsJames Almer2015-09-20
| | | | | | | | | | Reviewed-by: Henrik Gramner <henrik@gramner.com> Signed-off-by: James Almer <jamrial@gmail.com>
* | checkasm: add flacdsp decorrelate testsJames Almer2015-09-17
| | | | | | | | | | Reviewed-by: Henrik Gramner <henrik@gramner.com> Signed-off-by: James Almer <jamrial@gmail.com>
* | tests/checkasm/vp9dsp: Use snprintf() for safeteyMichael Niedermayer2015-09-16
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>