diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2012-05-31 15:51:59 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-12 04:29:44 +0200 |
commit | f5a7d88378ce7a4dac09e07b9a03e680d0edb799 (patch) | |
tree | 286268da7739535d15151fa1b19746c3b6502623 | |
parent | 6a51062e996ec38b3ebc1e0de04af73a5c62a1a0 (diff) |
Move the AVX and SSE tests to config.tests/common
This is the first step in supporting these checks on Windows.
Change-Id: I77cfd46bd733161ad2e52c2f76a6354b95ff737d
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
-rw-r--r-- | config.tests/common/avx/avx.cpp (renamed from config.tests/unix/avx/avx.cpp) | 0 | ||||
-rw-r--r-- | config.tests/common/avx/avx.pro (renamed from config.tests/unix/avx/avx.pro) | 0 | ||||
-rw-r--r-- | config.tests/common/avx2/avx2.cpp (renamed from config.tests/unix/avx2/avx2.cpp) | 0 | ||||
-rw-r--r-- | config.tests/common/avx2/avx2.pro (renamed from config.tests/unix/avx2/avx2.pro) | 0 | ||||
-rw-r--r-- | config.tests/common/sse2/sse2.cpp (renamed from config.tests/unix/sse2/sse2.cpp) | 0 | ||||
-rw-r--r-- | config.tests/common/sse2/sse2.pro (renamed from config.tests/unix/sse2/sse2.pro) | 0 | ||||
-rw-r--r-- | config.tests/common/sse3/sse3.cpp (renamed from config.tests/unix/sse3/sse3.cpp) | 0 | ||||
-rw-r--r-- | config.tests/common/sse3/sse3.pro (renamed from config.tests/unix/sse3/sse3.pro) | 0 | ||||
-rw-r--r-- | config.tests/common/sse4_1/sse4_1.cpp (renamed from config.tests/unix/sse4_1/sse4_1.cpp) | 0 | ||||
-rw-r--r-- | config.tests/common/sse4_1/sse4_1.pro (renamed from config.tests/unix/sse4_1/sse4_1.pro) | 0 | ||||
-rw-r--r-- | config.tests/common/sse4_2/sse4_2.cpp (renamed from config.tests/unix/sse4_2/sse4_2.cpp) | 0 | ||||
-rw-r--r-- | config.tests/common/sse4_2/sse4_2.pro (renamed from config.tests/unix/sse4_2/sse4_2.pro) | 0 | ||||
-rw-r--r-- | config.tests/common/ssse3/ssse3.cpp (renamed from config.tests/unix/ssse3/ssse3.cpp) | 0 | ||||
-rw-r--r-- | config.tests/common/ssse3/ssse3.pro (renamed from config.tests/unix/ssse3/ssse3.pro) | 0 | ||||
-rwxr-xr-x | configure | 14 |
15 files changed, 7 insertions, 7 deletions
diff --git a/config.tests/unix/avx/avx.cpp b/config.tests/common/avx/avx.cpp index bc5be65e65..bc5be65e65 100644 --- a/config.tests/unix/avx/avx.cpp +++ b/config.tests/common/avx/avx.cpp diff --git a/config.tests/unix/avx/avx.pro b/config.tests/common/avx/avx.pro index f16f7e8f4d..f16f7e8f4d 100644 --- a/config.tests/unix/avx/avx.pro +++ b/config.tests/common/avx/avx.pro diff --git a/config.tests/unix/avx2/avx2.cpp b/config.tests/common/avx2/avx2.cpp index 9e56531220..9e56531220 100644 --- a/config.tests/unix/avx2/avx2.cpp +++ b/config.tests/common/avx2/avx2.cpp diff --git a/config.tests/unix/avx2/avx2.pro b/config.tests/common/avx2/avx2.pro index 09590a8379..09590a8379 100644 --- a/config.tests/unix/avx2/avx2.pro +++ b/config.tests/common/avx2/avx2.pro diff --git a/config.tests/unix/sse2/sse2.cpp b/config.tests/common/sse2/sse2.cpp index 27ebb00326..27ebb00326 100644 --- a/config.tests/unix/sse2/sse2.cpp +++ b/config.tests/common/sse2/sse2.cpp diff --git a/config.tests/unix/sse2/sse2.pro b/config.tests/common/sse2/sse2.pro index 13f252ae48..13f252ae48 100644 --- a/config.tests/unix/sse2/sse2.pro +++ b/config.tests/common/sse2/sse2.pro diff --git a/config.tests/unix/sse3/sse3.cpp b/config.tests/common/sse3/sse3.cpp index c35586ab94..c35586ab94 100644 --- a/config.tests/unix/sse3/sse3.cpp +++ b/config.tests/common/sse3/sse3.cpp diff --git a/config.tests/unix/sse3/sse3.pro b/config.tests/common/sse3/sse3.pro index 8d9853ce77..8d9853ce77 100644 --- a/config.tests/unix/sse3/sse3.pro +++ b/config.tests/common/sse3/sse3.pro diff --git a/config.tests/unix/sse4_1/sse4_1.cpp b/config.tests/common/sse4_1/sse4_1.cpp index b2762b990f..b2762b990f 100644 --- a/config.tests/unix/sse4_1/sse4_1.cpp +++ b/config.tests/common/sse4_1/sse4_1.cpp diff --git a/config.tests/unix/sse4_1/sse4_1.pro b/config.tests/common/sse4_1/sse4_1.pro index 539517605d..539517605d 100644 --- a/config.tests/unix/sse4_1/sse4_1.pro +++ b/config.tests/common/sse4_1/sse4_1.pro diff --git a/config.tests/unix/sse4_2/sse4_2.cpp b/config.tests/common/sse4_2/sse4_2.cpp index 9052d0685c..9052d0685c 100644 --- a/config.tests/unix/sse4_2/sse4_2.cpp +++ b/config.tests/common/sse4_2/sse4_2.cpp diff --git a/config.tests/unix/sse4_2/sse4_2.pro b/config.tests/common/sse4_2/sse4_2.pro index 044eb197af..044eb197af 100644 --- a/config.tests/unix/sse4_2/sse4_2.pro +++ b/config.tests/common/sse4_2/sse4_2.pro diff --git a/config.tests/unix/ssse3/ssse3.cpp b/config.tests/common/ssse3/ssse3.cpp index f486bed378..f486bed378 100644 --- a/config.tests/unix/ssse3/ssse3.cpp +++ b/config.tests/common/ssse3/ssse3.cpp diff --git a/config.tests/unix/ssse3/ssse3.pro b/config.tests/common/ssse3/ssse3.pro index dd86c41abb..dd86c41abb 100644 --- a/config.tests/unix/ssse3/ssse3.pro +++ b/config.tests/common/ssse3/ssse3.pro @@ -3757,7 +3757,7 @@ fi # detect sse2 support if [ "${CFG_SSE2}" = "auto" ]; then - if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/sse2 "sse2" $L_FLAGS $I_FLAGS $D_FLAGS $l_FLAGS; then + if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/common/sse2 "sse2" $L_FLAGS $I_FLAGS $D_FLAGS $l_FLAGS; then CFG_SSE2=yes else CFG_SSE2=no @@ -3766,7 +3766,7 @@ fi # detect sse3 support if [ "${CFG_SSE3}" = "auto" ]; then - if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/sse3 "sse3" $L_FLAGS $I_FLAGS $D_FLAGS $l_FLAGS; then + if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/common/sse3 "sse3" $L_FLAGS $I_FLAGS $D_FLAGS $l_FLAGS; then CFG_SSE3=yes else CFG_SSE3=no @@ -3775,7 +3775,7 @@ fi # detect ssse3 support if [ "${CFG_SSSE3}" = "auto" ]; then - if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/ssse3 "ssse3" $L_FLAGS $I_FLAGS $D_FLAGS $l_FLAGS; then + if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/common/ssse3 "ssse3" $L_FLAGS $I_FLAGS $D_FLAGS $l_FLAGS; then CFG_SSSE3=yes else CFG_SSSE3=no @@ -3784,7 +3784,7 @@ fi # detect sse4.1 support if [ "${CFG_SSE4_1}" = "auto" ]; then - if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/sse4_1 "sse4_1" $L_FLAGS $I_FLAGS $D_FLAGS $l_FLAGS; then + if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/common/sse4_1 "sse4_1" $L_FLAGS $I_FLAGS $D_FLAGS $l_FLAGS; then CFG_SSE4_1=yes else CFG_SSE4_1=no @@ -3793,7 +3793,7 @@ fi # detect sse4.2 support if [ "${CFG_SSE4_2}" = "auto" ]; then - if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/sse4_2 "sse4_2" $L_FLAGS $I_FLAGS $D_FLAGS $l_FLAGS; then + if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/common/sse4_2 "sse4_2" $L_FLAGS $I_FLAGS $D_FLAGS $l_FLAGS; then CFG_SSE4_2=yes else CFG_SSE4_2=no @@ -3802,7 +3802,7 @@ fi # detect avx support if [ "${CFG_AVX}" = "auto" ]; then - if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/avx "avx" $L_FLAGS $I_FLAGS $D_FLAGS $l_FLAGS; then + if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/common/avx "avx" $L_FLAGS $I_FLAGS $D_FLAGS $l_FLAGS; then case "$XQMAKESPEC" in *g++*|*-clang*) # Some clang versions produce internal compiler errors compiling Qt AVX code @@ -3832,7 +3832,7 @@ if [ "${CFG_AVX}" = "no" ]; then CFG_AVX2=no fi if [ "${CFG_AVX2}" = "auto" ]; then - if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/avx2 "avx2" $L_FLAGS $I_FLAGS $D_FLAGS $l_FLAGS; then + if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/common/avx2 "avx2" $L_FLAGS $I_FLAGS $D_FLAGS $l_FLAGS; then CFG_AVX2=yes else CFG_AVX2=no |