diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2020-08-04 21:37:01 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2020-08-05 21:51:24 -0700 |
commit | 9422b5ebc3592f4687650a84131e736219308b9f (patch) | |
tree | 4ac472419a2df84aa92f190088721e74f4d52ef9 /src/corelib/text/qstringconverter_p.h | |
parent | 60aa0d086886aea58d6b7a09484645ad1d92a220 (diff) |
QtPrivate::isLatin1: fix SSE2 non-SSE4.1 code
The implementation was broken. The "high" in PUNPCKHBW's "unpack high
data" means the high 64-bit of the 128-bit, not the high byte of a 16-
bit word. This never worked. It always passed for me because I don't
build non-SSE4.2 code (too old, no longer relevant).
So just use the working version of simdTestMask.
Pick-to: 5.15 5.12
Change-Id: I35a1b4d0a19a43149daefffd16284542f0de3fa3
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/corelib/text/qstringconverter_p.h')
0 files changed, 0 insertions, 0 deletions