Christos Zoulas wrote: > In article <20141119210214.GA8310@neva>, > Alexander Nasonov <al...@yandex.ru> wrote: > >I don't think SLJIT_UMOD exists. You need to emit SLJIT_SUB after > >SLJIT_UDIV. This should be pretty straigthforward. But I don't mind > >if you make a function call for these quite rare instructions. > > Can you please do it? You are the expert :-)
Done. It was easier than emitting SLJIT_SUB because SLJIT_UDIV places the remainder to SLJIT_SCRATCH_REG2. I just SLJIT_MOV'ed it to BJ_AREG. Alex