Re: [pcre-dev] JIT increase stack requirement for SVN 1295

Góra strony
Delete this message
Autor: Ralf Junker
Data:  
Dla: Zoltán Herczeg
CC: pcre-dev@exim.org
Temat: Re: [pcre-dev] JIT increase stack requirement for SVN 1295
On 30.03.2013 04:13, Zoltán Herczeg wrote:

> the increased stack size is clearly the result of the new
> backtracking control verbs. Might be a bug in the compiler itself. I
> don't know how to reduce the stack size,


I can live with that for the time being.

> but the good news is, that Philip and I are discussing a way to
> support {n} and later {1,n} repeats in JIT as real repeats which
> would decrease code size and improve instruction cache / branch
> prediction usage.


Good news indeed!

> The interpreter needs to current byte-code sequence repeat format (to
> avoid using counters), so that cannot be changed, but adding some
> hints to the byte code (without increasing its size) might do the
> trick. I cannot promise when this work will be finished (perhaps not
> even in the current release), but I am willing to do this.


Many thanks! I will keep an eye on SVN development and will be available
for testing!

Ralf