Move qsimd* from corelib/tools to corelib/global
It's not used in tools at all and fits a lot better in global. Also fix the qsimd_x86* files to have a proper copyright header. Change-Id: Id3d8e7cfcd7769a1ca9f3d8cf6d357a31a99ba40 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
This commit is contained in:
parent
c0538d5ff3
commit
f2f32b88b8
@ -29,6 +29,7 @@ qt_add_module(Core
|
||||
global/qoperatingsystemversion.cpp global/qoperatingsystemversion.h global/qoperatingsystemversion_p.h
|
||||
global/qprocessordetection.h
|
||||
global/qrandom.cpp global/qrandom.h global/qrandom_p.h
|
||||
global/qsimd.cpp global/qsimd_p.h
|
||||
global/qsysinfo.h
|
||||
global/qsystemdetection.h
|
||||
global/qtypeinfo.h
|
||||
@ -211,7 +212,6 @@ qt_add_module(Core
|
||||
tools/qshareddata.cpp tools/qshareddata.h
|
||||
tools/qsharedpointer.cpp tools/qsharedpointer.h
|
||||
tools/qsharedpointer_impl.h
|
||||
tools/qsimd.cpp tools/qsimd_p.h
|
||||
tools/qsize.cpp tools/qsize.h
|
||||
tools/qstack.h
|
||||
tools/qtaggedpointer.h
|
||||
|
@ -45,6 +45,7 @@ qt_add_module(Core
|
||||
global/qoperatingsystemversion.cpp global/qoperatingsystemversion.h global/qoperatingsystemversion_p.h
|
||||
global/qprocessordetection.h
|
||||
global/qrandom.cpp global/qrandom.h global/qrandom_p.h
|
||||
global/qsimd.cpp global/qsimd_p.h
|
||||
global/qsysinfo.h
|
||||
global/qsystemdetection.h
|
||||
global/qtypeinfo.h
|
||||
@ -227,7 +228,6 @@ qt_add_module(Core
|
||||
tools/qshareddata.cpp tools/qshareddata.h
|
||||
tools/qsharedpointer.cpp tools/qsharedpointer.h
|
||||
tools/qsharedpointer_impl.h
|
||||
tools/qsimd.cpp tools/qsimd_p.h
|
||||
tools/qsize.cpp tools/qsize.h
|
||||
tools/qstack.h
|
||||
tools/qtaggedpointer.h
|
||||
|
@ -20,6 +20,7 @@ HEADERS += \
|
||||
global/qtypeinfo.h \
|
||||
global/qsysinfo.h \
|
||||
global/qisenum.h \
|
||||
global/qsimd_p.h \
|
||||
global/qtypetraits.h \
|
||||
global/qflags.h \
|
||||
global/qrandom.h \
|
||||
@ -38,6 +39,7 @@ SOURCES += \
|
||||
global/qoperatingsystemversion.cpp \
|
||||
global/qlogging.cpp \
|
||||
global/qrandom.cpp \
|
||||
global/qsimd.cpp \
|
||||
global/qhooks.cpp
|
||||
|
||||
# To get listed in IDEs
|
||||
|
@ -1,3 +1,42 @@
|
||||
/****************************************************************************
|
||||
**
|
||||
** Copyright (C) 2018 Intel Corporation.
|
||||
** Contact: https://www.qt.io/licensing/
|
||||
**
|
||||
** This file is part of the QtCore module of the Qt Toolkit.
|
||||
**
|
||||
** $QT_BEGIN_LICENSE:LGPL$
|
||||
** Commercial License Usage
|
||||
** Licensees holding valid commercial Qt licenses may use this file in
|
||||
** accordance with the commercial license agreement provided with the
|
||||
** Software or, alternatively, in accordance with the terms contained in
|
||||
** a written agreement between you and The Qt Company. For licensing terms
|
||||
** and conditions see https://www.qt.io/terms-conditions. For further
|
||||
** information use the contact form at https://www.qt.io/contact-us.
|
||||
**
|
||||
** GNU Lesser General Public License Usage
|
||||
** Alternatively, this file may be used under the terms of the GNU Lesser
|
||||
** General Public License version 3 as published by the Free Software
|
||||
** Foundation and appearing in the file LICENSE.LGPL3 included in the
|
||||
** packaging of this file. Please review the following information to
|
||||
** ensure the GNU Lesser General Public License version 3 requirements
|
||||
** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
|
||||
**
|
||||
** GNU General Public License Usage
|
||||
** Alternatively, this file may be used under the terms of the GNU
|
||||
** General Public License version 2.0 or (at your option) the GNU General
|
||||
** Public license version 3 or any later version approved by the KDE Free
|
||||
** Qt Foundation. The licenses are as published by the Free Software
|
||||
** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
||||
** included in the packaging of this file. Please review the following
|
||||
** information to ensure the GNU General Public License requirements will
|
||||
** be met: https://www.gnu.org/licenses/gpl-2.0.html and
|
||||
** https://www.gnu.org/licenses/gpl-3.0.html.
|
||||
**
|
||||
** $QT_END_LICENSE$
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
// This is a generated file. DO NOT EDIT.
|
||||
// Please see util/x86simdgen/generate.pl
|
||||
#include "qsimd_p.h"
|
@ -1,3 +1,42 @@
|
||||
/****************************************************************************
|
||||
**
|
||||
** Copyright (C) 2018 Intel Corporation.
|
||||
** Contact: https://www.qt.io/licensing/
|
||||
**
|
||||
** This file is part of the QtCore module of the Qt Toolkit.
|
||||
**
|
||||
** $QT_BEGIN_LICENSE:LGPL$
|
||||
** Commercial License Usage
|
||||
** Licensees holding valid commercial Qt licenses may use this file in
|
||||
** accordance with the commercial license agreement provided with the
|
||||
** Software or, alternatively, in accordance with the terms contained in
|
||||
** a written agreement between you and The Qt Company. For licensing terms
|
||||
** and conditions see https://www.qt.io/terms-conditions. For further
|
||||
** information use the contact form at https://www.qt.io/contact-us.
|
||||
**
|
||||
** GNU Lesser General Public License Usage
|
||||
** Alternatively, this file may be used under the terms of the GNU Lesser
|
||||
** General Public License version 3 as published by the Free Software
|
||||
** Foundation and appearing in the file LICENSE.LGPL3 included in the
|
||||
** packaging of this file. Please review the following information to
|
||||
** ensure the GNU Lesser General Public License version 3 requirements
|
||||
** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
|
||||
**
|
||||
** GNU General Public License Usage
|
||||
** Alternatively, this file may be used under the terms of the GNU
|
||||
** General Public License version 2.0 or (at your option) the GNU General
|
||||
** Public license version 3 or any later version approved by the KDE Free
|
||||
** Qt Foundation. The licenses are as published by the Free Software
|
||||
** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
||||
** included in the packaging of this file. Please review the following
|
||||
** information to ensure the GNU General Public License requirements will
|
||||
** be met: https://www.gnu.org/licenses/gpl-2.0.html and
|
||||
** https://www.gnu.org/licenses/gpl-3.0.html.
|
||||
**
|
||||
** $QT_END_LICENSE$
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
// This is a generated file. DO NOT EDIT.
|
||||
// Please see util/x86simdgen/generate.pl
|
||||
#ifndef QSIMD_P_H
|
@ -40,7 +40,6 @@ HEADERS += \
|
||||
tools/qsharedpointer.h \
|
||||
tools/qsharedpointer_impl.h \
|
||||
tools/qset.h \
|
||||
tools/qsimd_p.h \
|
||||
tools/qsize.h \
|
||||
tools/qstack.h \
|
||||
tools/qtools_p.h \
|
||||
@ -67,7 +66,6 @@ SOURCES += \
|
||||
tools/qringbuffer.cpp \
|
||||
tools/qshareddata.cpp \
|
||||
tools/qsharedpointer.cpp \
|
||||
tools/qsimd.cpp \
|
||||
tools/qsize.cpp \
|
||||
tools/qversionnumber.cpp
|
||||
|
||||
|
@ -65,7 +65,46 @@ if (my $h = shift @ARGV) {
|
||||
}
|
||||
|
||||
# Print the qsimd_x86_p.h output
|
||||
print q{// This is a generated file. DO NOT EDIT.
|
||||
print q{/****************************************************************************
|
||||
**
|
||||
** Copyright (C) 2018 Intel Corporation.
|
||||
** Contact: https://www.qt.io/licensing/
|
||||
**
|
||||
** This file is part of the QtCore module of the Qt Toolkit.
|
||||
**
|
||||
** $QT_BEGIN_LICENSE:LGPL$
|
||||
** Commercial License Usage
|
||||
** Licensees holding valid commercial Qt licenses may use this file in
|
||||
** accordance with the commercial license agreement provided with the
|
||||
** Software or, alternatively, in accordance with the terms contained in
|
||||
** a written agreement between you and The Qt Company. For licensing terms
|
||||
** and conditions see https://www.qt.io/terms-conditions. For further
|
||||
** information use the contact form at https://www.qt.io/contact-us.
|
||||
**
|
||||
** GNU Lesser General Public License Usage
|
||||
** Alternatively, this file may be used under the terms of the GNU Lesser
|
||||
** General Public License version 3 as published by the Free Software
|
||||
** Foundation and appearing in the file LICENSE.LGPL3 included in the
|
||||
** packaging of this file. Please review the following information to
|
||||
** ensure the GNU Lesser General Public License version 3 requirements
|
||||
** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
|
||||
**
|
||||
** GNU General Public License Usage
|
||||
** Alternatively, this file may be used under the terms of the GNU
|
||||
** General Public License version 2.0 or (at your option) the GNU General
|
||||
** Public license version 3 or any later version approved by the KDE Free
|
||||
** Qt Foundation. The licenses are as published by the Free Software
|
||||
** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
||||
** included in the packaging of this file. Please review the following
|
||||
** information to ensure the GNU General Public License requirements will
|
||||
** be met: https://www.gnu.org/licenses/gpl-2.0.html and
|
||||
** https://www.gnu.org/licenses/gpl-3.0.html.
|
||||
**
|
||||
** $QT_END_LICENSE$
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
// This is a generated file. DO NOT EDIT.
|
||||
// Please see util/x86simdgen/generate.pl";
|
||||
#ifndef QSIMD_P_H
|
||||
# error "Please include <private/qsimd_p.h> instead"
|
||||
@ -142,10 +181,49 @@ if (my $cpp = shift @ARGV) {
|
||||
};
|
||||
};
|
||||
|
||||
print "// This is a generated file. DO NOT EDIT.";
|
||||
print "// Please see util/x86simdgen/generate.pl";
|
||||
print '#include "qsimd_p.h"';
|
||||
print "";
|
||||
print q{/****************************************************************************
|
||||
**
|
||||
** Copyright (C) 2018 Intel Corporation.
|
||||
** Contact: https://www.qt.io/licensing/
|
||||
**
|
||||
** This file is part of the QtCore module of the Qt Toolkit.
|
||||
**
|
||||
** $QT_BEGIN_LICENSE:LGPL$
|
||||
** Commercial License Usage
|
||||
** Licensees holding valid commercial Qt licenses may use this file in
|
||||
** accordance with the commercial license agreement provided with the
|
||||
** Software or, alternatively, in accordance with the terms contained in
|
||||
** a written agreement between you and The Qt Company. For licensing terms
|
||||
** and conditions see https://www.qt.io/terms-conditions. For further
|
||||
** information use the contact form at https://www.qt.io/contact-us.
|
||||
**
|
||||
** GNU Lesser General Public License Usage
|
||||
** Alternatively, this file may be used under the terms of the GNU Lesser
|
||||
** General Public License version 3 as published by the Free Software
|
||||
** Foundation and appearing in the file LICENSE.LGPL3 included in the
|
||||
** packaging of this file. Please review the following information to
|
||||
** ensure the GNU Lesser General Public License version 3 requirements
|
||||
** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
|
||||
**
|
||||
** GNU General Public License Usage
|
||||
** Alternatively, this file may be used under the terms of the GNU
|
||||
** General Public License version 2.0 or (at your option) the GNU General
|
||||
** Public license version 3 or any later version approved by the KDE Free
|
||||
** Qt Foundation. The licenses are as published by the Free Software
|
||||
** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
||||
** included in the packaging of this file. Please review the following
|
||||
** information to ensure the GNU General Public License requirements will
|
||||
** be met: https://www.gnu.org/licenses/gpl-2.0.html and
|
||||
** https://www.gnu.org/licenses/gpl-3.0.html.
|
||||
**
|
||||
** $QT_END_LICENSE$
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
// This is a generated file. DO NOT EDIT.
|
||||
// Please see util/x86simdgen/generate.pl";
|
||||
#include "qsimd_p.h"
|
||||
};
|
||||
|
||||
# Now generate the string table and bit-location array
|
||||
my $offset = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user