diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2022-02-22 15:03:49 -0800 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2022-02-22 22:31:38 -0800 |
commit | fa2830dc6eda34d0591c3aae96288b6236ceeaa0 (patch) | |
tree | cb89dd205dba62dc39d9ba557551906eea6076ec /src/corelib/tools/qhash.cpp | |
parent | af36dc7d763abcd4a5de28957f55cecd25cf8459 (diff) |
qHash: fix running on CPUs without AVX2
The extra "V" accidentally enabled AVX2 code in the aeshash128()
function.
Fixes: QTBUG-101082
Change-Id: Ibf4acec0f166495998f7fffd16d63e220dbe02d0
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
Diffstat (limited to 'src/corelib/tools/qhash.cpp')
-rw-r--r-- | src/corelib/tools/qhash.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qhash.cpp b/src/corelib/tools/qhash.cpp index 19ec0872de..c69b5123d8 100644 --- a/src/corelib/tools/qhash.cpp +++ b/src/corelib/tools/qhash.cpp @@ -778,7 +778,7 @@ aeshash256_avx256(const uchar *p, size_t len, size_t seed, size_t seed2) noexcep } # endif // VAES -static size_t QT_FUNCTION_TARGET(VAES) +static size_t QT_FUNCTION_TARGET(AES) aeshash128(const uchar *p, size_t len, size_t seed, size_t seed2) noexcept { AESHashSeed state(seed, seed2); |