Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/GStreamer/orc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-06-15neon: Fix testsuite not passing on arm CPUsGaetan Bahl
Set the FPCR.FZ bit before running tests using ARM NEON, in order to make tests pass for most opcodes. Add a way to check for expected failures in the test suite, since ARM NEON does not comply to IEEE754. Errors are expected when using divf (resp. sqrtf) on large (resp. small) numbers. Fixes #33, #20 Signed-off-by: Gaetan Bahl <gaetan.bahl@nxp.com>
2019-09-14orctest: Fix parentheses location in ULP testDoug Nazar
2019-08-31orctest: Fix ULP compare and make compatible with clangDoug Nazar
2019-08-27build: fix werror build with clangMatthew Waters
../subprojects/orc/orc-test/orcarray.c:230:47: error: taking the absolute value of unsigned type 'unsigned int' has no effect [-Werror,-Wabsolute-value] if ((a[i] < 0.0) == (b[i] < 0.0) && abs(*(orc_uint32 *)&a[i] - *(orc_uint32 *)&b[i]) <= 2) continue; ^ ../subprojects/orc/orc-test/orcarray.c:230:47: note: remove the call to 'abs' since unsigned values cannot be negative if ((a[i] < 0.0) == (b[i] < 0.0) && abs(*(orc_uint32 *)&a[i] - *(orc_uint32 *)&b[i]) <= 2) continue; ^~~ ../subprojects/orc/orc-test/orcarray.c:247:47: error: taking the absolute value of unsigned type 'unsigned long' has no effect [-Werror,-Wabsolute-value] if ((a[i] < 0.0) == (b[i] < 0.0) && abs(*(orc_uint64 *)&a[i] - *(orc_uint64 *)&b[i]) <= 2) continue; ^ ../subprojects/orc/orc-test/orcarray.c:247:47: note: remove the call to 'abs' since unsigned values cannot be negative if ((a[i] < 0.0) == (b[i] < 0.0) && abs(*(orc_uint64 *)&a[i] - *(orc_uint64 *)&b[i]) <= 2) continue; ^~~ ../subprojects/orc/orc-test/orctest.c:525:63: error: taking the absolute value of unsigned type 'unsigned int' has no effect [-Werror,-Wabsolute-value] if ((*(float *)ptr1 < 0.0) == (*(float *)ptr2 < 0.0) && abs(*(orc_uint32 *)ptr1 - *(orc_uint32 *)ptr2) <= 2) return TRUE; ^ ../subprojects/orc/orc-test/orctest.c:525:63: note: remove the call to 'abs' since unsigned values cannot be negative if ((*(float *)ptr1 < 0.0) == (*(float *)ptr2 < 0.0) && abs(*(orc_uint32 *)ptr1 - *(orc_uint32 *)ptr2) <= 2) return TRUE; ^~~ ../subprojects/orc/orc-test/orctest.c:530:65: error: taking the absolute value of unsigned type 'unsigned long' has no effect [-Werror,-Wabsolute-value] if ((*(double *)ptr1 < 0.0) == (*(double *)ptr2 < 0.0) && abs(*(orc_uint64 *)ptr1 - *(orc_uint64 *)ptr2) <= 2) return TRUE; ^ ../subprojects/orc/orc-test/orctest.c:530:65: note: remove the call to 'abs' since unsigned values cannot be negative if ((*(double *)ptr1 < 0.0) == (*(double *)ptr2 < 0.0) && abs(*(orc_uint64 *)ptr1 - *(orc_uint64 *)ptr2) <= 2) return TRUE; ^~~
2019-08-18orctest: print_array_val_float return value not usedDoug Nazar
2019-08-07orctest: Switch nearby float comparison to ULP methodDoug Nazar
2018-05-18Fix MSVC compiler warningTim-Philipp Müller
The isnan() macro was redefined to _isnan() on MSVC, but it's been in math.h since vs2013, so it should be safe to rely on it unconditionally nowadays, and we have no intention of supporting ancient vs versions anyway.
2018-05-04orctest: Allow enough room for sprintf()Edward Hervey
We were writing more than 300 characters in some cases. Thanks gcc 8 for pointing that out :)
2016-07-24tests: fix a warning spotted when building in osxJosep Torra
orctest.c:730:19: error: logical not is only applied to the left hand side of this comparison if (!float_compare (dest_emul[l-ORC_VAR_D1], dest_exec[l-ORC_VAR_D1], i, j) != 0) { It seems some sort of typo. Fixing by removing the potentially leftover condition.
2015-03-12test: protect against out-of-boundsLuis de Bethencourt
Same as commit 8bc018cbbe25521f91ecba0fc98185d2eaac650d CID #1146994 CID #1146995
2015-03-12test: protect against going out of boundsLuis de Bethencourt
Conditions should never happen but protect against going out of bounds in the args array. CID #1146993
2013-10-14Make it ANSI-COlivier Crête
Use /* */ instead of // Define _GNU_SOURCE in the ORC_CFLAGS
2012-12-28mips: added copyright headersGuillaume Emont
2012-12-28mips: added test for binary code generationGuillaume Emont
2011-10-03test: disable complaints about codegen failuresDavid Schleef
2011-09-25Fix up c64x-c backendDavid Schleef
2011-07-10Move ORC_GNUC_UNUSED to orcutils.h and use itDavid Schleef
2011-07-09Fix a bunch of unused-but-set-variable compiler warnings with gcc 4.6Tim-Philipp Müller
Which cause compilation with -Werror to fail.
2011-06-01test: add msvc define for snprintfDavid Schleef
2011-05-17tests: Handle new modifiersDavid Schleef
2011-05-14tests: print error message in test failuresDavid Schleef
2011-04-26orctest: check return values of snprintfDavid Schleef
Please someone shoot c89.
2011-04-26test: ignore diffs due to change in jmp sizesDavid Schleef
2010-09-24test: Add disabled code to make manual testing easierDavid Schleef
2010-09-09orc-test: Fix comparison of 64-bit typesDavid Schleef
2010-09-09Add ORC_TARGET_CLEAN_COMPILE and use itDavid Schleef
2010-09-06Eliminate usage of %lld, etc.David Schleef
2010-09-05test: disabled unused codeDavid Schleef
2010-09-03Fix static linkingDavid Schleef
2010-08-27Add int64 and double parametersDavid Schleef
2010-08-26Fix testing of float paramsDavid Schleef
2010-08-25Use OrcCode structure to handle all executable codeDavid Schleef
2010-08-20Update documentation, add tutorialDavid Schleef
2010-08-20Add perf testing of emulated codeDavid Schleef
2010-08-19Fix printing of performance data in testsDavid Schleef
2010-08-19test: Improve opcode test program generationDavid Schleef
2010-08-18test: Add alignment and misalignment to arraysDavid Schleef
This causes most of the performance tests to slow down significantly, but is a more realistic measurement of actual performance.
2010-08-13test: Decrease n for performance testingDavid Schleef
2010-08-11Fix segfault in test programsDavid Schleef
Emulation requires that the program be compiled.
2010-08-02Add performance comparison testsDavid Schleef
2010-07-10test: remove adjustment of performance numberDavid Schleef
2010-07-10test: switch neon test back to neonDavid Schleef
2010-07-01arm: arm backend code gen fixesDavid Schleef
2010-06-29tests: better float comparisonDavid Schleef
Allow denormals to be flushed to 0. Check for NaNs.
2010-06-10convert from stdint types to orc typesDavid Schleef
2010-06-08tests: fix neon testsDavid Schleef
Lack of arm compiler means the test is indeterminate.
2010-06-02centralize definition of out-of-bound valueDavid Schleef
2010-04-16c64x: Fix compiler pathDavid Schleef
2010-04-16Merge branch 'master' into neonDavid Schleef
Conflicts: doc/table.xml orc/orcprogram-sse.c orc/orcprogram.h testsuite/Makefile.am testsuite/generate_xml_table.c
2010-03-30tests: improve tests with acc and const opcodesDavid Schleef