2022-05-10 10:06:48 +00:00
|
|
|
// Copyright (C) 2016 The Qt Company Ltd.
|
|
|
|
// Copyright (C) 2016 Intel Corporation.
|
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
2012-02-14 09:01:17 +00:00
|
|
|
|
2012-03-28 19:28:46 +00:00
|
|
|
#define QGLOBAL_H
|
2014-03-06 20:58:21 +00:00
|
|
|
#include "../../src/corelib/global/archdetect.cpp"
|
2012-03-27 17:43:45 +00:00
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
extern const char msg[];
|
2014-03-06 20:58:21 +00:00
|
|
|
const char msg[] = "==Qt=magic=Qt== Architecture:" ARCH_PROCESSOR;
|
2012-03-27 17:43:45 +00:00
|
|
|
|
2011-12-31 22:40:49 +00:00
|
|
|
extern const char msg2[];
|
|
|
|
const char msg2[] = "==Qt=magic=Qt== Sub-architecture:"
|
|
|
|
// This is the list of features found in GCC or MSVC
|
|
|
|
// We don't use all of them, but this is ready for future expansion
|
|
|
|
|
|
|
|
// -- x86 --
|
|
|
|
#ifdef __3dNOW__
|
|
|
|
// 3dNow!, introduced with the AMD K6-2, discontinued after 2010
|
|
|
|
" 3dnow"
|
|
|
|
#endif
|
|
|
|
#ifdef __3dNOW_A__
|
|
|
|
// Athlon
|
|
|
|
" 3dnow-a"
|
|
|
|
#endif
|
|
|
|
#ifdef __ABM__
|
|
|
|
// Advanced Bit Manipulation, AMD Barcelona (family 10h)
|
|
|
|
" abm"
|
|
|
|
#endif
|
2015-07-17 21:19:35 +00:00
|
|
|
#ifdef __ADX__
|
|
|
|
// Multi-Precision Add-Carry Instruction Extensions, Intel Core 5th generation ("Broadwell")
|
|
|
|
" adx"
|
|
|
|
#endif
|
2011-12-31 22:40:49 +00:00
|
|
|
#ifdef __AES__
|
|
|
|
// AES New Instructions, Intel Core-i7 second generation ("Sandy Bridge")
|
|
|
|
" aes"
|
|
|
|
#endif
|
|
|
|
#ifdef __AVX__
|
|
|
|
// Advanced Vector Extensions, Intel Core-i7 second generation ("Sandy Bridge")
|
|
|
|
" avx"
|
|
|
|
#endif
|
|
|
|
#ifdef __AVX2__
|
2013-08-06 23:04:50 +00:00
|
|
|
// AVX 2, Intel Core 4th Generation ("Haswell")
|
2011-12-31 22:40:49 +00:00
|
|
|
" avx2"
|
|
|
|
#endif
|
2013-08-06 23:24:57 +00:00
|
|
|
#ifdef __AVX512F__
|
2018-06-21 03:28:01 +00:00
|
|
|
// AVX512 Foundation, Intel Xeon Scalable ("Skylake" server), some Intel Core 7th generation ("Skylake")
|
2013-08-06 23:24:57 +00:00
|
|
|
" avx512f"
|
|
|
|
#endif
|
|
|
|
#ifdef __AVX512CD__
|
2018-06-21 03:28:01 +00:00
|
|
|
// AVX512 Conflict Detection, Intel Xeon Scalable ("Skylake" server), some Intel Core 7th generation ("Skylake")
|
2013-08-06 23:24:57 +00:00
|
|
|
" avx512cd"
|
|
|
|
#endif
|
2014-07-30 16:53:01 +00:00
|
|
|
#ifdef __AVX512DQ__
|
2018-06-21 03:28:01 +00:00
|
|
|
// AVX512 Double & Quadword, Intel Xeon Scalable ("Skylake" server), some Intel Core 7th generation ("Skylake")
|
2014-07-30 16:53:01 +00:00
|
|
|
" avx512dq"
|
|
|
|
#endif
|
|
|
|
#ifdef __AVX512BW__
|
2018-06-21 03:28:01 +00:00
|
|
|
// AVX512 Byte & Word, Intel Xeon Scalable ("Skylake" server), some Intel Core 7th generation ("Skylake")
|
2014-07-30 16:53:01 +00:00
|
|
|
" avx512bw"
|
|
|
|
#endif
|
2013-08-06 23:24:57 +00:00
|
|
|
#ifdef __AVX512ER__
|
|
|
|
// AVX512 Exponentiation & Reciprocal, Intel Xeon Phi codename "Knights Landing"
|
|
|
|
" avx512ef"
|
|
|
|
#endif
|
|
|
|
#ifdef __AVX512PF__
|
|
|
|
// AVX512 Prefetch, Intel Xeon Phi codename "Knights Landing"
|
|
|
|
" avx512pf"
|
|
|
|
#endif
|
2014-07-30 16:53:01 +00:00
|
|
|
#ifdef __AVX512VL__
|
2018-06-21 03:28:01 +00:00
|
|
|
// AVX512 Vector Length, Intel Xeon Scalable ("Skylake" server), some Intel Core 7th generation ("Skylake")
|
2014-07-30 16:53:01 +00:00
|
|
|
" avx512vl"
|
|
|
|
#endif
|
2015-07-17 21:19:35 +00:00
|
|
|
#ifdef __AVX512IFMA__
|
|
|
|
// AVX512 Integer Fused Multiply-Add, Intel processor codename "Cannonlake"
|
|
|
|
" avx512ifma"
|
|
|
|
#endif
|
|
|
|
#ifdef __AVX512VBMI__
|
|
|
|
// AVX512 Vector Byte Manipulation Instructions, Intel processor codename "Cannonlake"
|
|
|
|
" avx512vbmi"
|
|
|
|
#endif
|
qsimd: add support for new x86 CPU features
This adds detection for: VAES, GFNI, AVX512VBMI2, AVX512VNNI,
AVX512BITALG, AVX512VPOPCNTDQ, AVX512_4NNIW, AVX512_4FMAPS. These
features were found in the "Intel® Architecture Instruction Set
Extensions and Future Features" manual, revision 30. This commit also
adds support for RDPID (already in the main manual) and the Control-flow
Enforcement Technology, which appears in a separate Intel paper.
This new support was done by adding a new generator script so we don't
have to maintain two tables in sync, one in qsimd.cpp with the feature
names, and the other in qsimd_p.h.
Since we now need a lot more bits, it's no longer worth keeping the two
halves of the qt_cpu_features variable mostly similar to the main two
CPUID results. This commit goes back to keeping things in order, like we
used to prior to commit 6a8251a89b6a61258498f4af1ba7b3d5b7f7096c (Qt 5.6)
At the time of this commit, GCC 8 has macros for AVX512VPOPCNTDQ,
AVX512_4NNIW, AVX512_4FMAPS, AVX512VBMI2 and GFNI.
Change-Id: I938b024e38bf4aac9154fffd14f7afae50faaa96
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2017-09-17 19:39:35 +00:00
|
|
|
#ifdef __AVX512VBMI2__
|
|
|
|
// AVX512 Vector Byte Manipulation Instructions #2, Intel processor codename "Ice Lake"
|
|
|
|
" avx512vbmi2"
|
|
|
|
#endif
|
|
|
|
#ifdef __AVX512VPOPCNTDQ__
|
|
|
|
// AVX512 Vector Population Count Double & Quad, Future Intel Xeon Phi processor codename "Knights Mill", Intel processor codename "Ice Lake"
|
|
|
|
" avx512vpopcntdq"
|
|
|
|
#endif
|
|
|
|
#ifdef __AVX5124FMAPS__
|
|
|
|
// AVX512 4-iteration Fused Multiply Accumulation Packed Single, Future Intel Xeon Phi processor codename "Knights Mill"
|
|
|
|
" avx5124fmaps"
|
|
|
|
#endif
|
|
|
|
#ifdef __AVX5124VNNIW__
|
|
|
|
// AVX512 4-iteration Vector Neural Network Instructions Word, Future Intel Xeon Phi processor codename "Knights Mill"
|
|
|
|
" avx5124vnniw"
|
|
|
|
#endif
|
2011-12-31 22:40:49 +00:00
|
|
|
#ifdef __BMI__
|
2013-08-06 23:04:50 +00:00
|
|
|
// Bit Manipulation Instructions 1, Intel Core 4th Generation ("Haswell"), AMD "Bulldozer 2"
|
2011-12-31 22:40:49 +00:00
|
|
|
" bmi"
|
|
|
|
#endif
|
|
|
|
#ifdef __BMI2__
|
2013-08-06 23:04:50 +00:00
|
|
|
// Bit Manipulation Instructions 2, Intel Core 4th Generation ("Haswell")
|
2011-12-31 22:40:49 +00:00
|
|
|
" bmi2"
|
|
|
|
#endif
|
|
|
|
#ifdef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16
|
|
|
|
// cmpxchg16b instruction, Intel Pentium 4 64-bit ("Nocona"), AMD Barcelona (family 10h)
|
|
|
|
// Notably, this instruction is missing on earlier AMD Athlon 64
|
|
|
|
" cx16"
|
|
|
|
#endif
|
|
|
|
#ifdef __F16C__
|
2013-08-06 23:04:50 +00:00
|
|
|
// 16-bit floating point conversion, Intel Core 3rd Generation ("Ivy Bridge")
|
2011-12-31 22:40:49 +00:00
|
|
|
" f16c"
|
|
|
|
#endif
|
|
|
|
#ifdef __FMA__
|
2013-08-06 23:04:50 +00:00
|
|
|
// Fused Multiply-Add with 3 arguments, Intel Core 4th Generation ("Haswell"), AMD "Bulldozer 2"
|
2011-12-31 22:40:49 +00:00
|
|
|
// a.k.a. "FMA3"
|
|
|
|
" fma"
|
|
|
|
#endif
|
|
|
|
#ifdef __FMA4__
|
|
|
|
// Fused Multiply-Add with 4 arguments, AMD "Bulldozer"
|
|
|
|
" fma4"
|
|
|
|
#endif
|
|
|
|
#ifdef __FSGSBASE__
|
2013-08-06 23:04:50 +00:00
|
|
|
// rdfsgsbase, wrfsgsbase, Intel Core 3rd Generation ("Ivy Bridge")
|
2011-12-31 22:40:49 +00:00
|
|
|
" fsgsbase"
|
|
|
|
#endif
|
qsimd: add support for new x86 CPU features
This adds detection for: VAES, GFNI, AVX512VBMI2, AVX512VNNI,
AVX512BITALG, AVX512VPOPCNTDQ, AVX512_4NNIW, AVX512_4FMAPS. These
features were found in the "Intel® Architecture Instruction Set
Extensions and Future Features" manual, revision 30. This commit also
adds support for RDPID (already in the main manual) and the Control-flow
Enforcement Technology, which appears in a separate Intel paper.
This new support was done by adding a new generator script so we don't
have to maintain two tables in sync, one in qsimd.cpp with the feature
names, and the other in qsimd_p.h.
Since we now need a lot more bits, it's no longer worth keeping the two
halves of the qt_cpu_features variable mostly similar to the main two
CPUID results. This commit goes back to keeping things in order, like we
used to prior to commit 6a8251a89b6a61258498f4af1ba7b3d5b7f7096c (Qt 5.6)
At the time of this commit, GCC 8 has macros for AVX512VPOPCNTDQ,
AVX512_4NNIW, AVX512_4FMAPS, AVX512VBMI2 and GFNI.
Change-Id: I938b024e38bf4aac9154fffd14f7afae50faaa96
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2017-09-17 19:39:35 +00:00
|
|
|
#ifdef __GFNI__
|
|
|
|
// Galois Field new instructions, Intel processor codename "Ice Lake"
|
|
|
|
" gfni"
|
|
|
|
#endif
|
|
|
|
#ifdef __IBT__
|
|
|
|
// Indirect Branch Tracking, Intel processor TBA
|
|
|
|
" ibt"
|
|
|
|
#endif
|
2011-12-31 22:40:49 +00:00
|
|
|
#ifdef __LWP__
|
|
|
|
// LWP instructions, AMD "Bulldozer"
|
|
|
|
" lwp"
|
|
|
|
#endif
|
|
|
|
#ifdef __LZCNT__
|
2013-08-06 23:04:50 +00:00
|
|
|
// Leading-Zero bit count, Intel Core 4th Generation ("Haswell")
|
2011-12-31 22:40:49 +00:00
|
|
|
" lzcnt"
|
|
|
|
#endif
|
|
|
|
#ifdef __MMX__
|
|
|
|
// Multimedia Extensions, Pentium MMX, AMD K6-2
|
|
|
|
" mmx"
|
|
|
|
#endif
|
|
|
|
#ifdef __MOVBE__
|
|
|
|
// Move Big Endian, Intel Atom & "Haswell"
|
|
|
|
" movbe"
|
|
|
|
#endif
|
2015-07-17 21:19:35 +00:00
|
|
|
#ifdef __MPX__
|
|
|
|
// Memory Protection Extensions, Intel Core processor codename "Skylake"
|
|
|
|
" mpx"
|
|
|
|
#endif
|
2011-12-31 22:40:49 +00:00
|
|
|
#ifdef __NO_SAHF__
|
|
|
|
// missing SAHF instruction in 64-bit, up to Intel Pentium 4 64-bit ("Nocona"), AMD Athlon FX
|
|
|
|
// Note: the macro is not defined, so this will never show up
|
|
|
|
" no-sahf"
|
|
|
|
#endif
|
|
|
|
#ifdef __PCLMUL__
|
|
|
|
// (Packed) Carry-less multiplication, Intel Core-i7 second generation ("Sandy Bridge")
|
|
|
|
" pclmul"
|
|
|
|
#endif
|
|
|
|
#ifdef __POPCNT__
|
|
|
|
// Population Count (count of set bits), Intel Core-i7 second generation ("Sandy Bridge")
|
|
|
|
" popcnt"
|
|
|
|
#endif
|
2015-07-17 21:19:35 +00:00
|
|
|
#ifdef __PREFETCHWT1__
|
|
|
|
// Prefetch data for writing with T1 hint, Intel processor TBA
|
|
|
|
" prefetchwt1"
|
|
|
|
#endif
|
|
|
|
#ifdef __PRFCHW__
|
|
|
|
// Prefetch data for writing, Intel Core 5th Generation ("Broadwell")
|
|
|
|
" prfchw"
|
|
|
|
#endif
|
qsimd: add support for new x86 CPU features
This adds detection for: VAES, GFNI, AVX512VBMI2, AVX512VNNI,
AVX512BITALG, AVX512VPOPCNTDQ, AVX512_4NNIW, AVX512_4FMAPS. These
features were found in the "Intel® Architecture Instruction Set
Extensions and Future Features" manual, revision 30. This commit also
adds support for RDPID (already in the main manual) and the Control-flow
Enforcement Technology, which appears in a separate Intel paper.
This new support was done by adding a new generator script so we don't
have to maintain two tables in sync, one in qsimd.cpp with the feature
names, and the other in qsimd_p.h.
Since we now need a lot more bits, it's no longer worth keeping the two
halves of the qt_cpu_features variable mostly similar to the main two
CPUID results. This commit goes back to keeping things in order, like we
used to prior to commit 6a8251a89b6a61258498f4af1ba7b3d5b7f7096c (Qt 5.6)
At the time of this commit, GCC 8 has macros for AVX512VPOPCNTDQ,
AVX512_4NNIW, AVX512_4FMAPS, AVX512VBMI2 and GFNI.
Change-Id: I938b024e38bf4aac9154fffd14f7afae50faaa96
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2017-09-17 19:39:35 +00:00
|
|
|
#ifdef __RDPID__
|
|
|
|
// Read Processor ID, Intel processors codename "Ice Lake" and "Goldmont Plus"
|
|
|
|
" rdpid"
|
|
|
|
#endif
|
2011-12-31 22:40:49 +00:00
|
|
|
#ifdef __RDRND__
|
2013-08-06 23:04:50 +00:00
|
|
|
// Random number generator, Intel Core 3rd Generation ("Ivy Bridge")
|
2011-12-31 22:40:49 +00:00
|
|
|
" rdrnd"
|
|
|
|
#endif
|
2015-07-17 21:19:35 +00:00
|
|
|
#ifdef __RDSEED__
|
|
|
|
// Random number generator, Intel Core 5th Generation ("Broadwell")
|
|
|
|
" rdseed"
|
|
|
|
#endif
|
|
|
|
#ifdef __RTM__
|
|
|
|
// Restricted Transactional Memory, Intel Core 4th Generation ("Haswell")
|
|
|
|
" rtm"
|
|
|
|
#endif
|
2013-08-06 23:24:57 +00:00
|
|
|
#ifdef __SHA__
|
qsimd: add support for new x86 CPU features
This adds detection for: VAES, GFNI, AVX512VBMI2, AVX512VNNI,
AVX512BITALG, AVX512VPOPCNTDQ, AVX512_4NNIW, AVX512_4FMAPS. These
features were found in the "Intel® Architecture Instruction Set
Extensions and Future Features" manual, revision 30. This commit also
adds support for RDPID (already in the main manual) and the Control-flow
Enforcement Technology, which appears in a separate Intel paper.
This new support was done by adding a new generator script so we don't
have to maintain two tables in sync, one in qsimd.cpp with the feature
names, and the other in qsimd_p.h.
Since we now need a lot more bits, it's no longer worth keeping the two
halves of the qt_cpu_features variable mostly similar to the main two
CPUID results. This commit goes back to keeping things in order, like we
used to prior to commit 6a8251a89b6a61258498f4af1ba7b3d5b7f7096c (Qt 5.6)
At the time of this commit, GCC 8 has macros for AVX512VPOPCNTDQ,
AVX512_4NNIW, AVX512_4FMAPS, AVX512VBMI2 and GFNI.
Change-Id: I938b024e38bf4aac9154fffd14f7afae50faaa96
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2017-09-17 19:39:35 +00:00
|
|
|
// SHA-1 and SHA-256 instructions, Intel processors codename "Cannon Lake" and "Goldmont"
|
2013-08-06 23:24:57 +00:00
|
|
|
" sha"
|
|
|
|
#endif
|
qsimd: add support for new x86 CPU features
This adds detection for: VAES, GFNI, AVX512VBMI2, AVX512VNNI,
AVX512BITALG, AVX512VPOPCNTDQ, AVX512_4NNIW, AVX512_4FMAPS. These
features were found in the "Intel® Architecture Instruction Set
Extensions and Future Features" manual, revision 30. This commit also
adds support for RDPID (already in the main manual) and the Control-flow
Enforcement Technology, which appears in a separate Intel paper.
This new support was done by adding a new generator script so we don't
have to maintain two tables in sync, one in qsimd.cpp with the feature
names, and the other in qsimd_p.h.
Since we now need a lot more bits, it's no longer worth keeping the two
halves of the qt_cpu_features variable mostly similar to the main two
CPUID results. This commit goes back to keeping things in order, like we
used to prior to commit 6a8251a89b6a61258498f4af1ba7b3d5b7f7096c (Qt 5.6)
At the time of this commit, GCC 8 has macros for AVX512VPOPCNTDQ,
AVX512_4NNIW, AVX512_4FMAPS, AVX512VBMI2 and GFNI.
Change-Id: I938b024e38bf4aac9154fffd14f7afae50faaa96
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2017-09-17 19:39:35 +00:00
|
|
|
#ifdef __SHSTK__
|
|
|
|
// Shadow stack, Intel processor TBA
|
|
|
|
" shstk"
|
|
|
|
#endif
|
2011-12-31 22:40:49 +00:00
|
|
|
#if defined(__SSE__) || (defined(_M_IX86_FP) && _M_IX86_FP >= 1) || defined(_M_X64)
|
|
|
|
// Streaming SIMD Extensions, Intel Pentium III, AMD Athlon
|
|
|
|
" sse"
|
|
|
|
#endif
|
|
|
|
#if defined(__SSE2__) || (defined(_M_IX86_FP) && _M_IX86_FP >= 2) || defined(_M_X64)
|
|
|
|
// SSE2, Intel Pentium-M, Intel Pentium 4, AMD Opteron and Athlon 64
|
|
|
|
" sse2"
|
|
|
|
#endif
|
|
|
|
#ifdef __SSE3__
|
|
|
|
// SSE3, Intel Pentium 4 "Prescott", AMD Athlon 64 rev E
|
|
|
|
" sse3"
|
|
|
|
#endif
|
|
|
|
#ifdef __SSSE3__
|
2012-06-12 12:44:24 +00:00
|
|
|
// Supplemental SSE3, Intel Core 2 ("Merom"), AMD "Bulldozer"
|
2011-12-31 22:40:49 +00:00
|
|
|
" ssse3"
|
|
|
|
#endif
|
|
|
|
#ifdef __SSE4A__
|
|
|
|
// SSE4a, AMD Barcelona
|
|
|
|
" sse4a"
|
|
|
|
#endif
|
|
|
|
#ifdef __SSE4_1__
|
2012-06-12 12:44:24 +00:00
|
|
|
// SSE 4.1, Intel Core2 45nm shrink ("Penryn"), AMD "Bulldozer"
|
2011-12-31 22:40:49 +00:00
|
|
|
" sse4.1"
|
|
|
|
#endif
|
|
|
|
#ifdef __SSE4_2__
|
|
|
|
// SSE 4.2, Intel Core-i7 ("Nehalem"), AMD "Bulldozer"
|
|
|
|
" sse4.2"
|
|
|
|
// Since no processor supports SSE4.2 without 4.1 and since no Intel processor
|
|
|
|
// supports SSE4a, define "sse4" to indicate SSE4"
|
|
|
|
" sse4"
|
|
|
|
#endif
|
|
|
|
#ifdef __TBM__
|
|
|
|
// TBM, AMD "Bulldozer"
|
|
|
|
" tbm"
|
|
|
|
#endif
|
|
|
|
#ifdef __XOP__
|
|
|
|
// XOP, AMD "Bulldozer"
|
|
|
|
" xop"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// -- ARM --
|
2015-11-12 14:50:00 +00:00
|
|
|
#if defined(__ARM_NEON) || defined(__ARM_NEON__)
|
2011-12-31 22:40:49 +00:00
|
|
|
" neon"
|
|
|
|
#endif
|
|
|
|
#ifdef __IWMMXT__
|
|
|
|
" iwmmxt"
|
|
|
|
#endif
|
2015-12-11 12:04:46 +00:00
|
|
|
#ifdef __ARM_FEATURE_CRC32
|
|
|
|
" crc32"
|
|
|
|
#endif
|
2021-04-21 09:33:44 +00:00
|
|
|
#ifdef __ARM_FEATURE_CRYPTO
|
|
|
|
" crypto"
|
|
|
|
#endif
|
2011-12-31 22:40:49 +00:00
|
|
|
|
|
|
|
// -- SPARC --
|
|
|
|
#ifdef __VIS__
|
|
|
|
" vis"
|
|
|
|
# if __VIS__ >= 0x200
|
|
|
|
" vis2"
|
|
|
|
# endif
|
|
|
|
# if __VIS__ >= 0x300
|
|
|
|
" vis3"
|
|
|
|
# endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// -- MIPS --
|
2012-07-20 13:03:56 +00:00
|
|
|
# if __mips_dsp
|
|
|
|
" dsp"
|
|
|
|
# endif
|
|
|
|
# if __mips_dspr2
|
|
|
|
" dspr2"
|
|
|
|
# endif
|
2011-12-31 22:40:49 +00:00
|
|
|
|
|
|
|
// -- POWER, PowerPC --
|
|
|
|
#ifdef __ALTIVEC__
|
|
|
|
" altivec"
|
2015-11-17 07:21:24 +00:00
|
|
|
#endif
|
|
|
|
#ifdef __SPE__
|
|
|
|
" spe"
|
|
|
|
#endif
|
|
|
|
#ifdef __VSX__
|
|
|
|
" vsx"
|
2011-12-31 22:40:49 +00:00
|
|
|
#endif
|
|
|
|
"";
|
|
|
|
|
2017-03-27 08:54:59 +00:00
|
|
|
extern const char msg3[];
|
|
|
|
const char msg3[] = "==Qt=magic=Qt== Build-ABI:" ARCH_FULL;
|
|
|
|
|
2012-03-27 17:43:45 +00:00
|
|
|
int main()
|
|
|
|
{
|
|
|
|
puts(msg);
|
2011-12-31 22:40:49 +00:00
|
|
|
puts(msg2);
|
2017-03-27 08:54:59 +00:00
|
|
|
puts(msg3);
|
2012-03-27 17:43:45 +00:00
|
|
|
}
|