More accurate AVX and AVX2 control.
authorAlexander Smorkalov <alexander.smorkalov@itseez.com>
Tue, 30 Dec 2014 17:11:42 +0000 (20:11 +0300)
committerAlexander Smorkalov <alexander.smorkalov@itseez.com>
Sun, 4 Jan 2015 20:41:14 +0000 (23:41 +0300)
commitc778011f1420a1e0e2984ed21de954d88d2bf5b3
tree56f02296da0c6782c40fd6050cdb22ed8a0449f5
parent4e9cb475daeb8e94dd1d5b8146f74fcb682ddf32
More accurate AVX and AVX2 control.

- Previous version just checked option support, but not enable it.
- Also OpenCV tests reports invalid AVX and AVX2 support status.
cmake/OpenCVCompilerOptions.cmake
modules/ts/src/ts_func.cpp