Re: [pcre-dev] JIT regression

Αρχική Σελίδα
Delete this message
Συντάκτης: Zoltán Herczeg
Ημερομηνία:  
Προς: Pcre-dev@exim.org, ND
Αντικείμενο: Re: [pcre-dev] JIT regression
Hi,

> It seems JIT is 16 times!! slower than interpreter for such simple pattern.


I did some improvements on the SSE2 accelerated search and /(?s).*/ search. You can try them now. However I have never seen such big differences in my measurements. The memchr can use AVX2, so it is still faster, but it is not clear how you can detect AVX2 at runtime. At least this fails on Ubuntu:

http://software.intel.com/en-us/blogs/2011/04/14/is-avx-enabled/

Regards,
Zoltan