diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2022-11-02 11:42:39 -0700 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2023-02-20 17:30:44 +0000 |
commit | 97890c9ab4d63b9ee7e62287dd6bdd4bd2323677 (patch) | |
tree | 2b0da5e9e4ecf1c57953cc48456223fd3f8e6bec /tests/auto/widgets | |
parent | daceee6a9004565cee6ccd50c6a96216066b4f29 (diff) |
QLocale: modernize ascii_isspace() to C++17
And on 64-bit platforms, use a 64-bit integer, which removes a
subtraction from the matching code.
The loop in bytearrayToLongLong() looks like, on x86-64:
movabsq $4294983168, %rsi
.L1217:
movzbl (%rdx), %ecx
cmpl $64, %ecx
ja .L1216
btq %rcx, %rsi
jnc .L1216
incq %rdx
cmpq %rbx, %rdx
jne .L1217
Change-Id: I3d74c753055744deb8acfffd1723d8b51e151432
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'tests/auto/widgets')
0 files changed, 0 insertions, 0 deletions