diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2021-04-21 11:33:44 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2021-05-20 18:31:05 +0000 |
commit | fe6dc9dc8549cd9de7a0ddb04d921fd3263b51df (patch) | |
tree | 88c2121c20c9c6290bd1cbb7b50e1b6c0eb05175 /config.tests/arch | |
parent | 5b64e5950cf984abb7d47e0802bcb4b5a21e06fa (diff) |
Add runtime ARM64 AES check
Adds runtime CPU detection for Windows and macOS, and switches feature
detection of AES to runtime like for x86,
So far only on ARM64, since gcc doesn't do function versioning on ARM32,
but clang can, so it could be added later.
Change-Id: Ibe5d60f48cdae3e366a8ecd6263534ba2b09b131
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'config.tests/arch')
-rw-r--r-- | config.tests/arch/arch.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config.tests/arch/arch.cpp b/config.tests/arch/arch.cpp index 2ccfe127b5..6f57430caa 100644 --- a/config.tests/arch/arch.cpp +++ b/config.tests/arch/arch.cpp @@ -284,6 +284,9 @@ const char msg2[] = "==Qt=magic=Qt== Sub-architecture:" #ifdef __ARM_FEATURE_CRC32 " crc32" #endif +#ifdef __ARM_FEATURE_CRYPTO +" crypto" +#endif // -- SPARC -- #ifdef __VIS__ |