tesseract/arch
James R. Barlow fa677f1ba1 Implement SIMD detection on macOS-gcc; complain if no SIMD detection
Change SIMD detection to instead check for compilers with __get_cpuid.
Verified that this compiles and runs on macOS El Capitan with homebrew gcc.

Also added an #error if SIMD checking is missing. Compilers that have no
SIMD should make that explicit.

[sw: Merged original commits and slightly polished the commit message]
[sw: Removed test for __MINGW32__ which is no longer needed]

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-01-23 13:41:03 +01:00
..
dotproductavx.cpp Fix 32 bit builds (missing _mm256_extract_epi64) 2016-11-24 07:32:49 +01:00
dotproductavx.h Added new LSTM-based neural network line recognizer 2016-11-07 15:38:07 -08:00
dotproductsse.cpp Added new LSTM-based neural network line recognizer 2016-11-07 15:38:07 -08:00
dotproductsse.h Added new LSTM-based neural network line recognizer 2016-11-07 15:38:07 -08:00
Makefile.am lstm: Move class SIMDDetect to new source file and improve code 2016-12-27 13:25:08 +01:00
simddetect.cpp Implement SIMD detection on macOS-gcc; complain if no SIMD detection 2017-01-23 13:41:03 +01:00
simddetect.h Fix windows dll build. 2016-12-28 23:32:52 +03:00