tesseract/src/arch
Robin Watts a9b44ee8c2 Tweak architecture specific SIMD files for ease of compilation.
This won't affect anything using the supplied build system. For
other projects that include tesseract within them, however, this
may make their life easier.

For example, I have an integration of Tesseract with Ghostscript,
in which tesseract is built as part of the Ghostscript build,
without using the tesseract build system.

The Ghostscript build system is makefile based, and has to work
on a range of make systems, including unix make, gnu make and
nmake. As such we have to avoid conditionals in the common
makefiles. It therefore becomes hard to build one set of files on
x86 systems, and another on (say) ARM systems.

Accordingly, this commit makes small tweaks to the architecture
specific files, so that they compile on EVERY platform; just they
only compile to anything useful on the appropriate platform.

Thus the makefiles can build all the files on all the systems, and
the preprocessor flags mean that the correct functions are actually
built.
2020-05-12 13:09:29 +01:00
..
dotproduct.cpp Add config variable for selection of dot product function 2018-12-01 00:19:28 +01:00
dotproduct.h arch: Reduce number of include files for dot product functions 2019-07-12 23:18:00 +02:00
dotproductavx.cpp Tweak architecture specific SIMD files for ease of compilation. 2020-05-12 13:09:29 +01:00
dotproductfma.cpp Tweak architecture specific SIMD files for ease of compilation. 2020-05-12 13:09:29 +01:00
dotproductsse.cpp Tweak architecture specific SIMD files for ease of compilation. 2020-05-12 13:09:29 +01:00
intsimdmatrix.cpp Update includes to use <>. 2019-10-29 14:50:11 +03:00
intsimdmatrix.h Modernize and format code 2019-04-03 21:02:23 +02:00
intsimdmatrixavx2.cpp Tweak architecture specific SIMD files for ease of compilation. 2020-05-12 13:09:29 +01:00
intsimdmatrixsse.cpp Tweak architecture specific SIMD files for ease of compilation. 2020-05-12 13:09:29 +01:00
simddetect.cpp Run xgetbv instruction only on machines which support it 2020-03-08 17:32:10 +01:00
simddetect.h Update includes to use <>. 2019-10-29 14:50:11 +03:00