diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2010-12-22 13:42:33 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2011-06-14 09:08:58 (GMT) |
commit | bdad106358ae177d1345f5ff85c0e38cfeb5ca90 (patch) | |
tree | e8bed55d682fafccc645e28a980bf9a91074ea22 /src/testlib | |
parent | 8680ced782c5e225b2e15c50c05493a23410b119 (diff) | |
download | Qt-bdad106358ae177d1345f5ff85c0e38cfeb5ca90.zip Qt-bdad106358ae177d1345f5ff85c0e38cfeb5ca90.tar.gz Qt-bdad106358ae177d1345f5ff85c0e38cfeb5ca90.tar.bz2 |
Improve toLatin1 x86 SIMD by using a new SSE4.1 instruction
The new instruction is PBLENDVB, which creates a result by selecting
bytes from one of two registers, depending on whether the mask
contains a 1 (0xff) or a zero.
The SSE2 code requires three instructions (and, andnot, or).
The equivalent Neon instruction is VBSL (bit select).
Reviewed-by: Samuel Rødal
Diffstat (limited to 'src/testlib')
0 files changed, 0 insertions, 0 deletions