We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd48287 commit facd55aCopy full SHA for facd55a
src/arch/intsimdmatrixavx2.cpp
@@ -27,6 +27,14 @@
27
# include <cstdint>
28
# include <vector>
29
30
+# if defined(_MSC_VER) && _MSC_VER >= 1925 && _MSC_VER <= 1929 && \
31
+ defined(_WIN32) && !defined(_WIN64)
32
+// Optimize for size (/Os) instead of using the default optimization for some
33
+// versions of the 32 bit Visual Studio compiler which generate buggy code.
34
+# pragma optimize("", off)
35
+# pragma optimize("s", on)
36
+# endif
37
+
38
namespace tesseract {
39
40
// Number of outputs held in each register. 8 x 32 bit ints.
0 commit comments