diff options
Diffstat (limited to 'config.tests/unix/avx')
-rw-r--r-- | config.tests/unix/avx/avx.cpp | 51 | ||||
-rw-r--r-- | config.tests/unix/avx/avx.pro | 5 |
2 files changed, 0 insertions, 56 deletions
diff --git a/config.tests/unix/avx/avx.cpp b/config.tests/unix/avx/avx.cpp deleted file mode 100644 index bc5be65e65..0000000000 --- a/config.tests/unix/avx/avx.cpp +++ /dev/null @@ -1,51 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/ -** -** This file is part of the config.tests of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** GNU Lesser General Public License Usage -** This file may be used under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation and -** appearing in the file LICENSE.LGPL included in the packaging of this -** file. Please review the following information to ensure the GNU Lesser -** General Public License version 2.1 requirements will be met: -** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt LGPL Exception -** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU General -** Public License version 3.0 as published by the Free Software Foundation -** and appearing in the file LICENSE.GPL included in the packaging of this -** file. Please review the following information to ensure the GNU General -** Public License version 3.0 requirements will be met: -** http://www.gnu.org/copyleft/gpl.html. -** -** Other Usage -** Alternatively, this file may be used in accordance with the terms and -** conditions contained in a signed written agreement between you and Nokia. -** -** -** -** -** -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#include <immintrin.h> - -int main(int, char**) -{ - volatile __m256d a = _mm256_setzero_pd(); - volatile __m256d b = _mm256_set1_pd(42.42); - volatile __m256d result = _mm256_add_pd(a, b); - (void)result; - return 0; -} diff --git a/config.tests/unix/avx/avx.pro b/config.tests/unix/avx/avx.pro deleted file mode 100644 index f16f7e8f4d..0000000000 --- a/config.tests/unix/avx/avx.pro +++ /dev/null @@ -1,5 +0,0 @@ -SOURCES = avx.cpp -CONFIG -= x11 qt -mac:CONFIG -= app_bundle -isEmpty(QMAKE_CFLAGS_AVX):error("This compiler does not support AVX") -else:QMAKE_CXXFLAGS += $$QMAKE_CFLAGS_AVX |