summaryrefslogtreecommitdiffstats
path: root/src/testlib
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-12-22 13:42:33 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2011-06-14 09:08:58 (GMT)
commitbdad106358ae177d1345f5ff85c0e38cfeb5ca90 (patch)
treee8bed55d682fafccc645e28a980bf9a91074ea22 /src/testlib
parent8680ced782c5e225b2e15c50c05493a23410b119 (diff)
downloadQt-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