summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_script_qscriptengine.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-08-12 21:12:21 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2010-08-24 10:36:33 (GMT)
commit7790cf5b2922a7adf684dc0b7cd0fc1583c0684a (patch)
tree87d64032de208cb9b74bdb05b163c74617ca5b48 /doc/src/snippets/code/src_script_qscriptengine.cpp
parent531a8f198c152e1135db103f22bab648a314926e (diff)
downloadQt-7790cf5b2922a7adf684dc0b7cd0fc1583c0684a.zip
Qt-7790cf5b2922a7adf684dc0b7cd0fc1583c0684a.tar.gz
Qt-7790cf5b2922a7adf684dc0b7cd0fc1583c0684a.tar.bz2
Add an SSSE3 version that uses palignr to align.
Instead of using a non-SIMD method for aligning, we instead load more bytes from p1 and use the PALIGNR instruction to realign to what we want. The result is that it's bit slower than the non-SIMD comparison, due to the complexity. For strings over 8 QChars wide, it's only slightly worse than the non-SIMD comparison.
Diffstat (limited to 'doc/src/snippets/code/src_script_qscriptengine.cpp')
0 files changed, 0 insertions, 0 deletions