diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2018-05-13 14:58:11 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2018-05-16 06:29:09 +0000 |
commit | e03c6c19fcd5ae730ea3a0587ab26d1019324467 (patch) | |
tree | 7e9435f06157eb5d9e9d056a76f0f5d2abf9906f /src/gui/image/qpixmap_win.cpp | |
parent | a9074779cf1425b76c010b891403a0521e2cb4e4 (diff) |
QString::toLatin1: make the 32-byte loop to a single 32-btye load
Instead of two 16-byte loads, if AVX2 is present. Otherwise, it's
exactly the same.
Because of the way the SIMD instructions were extended to 256-bit in
AVX2, we gain nothing doing two 32-byte loads, aside from the loop
unrolling.
Change-Id: Ib48364abee9f464c96c6fffd152e531925814ac2
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/gui/image/qpixmap_win.cpp')
0 files changed, 0 insertions, 0 deletions