qt5base-lts/tools/configure
Thiago Macieira 689e8055f5 Add support for single-file multi-target intrinsics in Qt
GCC 4.9 now allows us to #include any and all intrinsics headers, not
just the one for which we're compiling code, a behavior that ICC and
MSVC have had for some time. With that, we're able to have the functions
for different targets in the same source file. See the GCC manual:
  http://gcc.gnu.org/onlinedocs/gcc/Function-Multiversioning.html

This functionality is notified by the QT_COMPILER_SUPPORTS_HERE(XXX)
macro, which indicates that all the intrinsics from
QT_COMPILER_SUPPORTS_xxx are available and enabled. To complement, a
QT_COMPILER_SUPPORTS(XXX) macro is also added.

Unlike ICC and MSVC, GCC requires a special function attribute, which
will also cause code optimization. That's the QT_FUNCTION_TARGET macro.

Note: because of the absence of the target attribute, ICC and MSVC will
not generate instructions with the VEX prefix unless they only exist
with the VEX prefix or if -mavx / -arch:AVX are enabled.

Change-Id: I0c1880c20324bd8e0fc68a863e36d1fa7755dff0
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
2014-05-27 06:26:57 +02:00
..
configure_pch.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
configure.pro De-inline QDebug destructor 2014-05-22 08:35:06 +02:00
configureapp.cpp Add support for single-file multi-target intrinsics in Qt 2014-05-27 06:26:57 +02:00
configureapp.h Revert "Automatically link printsupport plugins to static applications." 2014-04-18 07:44:57 +02:00
environment.cpp expand tabs and related whitespace fixes in *.{cpp,h,qdoc} 2014-01-13 22:46:50 +01:00
environment.h add support for Visual Studio 2013 2013-07-04 12:54:58 +02:00
main.cpp expand tabs and related whitespace fixes in *.{cpp,h,qdoc} 2014-01-13 22:46:50 +01:00
Makefile.mingw De-inline QDebug destructor 2014-05-22 08:35:06 +02:00
Makefile.win32 De-inline QDebug destructor 2014-05-22 08:35:06 +02:00
tools.cpp Use configure -confirm-license option also in commercial Qt versions 2014-04-01 11:15:52 +02:00
tools.h Externalize license key handling from configure 2014-03-25 12:50:28 +01:00