diff options
author | Jakub Zawadzki <darkjames@darkjames.pl> | 2014-05-22 23:04:40 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2014-06-09 12:02:27 +0000 |
commit | fcb710baec3caa30c2cb7c444bddbe087fc86574 (patch) | |
tree | 1ff3f1c4d9b5dca0794162a1000bede1b3a128e6 /wsutil/Makefile.common | |
parent | 66695661992beb054eff219dd73a23559220c867 (diff) |
Add sse4.2 optimized function ws_mempbrk_sse42()
In text protocols, like SIP, lot of time is spend guint8_pbrk(),
assume that text is not binary (no NULs), and use SSE4.2 pcmpistri
instruction.
Also move & rename guint8_pbrk() from tvbuff.c as _ws_mempbrk.
HAVE_SSE42 must be defined to use _ws_mempbrk_sse42() only activaded for
Windows currently.
Change-Id: Ic853d84805bdb6492c4f45d2bcc79a973fd9804e
Reviewed-on: https://code.wireshark.org/review/1730
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'wsutil/Makefile.common')
-rw-r--r-- | wsutil/Makefile.common | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wsutil/Makefile.common b/wsutil/Makefile.common index 94f8c8f51c..dc8c2a538d 100644 --- a/wsutil/Makefile.common +++ b/wsutil/Makefile.common @@ -60,6 +60,7 @@ LIBWSUTIL_SRC = \ tempfile.c \ time_util.c \ type_util.c \ + ws_mempbrk.c \ u3.c \ unicode-utils.c |