summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/webkit/WebCore/generated/JSHTMLSourceElement.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-12-22 18:52:48 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2011-06-22 14:26:56 (GMT)
commit45d2d36c9dbcbce403c78838ea52acd1ab111b68 (patch)
tree76a0888856b6750e7869456c9a4f0984b9bc048f /src/3rdparty/webkit/WebCore/generated/JSHTMLSourceElement.cpp
parentaf3bb0f146ec357ae6daf752a5f8bbdb074cde20 (diff)
downloadQt-45d2d36c9dbcbce403c78838ea52acd1ab111b68.zip
Qt-45d2d36c9dbcbce403c78838ea52acd1ab111b68.tar.gz
Qt-45d2d36c9dbcbce403c78838ea52acd1ab111b68.tar.bz2
Add an SSE4.2 even simpler version of toLatin1
Use the new PCMPESTRM instruction (Parallel CoMPare Explicit-length STRings with result in a Mask) which is added in SSE4.2 for facilitating string operations. The "compare ranges" mode allows us to search for characters outside the Latin 1 range and then use the SSE4.1 PBLENDVB instruction to replace those with question marks. Unlike previous SSE compare instructions, the PCMPxSTRx family allows us to operate on unsigned 16-bit values. This saves us another parallel add. Reviewed-By: Samuel Rødal
Diffstat (limited to 'src/3rdparty/webkit/WebCore/generated/JSHTMLSourceElement.cpp')
0 files changed, 0 insertions, 0 deletions