summaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* use posix_memalign to align memory for SIMD region testsJanne Grunau2014-10-091-2/+22
| | | | Properly emulate aligned allocation if posix_memalign is not available.
* simd: rename the region flags from SSE to SIMDJanne Grunau2014-10-091-1/+1
| | | | | SSE is not the only supported SIMD instruction set. Keep the old names for backward compatibility.
* check: split unit tests and support paralell executionJanne Grunau2014-10-092-11/+16
|
* build: fix out of source tree buildJanne Grunau2014-10-091-2/+2
|
* Removed comments marking CARRY_FREE_GK additions.Adam Disney2014-06-161-1/+0
|
* Merge remote-tracking branch 'dalgaaf/wip-da-sca-20140513'Adam Disney2014-06-163-8/+14
|\
| * gf_time.c: remove dead assignment to 'elapsed'Danny Al-Gaaf2014-05-141-2/+0
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * tools/gf_poly.c: fix undefined allocation of 0 bytesDanny Al-Gaaf2014-05-141-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Due to man page of malloc the behaviour in case of allocation size of 0 bytes is undefined: "If size was equal to 0, either NULL or a pointer suitable to be passed to free() is returned" Fix for clang scan-build report: Unix API Undefined allocation of 0 bytes (CERT MEM04-C; CWE-131) 210 poly = (gf_general_t *) malloc(sizeof(gf_general_t)*(n+1)); 9 Call to 'malloc' has an allocation size of 0 bytes Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * gf_inline_time.c: fix memory leakDanny Al-Gaaf2014-05-131-4/+6
| | | | | | | | | | | | | | | | Free all with malloc allocated memory before exit. Change if checks against 'w' to be a if-else check to prevent checking after already matched. Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
* | Fixed a few minor warnings when running autogen.sh.Adam Disney2014-06-161-1/+1
| |
* | Merge remote-tracking branch 'jayrde/wip-autoconf-cleanup'Adam Disney2014-06-161-1068/+0
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: .gitignore INSTALL Makefile.in aclocal.m4 config.guess config.sub configure examples/Makefile.in include/config.h.in include/config.h.in~ install-sh ltmain.sh m4/libtool.m4 m4/ltversion.m4 missing src/Makefile.in test/Makefile.in tools/Makefile.in
| * | remove autogenerated files from repositoryJens Rosenboom2014-03-181-512/+0
| | |
* | | Implemented CARRY_FREE_GK. Sections added are tagged with a comment //ADAMAdam Disney2014-06-061-2/+3
| |/ |/| | | | | for easy navigation.
* | Ran autogen to pick-up the changes needed to run 'make check'Kevin Greenan2014-04-021-118/+674
| |
* | add make check target and basic testsLoic Dachary2014-04-022-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To conveniently run tests as $ make check ============================================================================ Testsuite summary for gf-complete 1.0 ============================================================================ # TOTAL: 1 # PASS: 1 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ The run-tests.sh script loops over gf_methods and is introduced because autotools does not allow tests to have parameters in the Makefile.am Signed-off-by: Loic Dachary <loic@dachary.org>
* | main() returns intLoic Dachary2014-03-062-1/+2
| | | | | | | | Signed-off-by: Loic Dachary <loic@dachary.org>
* | remove unused variables from #if SSE blocsLoic Dachary2014-03-063-5/+3
| | | | | | | | Signed-off-by: Loic Dachary <loic@dachary.org>
* | remove spurious i < in for loopLoic Dachary2014-03-061-1/+1
| | | | | | | | Signed-off-by: Loic Dachary <loic@dachary.org>
* | silence some warnings for unset variablesLoic Dachary2014-03-061-2/+2
| | | | | | | | | | | | | | By setting them when they are defined and when the compiler fails to see the logic is ok. Signed-off-by: Loic Dachary <loic@dachary.org>
* | cast void* to char* for pointer arithmeticLoic Dachary2014-03-061-6/+7
|/ | | | Signed-off-by: Loic Dachary <loic@dachary.org>
* Removed GROUP/128/SSE. It wasn't compiling, and it needed an overhaul.Jim Plank2014-01-011-2/+2
| | | | I'll do it someday when I'm bored.
* Third.1 time's a charm (autoconf non-sense for PCLMUL).Kevin Greenan2013-12-301-234/+114
|
* Revert "Third time's a charm (autoconf non-sense for PCLMUL)."Kevin Greenan2013-12-301-66/+136
| | | | | | The commit was not successfully pushed (not sure what happened). This reverts commit 762926920aa6b0067443e7c085bddf22d03a1d04.
* Third time's a charm (autoconf non-sense for PCLMUL).Kevin Greenan2013-12-301-136/+66
|
* Added entry to configure.ac to avoid running autotools during normal build.Kevin Greenan2013-12-301-3/+4
|
* Added PCLMUL to the autoconf macro...Kevin Greenan2013-12-301-66/+136
|
* Some wordsmithing.Jim Plank2013-12-302-14/+18
|
* Added time_tool.sh to tools for quick timing.Jim Plank2013-12-292-81/+256
| | | | Modified gf_methods to be a little more flexible.
* Added exhaustive test support (Ethan's changes to gf_unit and gf_methods) ↵Kevin Greenan2013-12-073-51/+58
| | | | and overrode autoconf's defaults for CFLAGS.
* Setting up autoconf/automake for GF-CompleteKevin Greenan2013-12-049-0/+1637
Also re-organized the directory structure. Signed-off-by: Kevin Greenan <kmgreen2@gmail.com>