summaryrefslogtreecommitdiff
path: root/tests/checkasm
Commit message (Collapse)AuthorAge
...
* | checkasm: v210: Fix array overwriteHenrik Gramner2015-09-16
| |
* | checkasm: v210: s/Libav/FFmpeg/Henrik Gramner2015-09-16
| |
* | checkasm: add vp9 intra pred tests.Ronald S. Bultje2015-09-15
| |
* | checkasm: add vp9 MC tests.Ronald S. Bultje2015-09-15
| |
* | Merge commit '3cdda78deb19b39dbbf8961ae0aec44dbb19bf6d'Hendrik Leppkes2015-09-08
|\| | | | | | | | | | | | | * commit '3cdda78deb19b39dbbf8961ae0aec44dbb19bf6d': checkasm: add unit tests for v210enc Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * checkasm: add unit tests for v210encHenrik Gramner2015-09-06
| | | | | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
| * checkasm: Fix floating point arguments on 64-bit WindowsHenrik Gramner2015-08-28
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * checkasm: Explicitly declare function prototypesHenrik Gramner2015-08-20
| | | | | | | | | | | | | | | | | | | | | | | | Now we no longer have to rely on function pointers intentionally declared without specified argument types. This makes it easier to support functions with floating point parameters or return values as well as functions returning 64-bit values on 32-bit architectures. It also avoids having to explicitly cast strides to ptrdiff_t for example. Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * checkasm: x86: properly save rdx/edx in checked_call()Henrik Gramner2015-08-20
| | | | | | | | | | | | | | | | | | | | | | If the return value doesn't fit in a single register rdx/edx can in some cases be used in addition to rax/eax. Doesn't affect any of the existing checkasm tests but might be useful later. Also comment the relevant code a bit better. Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * checkasm: Remove unnecessary includeHenrik Gramner2015-08-11
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | checkasm: Fix floating point arguments on 64-bit WindowsHenrik Gramner2015-08-25
| |
* | checkasm: x86: properly save rdx/edx in checked_call()Henrik Gramner2015-08-19
| | | | | | | | | | | | | | | | | | If the return value doesn't fit in a single register rdx/edx can in some cases be used in addition to rax/eax. Doesn't affect any of the existing checkasm tests but might be useful later. Also comment the relevant code a bit better.
* | checkasm: Explicitly declare function prototypesHenrik Gramner2015-08-19
| | | | | | | | | | | | | | | | | | | | Now we no longer have to rely on function pointers intentionally declared without specified argument types. This makes it easier to support functions with floating point parameters or return values as well as functions returning 64-bit values on 32-bit architectures. It also avoids having to explicitly cast strides to ptrdiff_t for example.
* | checkasm: Remove unnecessary includeHenrik Gramner2015-08-05
| |
* | Merge commit 'bf0cef5c3a114df452e5476167634dd8f51eb448'Michael Niedermayer2015-07-30
|\| | | | | | | | | | | | | * commit 'bf0cef5c3a114df452e5476167634dd8f51eb448': checkasm: Include io.h for isatty, if available Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * checkasm: Include io.h for isatty, if availableMartin Storsjö2015-07-30
| | | | | | | | | | | | | | | | configure does check for isatty, and checkasm properly checks HAVE_ISATTY, but on some platforms (e.g. WinRT), io.h needs to be included for isatty to be available. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '65c14801527068fcaf729eeffc142ffd4682a21a'Michael Niedermayer2015-07-27
|\| | | | | | | | | | | | | * commit '65c14801527068fcaf729eeffc142ffd4682a21a': checkasm: Modify report format Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * checkasm: Modify report formatHenrik Gramner2015-07-27
| | | | | | | | | | | | | | | | Makes it a bit more clear where each test belongs. Suggested by Anton Khirnov. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | Merge commit '4d0d55cd623bcd504867f948849380f6b4060b4d'Michael Niedermayer2015-07-26
|\| | | | | | | | | | | | | | | | | * commit '4d0d55cd623bcd504867f948849380f6b4060b4d': checkasm: Use LOCAL_ALIGNED See: f467fc02b475cd45b68aa5fb5f7c78286110ba86 See: 9e83ac6114de3d94eb992eff8ed810234069a7b2 Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * checkasm: Use LOCAL_ALIGNEDMichael Niedermayer2015-07-26
| | | | | | | | | | | | Fixes alignment issues and bus errors. Signed-off-by: Martin Storsjö <martin@martin.st>
* | tests/checkasm/h264pred: Use LOCAL_ALIGNED_16()Michael Niedermayer2015-07-23
| | | | | | | | | | | | Fixes alignment issue and bus errors Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | tests/checkasm/h264qpel: Use LOCAL_ALIGNED_16()Michael Niedermayer2015-07-23
| | | | | | | | | | | | Fixes alignment issue and bus errors Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit 'e605bf3b590d295f215fcc9fd58eb11be55b68cb'Michael Niedermayer2015-07-22
|\| | | | | | | | | | | | | * commit 'e605bf3b590d295f215fcc9fd58eb11be55b68cb': checkasm: remove empty array initializer list in h264pred test Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * checkasm: remove empty array initializer list in h264pred testJanne Grunau2015-07-22
| | | | | | | | Fixes MSVC compilation.
* | Merge commit '3ae0e721c7b6e0483801b9039b3d140e3b68b7f5'Michael Niedermayer2015-07-22
|\| | | | | | | | | | | | | * commit '3ae0e721c7b6e0483801b9039b3d140e3b68b7f5': checkasm: Always link statically Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * checkasm: Always link staticallyLuca Barbato2015-07-21
| | | | | | | | Checkasm needs to use internal symbols that should not be made public.
* | tests/checkasm/Makefile: Fix checkasm with SDLMichael Niedermayer2015-07-21
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '82e6ac85ff9aa7631b8c01521b3d6b5ca0bc8014'Michael Niedermayer2015-07-18
|\| | | | | | | | | | | | | * commit '82e6ac85ff9aa7631b8c01521b3d6b5ca0bc8014': checkasm: test all architectures with optimisations Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * checkasm: test all architectures with optimisationsJanne Grunau2015-07-18
| |
| * checkasm: Give macro a body to avoid potential unexpected syntax issuesMichael Niedermayer2015-07-18
| |
* | Merge commit '6cc4d3e9a982e926494f4b919d9733fe29774acf'Michael Niedermayer2015-07-18
|\| | | | | | | | | | | | | * commit '6cc4d3e9a982e926494f4b919d9733fe29774acf': checkasm: exit with status 0 instead of 1 if there are no tests to perform Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * checkasm: exit with status 0 instead of 1 if there are no tests to performHenrik Gramner2015-07-18
| |
* | Merge commit 'fc56868399213d3e9be19bdebeb64df233b39a7e'Michael Niedermayer2015-07-18
|\| | | | | | | | | | | | | * commit 'fc56868399213d3e9be19bdebeb64df233b39a7e': cosmetics: Reformat checkasm tests Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * cosmetics: Reformat checkasm testsLuca Barbato2015-07-17
| |
* | Merge commit 'd37f23263584774e1798e9ac909a398304a05091'Michael Niedermayer2015-07-17
|\| | | | | | | | | | | | | * commit 'd37f23263584774e1798e9ac909a398304a05091': checkasm: Add unit tests for bswapdsp Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * checkasm: Add unit tests for bswapdspHenrik Gramner2015-07-17
| | | | | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | tests/checkasm/checkasm: Give macro a body to avoid potential unexpected ↵Michael Niedermayer2015-07-16
| | | | | | | | | | | | syntax issues Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '2cb34f82b92c15b811f5c03dc7f61a4baf6e02e3'Michael Niedermayer2015-07-15
|\| | | | | | | | | | | | | * commit '2cb34f82b92c15b811f5c03dc7f61a4baf6e02e3': checkasm: Add unit tests for h264qpel Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * checkasm: Add unit tests for h264qpelHenrik Gramner2015-07-15
| | | | | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | tests/checkasm/x86/Makefile: Use ASMSTRIPFLAGS for asmMichael Niedermayer2015-07-13
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '8bc67ec2c0d2b5444d51a1bed1d50f0e10d92717'Michael Niedermayer2015-07-12
|/ | | | | | | * commit '8bc67ec2c0d2b5444d51a1bed1d50f0e10d92717': Checkasm: assembly testing and benchmarking tool Merged-by: Michael Niedermayer <michael@niedermayer.cc>
* Checkasm: assembly testing and benchmarking toolHenrik Gramner2015-07-12
It provides the following features: * verify correctness by comparing output to the C version. * detect failure to save and restore clobbered callee-saved registers. * detect 32-bit parameters being used as if they were 64-bit in x86-64 (the upper halves are not guaranteed to be zero - but in practice they very often are, which makes those bugs hard to spot otherwise). * easy benchmarking. Compile by running 'make checkasm'. Execute by running 'tests/checkasm/checkasm'. Optional arguments are '--bench' to run benchmarks for all functions, '--bench=<pattern>' to run benchmarks for all functions that starts with <pattern>, and '<integer>' to seed the PRNG for reproducible results. Contains unit tests for most h264pred functions to get started, more tests can be added afterwards using those as a reference. Loosely based on code from x264. Currently only supports x86 and x86-64, but additional architectures shouldn't be too much of an obstacle to add. Note that functions with floating point parameters or floating point return values are not supported. Some compiler-specific features or preprocessor hacks would likely be required to add support for that. Signed-off-by: Janne Grunau <janne-libav@jannau.net>