Commit Graph

16 Commits (master)

Author SHA1 Message Date
Bassam Tabbara 0690ba86a8 Added --enable flags for debugging runtime SIMD 2016-09-13 12:25:00 -07:00
Bassam Tabbara ad11042132 Simplify SIMD make scripts
ax_ext.m4 no longer performs any CPU checks. Instead it just checks
if the the compile supports SIMD flags.

Runtime detection will choose the right methods base on CPU
instructions available.

Intel AVX support is still done through the build since it would
require a major refactoring of the code base to support it at runtime.
For now I added a configuration flag --enable-avx that can be used
to compile with AVX support.

Also use cpu intrinsics instead of __asm__
2016-09-13 12:25:00 -07:00
Loic Dachary 22cd7b15e8 add --enable-valgrind for make check
If --enable-valgrind is given to ./configure, all tests are run with
valgrind set to fail if an error is reported ( --error-exitcode=1 )

Signed-off-by: Loic Dachary <loic@dachary.org>
2016-09-13 10:09:00 +02:00
Janne Grunau 36e75c3efe use posix_memalign to align memory for SIMD region tests
Properly emulate aligned allocation if posix_memalign is not available.
2014-10-09 23:22:34 +02:00
Janne Grunau eb5ce0ca42 configure: add ARM/AArch64 NEON support
Checks for arm_neon.h header.
2014-10-09 23:22:33 +02:00
Janne Grunau 2a2f1e306f check: split unit tests and support paralell execution 2014-10-09 23:22:29 +02:00
Janne Grunau d315d20d56 build: make CFLAGS user setable
There is no need to force the non-default CFLAGS on users trying to set
them via enviroment variable or on configure command.
2014-10-09 23:19:28 +02:00
Adam Disney d08de3bdcb Merge remote-tracking branch 'jayrde/wip-autoconf-cleanup'
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
2014-06-16 12:24:06 -04:00
Kevin Greenan a11dc931ff Adding option to disable SSE in autoconf script 2014-06-09 11:21:01 -07:00
Loic Dachary 564f019f49 Show pointer arithmetic warnings by default
So that a void* being used in pointer arithmetic does not go unnoticed.

Signed-off-by: Loic Dachary <loic@dachary.org>
2014-04-10 17:20:42 +02:00
Jens Rosenboom 034c73cdf5 fixup AM_INIT_AUTOMAKE call 2014-03-18 22:31:14 +01:00
Loic Dachary 4bf474daf7 increase compilation warning level to -Wall
and remove unused CXXFLAGS

Signed-off-by: Loic Dachary <loic@dachary.org>
2014-03-06 15:15:22 +01:00
Kevin Greenan dcf65692b0 Updated autoconf to put BSD license in COPYING. 2014-01-07 08:36:44 -08:00
Kevin Greenan a98f6c1115 Added entry to configure.ac to avoid running autotools during normal build. 2013-12-30 16:31:54 -08:00
Kevin Greenan e1c76b4dd4 Added exhaustive test support (Ethan's changes to gf_unit and gf_methods) and overrode autoconf's defaults for CFLAGS. 2013-12-07 16:05:31 -08:00
Kevin Greenan 153dd20988 Setting up autoconf/automake for GF-Complete
Also re-organized the directory structure.

Signed-off-by: Kevin Greenan <kmgreen2@gmail.com>
2013-12-04 21:24:29 -08:00