Lines Matching refs:TMP2
559 #define TMP2 SLJIT_R3 macro
562 #define TMP2 SLJIT_R2 macro
2227 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), OVECTOR(offset + 1)); in init_frame()
2230 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), stackpos, TMP2, 0); in init_frame()
2639 base_reg = TMP2; in copy_recurse_data()
2649 if (base_reg != TMP2) in copy_recurse_data()
2651 status.tmp_regs[1] = TMP2; in copy_recurse_data()
2652 status.saved_tmp_regs[1] = TMP2; in copy_recurse_data()
3259 OP2(SLJIT_ADD, TMP2, 0, TMP1, 0, SLJIT_IMM, size - uncleared_size); in reset_early_fail()
3266 CMPTO(SLJIT_LESS, TMP1, 0, TMP2, 0, loop); in reset_early_fail()
3292 …_MOV | SLJIT_MEM_SUPP | SLJIT_MEM_STORE | SLJIT_MEM_PRE, TMP1, SLJIT_MEM1(TMP2), sizeof(sljit_sw))… in do_reset_match()
3294 GET_LOCAL_BASE(TMP2, 0, OVECTOR_START + sizeof(sljit_sw)); in do_reset_match()
3297 …sljit_emit_mem(compiler, SLJIT_MOV | SLJIT_MEM_STORE | SLJIT_MEM_PRE, TMP1, SLJIT_MEM1(TMP2), size… in do_reset_match()
3303 GET_LOCAL_BASE(TMP2, 0, OVECTOR_START + 2 * sizeof(sljit_sw)); in do_reset_match()
3306 OP1(SLJIT_MOV, SLJIT_MEM1(TMP2), 0, TMP1, 0); in do_reset_match()
3307 OP2(SLJIT_ADD, TMP2, 0, TMP2, 0, SLJIT_IMM, sizeof(sljit_sw)); in do_reset_match()
3782 OP2(SLJIT_SUB, TMP2, 0, TMP1, 0, SLJIT_IMM, 0xd800); in peek_char()
3786 jump = CMP(SLJIT_GREATER_EQUAL, TMP2, 0, SLJIT_IMM, 0xe000 - 0xd800); in peek_char()
3797 jump = CMP(SLJIT_GREATER_EQUAL, TMP2, 0, SLJIT_IMM, 0xdc00 - 0xd800); in peek_char()
3799 OP2(SLJIT_SHL, TMP2, 0, TMP2, 0, SLJIT_IMM, 10); in peek_char()
3801 OP2(SLJIT_ADD, TMP1, 0, TMP1, 0, TMP2, 0); in peek_char()
3813 OP2(SLJIT_SUB, TMP2, 0, TMP1, 0, SLJIT_IMM, 0xd800); in peek_char()
3815 add_jump(compiler, backtracks, CMP(SLJIT_LESS, TMP2, 0, SLJIT_IMM, 0xe000 - 0xd800)); in peek_char()
3819 OP2(SLJIT_SUB, TMP2, 0, TMP1, 0, SLJIT_IMM, 0xd800); in peek_char()
3822 OP2U(SLJIT_SUB | SLJIT_SET_LESS, TMP2, 0, SLJIT_IMM, 0xe000 - 0xd800); in peek_char()
3876 OP2(SLJIT_SUB, TMP2, 0, TMP1, 0, SLJIT_IMM, 0xdc00); in peek_char_back()
3877 jump = CMP(SLJIT_GREATER_EQUAL, TMP2, 0, SLJIT_IMM, 0xe000 - 0xdc00); in peek_char_back()
3880 OP2(SLJIT_ADD, TMP2, 0, TMP2, 0, SLJIT_IMM, 0x10000); in peek_char_back()
3883 OP2(SLJIT_ADD, TMP1, 0, TMP1, 0, TMP2, 0); in peek_char_back()
3890 OP2(SLJIT_SUB, TMP2, 0, TMP1, 0, SLJIT_IMM, 0xd800); in peek_char_back()
3892 add_jump(compiler, backtracks, CMP(SLJIT_LESS, TMP2, 0, SLJIT_IMM, 0xe000 - 0xd800)); in peek_char_back()
3950 OP2(SLJIT_SUB, TMP2, 0, TMP1, 0, SLJIT_IMM, 0xf0); in read_char()
3954 jump2 = CMP(SLJIT_GREATER, TMP2, 0, SLJIT_IMM, 0x7); in read_char()
3955 OP2(SLJIT_SHL, TMP2, 0, TMP2, 0, SLJIT_IMM, 6); in read_char()
3957 OP2(SLJIT_OR, TMP1, 0, TMP1, 0, TMP2, 0); in read_char()
3958 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(1)); in read_char()
3960 OP2(SLJIT_AND, TMP2, 0, TMP2, 0, SLJIT_IMM, 0x3f); in read_char()
3961 OP2(SLJIT_OR, TMP1, 0, TMP1, 0, TMP2, 0); in read_char()
3962 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(2)); in read_char()
3966 OP2(SLJIT_AND, TMP2, 0, TMP2, 0, SLJIT_IMM, 0x3f); in read_char()
3967 OP2(SLJIT_OR, TMP1, 0, TMP1, 0, TMP2, 0); in read_char()
3974 OP2(SLJIT_SUB, TMP2, 0, TMP1, 0, SLJIT_IMM, 0xe0); in read_char()
3978 jump2 = CMP(SLJIT_GREATER, TMP2, 0, SLJIT_IMM, 0xf); in read_char()
3979 OP2(SLJIT_SHL, TMP2, 0, TMP2, 0, SLJIT_IMM, 6); in read_char()
3981 OP2(SLJIT_OR, TMP1, 0, TMP1, 0, TMP2, 0); in read_char()
3982 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(1)); in read_char()
3986 OP2(SLJIT_AND, TMP2, 0, TMP2, 0, SLJIT_IMM, 0x3f); in read_char()
3987 OP2(SLJIT_OR, TMP1, 0, TMP1, 0, TMP2, 0); in read_char()
3998 OP1(SLJIT_MOV_U8, TMP2, 0, SLJIT_MEM1(TMP1), (sljit_sw)PRIV(utf8_table4) - 0xc0); in read_char()
3999 OP2(SLJIT_ADD, STR_PTR, 0, STR_PTR, 0, TMP2, 0); in read_char()
4003 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(0)); in read_char()
4010 OP2(SLJIT_AND, TMP2, 0, TMP2, 0, SLJIT_IMM, 0x3f); in read_char()
4011 OP2(SLJIT_OR, TMP1, 0, TMP1, 0, TMP2, 0); in read_char()
4024 OP2(SLJIT_SUB, TMP2, 0, TMP1, 0, SLJIT_IMM, 0xd800); in read_char()
4025 jump = CMP(SLJIT_GREATER_EQUAL, TMP2, 0, SLJIT_IMM, 0xe000 - 0xd800); in read_char()
4040 OP2(SLJIT_SUB, TMP2, 0, TMP1, 0, SLJIT_IMM, 0xd800); in read_char()
4041 jump = CMP(SLJIT_GREATER_EQUAL, TMP2, 0, SLJIT_IMM, 0xdc00 - 0xd800); in read_char()
4044 OP2(SLJIT_SHL, TMP2, 0, TMP2, 0, SLJIT_IMM, 10); in read_char()
4047 OP2(SLJIT_ADD, TMP1, 0, TMP1, 0, TMP2, 0); in read_char()
4053 OP2(SLJIT_SUB, TMP2, 0, TMP1, 0, SLJIT_IMM, 0xd800); in read_char()
4059 OP2U(SLJIT_SUB | SLJIT_SET_LESS, TMP2, 0, SLJIT_IMM, 0x400); in read_char()
4067 jump = CMP(SLJIT_GREATER_EQUAL, TMP2, 0, SLJIT_IMM, 0x400); in read_char()
4080 OP2(SLJIT_SUB, TMP2, 0, TMP1, 0, SLJIT_IMM, 0xd800); in read_char()
4082 add_jump(compiler, backtracks, CMP(SLJIT_LESS, TMP2, 0, SLJIT_IMM, 0xe000 - 0xd800)); in read_char()
4086 OP2(SLJIT_SUB, TMP2, 0, TMP1, 0, SLJIT_IMM, 0xd800); in read_char()
4089 OP2U(SLJIT_SUB | SLJIT_SET_LESS, TMP2, 0, SLJIT_IMM, 0xe000 - 0xd800); in read_char()
4126 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), 0); in read_char7_type()
4130 OP1(SLJIT_MOV_U8, TMP1, 0, SLJIT_MEM1(TMP2), common->ctypes); in read_char7_type()
4134 jump = CMP(SLJIT_LESS, TMP2, 0, SLJIT_IMM, 0x80); in read_char7_type()
4144 OP1(SLJIT_MOV_U8, TMP2, 0, SLJIT_MEM1(TMP2), (sljit_sw)PRIV(utf8_table4) - 0xc0); in read_char7_type()
4145 OP2(SLJIT_ADD, STR_PTR, 0, STR_PTR, 0, TMP2, 0); in read_char7_type()
4167 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), 0); in read_char8_type()
4174 OP1(SLJIT_MOV_U8, TMP1, 0, SLJIT_MEM1(TMP2), common->ctypes); in read_char8_type()
4175 jump = CMP(SLJIT_LESS, TMP2, 0, SLJIT_IMM, 0x80); in read_char8_type()
4184 OP2(SLJIT_SUB, TMP2, 0, TMP2, 0, SLJIT_IMM, 0xc2); in read_char8_type()
4186 add_jump(compiler, backtracks, CMP(SLJIT_GREATER_EQUAL, TMP2, 0, SLJIT_IMM, 0xe0 - 0xc2)); in read_char8_type()
4188 OP2(SLJIT_SHL, TMP2, 0, TMP2, 0, SLJIT_IMM, 6); in read_char8_type()
4189 OP2(SLJIT_ADD, TMP2, 0, TMP2, 0, TMP1, 0); in read_char8_type()
4192 add_jump(compiler, backtracks, CMP(SLJIT_GREATER_EQUAL, TMP2, 0, SLJIT_IMM, 0x40)); in read_char8_type()
4195 jump2 = CMP(SLJIT_GREATER, TMP2, 0, SLJIT_IMM, 255); in read_char8_type()
4196 OP1(SLJIT_MOV_U8, TMP1, 0, SLJIT_MEM1(TMP2), common->ctypes); in read_char8_type()
4202 OP1(SLJIT_MOV, TMP2, 0, TMP1, 0); in read_char8_type()
4206 jump2 = CMP(SLJIT_GREATER, TMP2, 0, SLJIT_IMM, 255); in read_char8_type()
4207 OP1(SLJIT_MOV_U8, TMP1, 0, SLJIT_MEM1(TMP2), common->ctypes); in read_char8_type()
4220 add_jump(compiler, backtracks, CMP(SLJIT_GREATER_EQUAL, TMP2, 0, SLJIT_IMM, 0x110000)); in read_char8_type()
4226 jump = CMP(SLJIT_GREATER, TMP2, 0, SLJIT_IMM, 255); in read_char8_type()
4228 OP1(SLJIT_MOV_U8, TMP1, 0, SLJIT_MEM1(TMP2), common->ctypes); in read_char8_type()
4239 OP2(SLJIT_SUB, TMP2, 0, TMP2, 0, SLJIT_IMM, 0xd800); in read_char8_type()
4244 OP2U(SLJIT_SUB | SLJIT_SET_LESS, TMP2, 0, SLJIT_IMM, 0x400); in read_char8_type()
4249 jump = CMP(SLJIT_GREATER_EQUAL, TMP2, 0, SLJIT_IMM, 0x400); in read_char8_type()
4256 OP2(SLJIT_SUB, TMP2, 0, TMP2, 0, SLJIT_IMM, 0xd800); in read_char8_type()
4257 jump = CMP(SLJIT_GREATER_EQUAL, TMP2, 0, SLJIT_IMM, 0xe000 - 0xd800); in read_char8_type()
4258 add_jump(compiler, backtracks, CMP(SLJIT_GREATER_EQUAL, TMP2, 0, SLJIT_IMM, 0x400)); in read_char8_type()
4261 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(0)); in read_char8_type()
4263 OP2(SLJIT_SUB, TMP2, 0, TMP2, 0, SLJIT_IMM, 0xdc00); in read_char8_type()
4264 add_jump(compiler, backtracks, CMP(SLJIT_GREATER_EQUAL, TMP2, 0, SLJIT_IMM, 0x400)); in read_char8_type()
4403 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(0)); in do_utfreadchar()
4405 OP2(SLJIT_AND, TMP2, 0, TMP2, 0, SLJIT_IMM, 0x3f); in do_utfreadchar()
4406 OP2(SLJIT_OR, TMP1, 0, TMP1, 0, TMP2, 0); in do_utfreadchar()
4417 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(1)); in do_utfreadchar()
4419 OP2(SLJIT_AND, TMP2, 0, TMP2, 0, SLJIT_IMM, 0x3f); in do_utfreadchar()
4420 OP2(SLJIT_OR, TMP1, 0, TMP1, 0, TMP2, 0); in do_utfreadchar()
4431 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(2)); in do_utfreadchar()
4435 OP2(SLJIT_AND, TMP2, 0, TMP2, 0, SLJIT_IMM, 0x3f); in do_utfreadchar()
4436 OP2(SLJIT_OR, TMP1, 0, TMP1, 0, TMP2, 0); in do_utfreadchar()
4450 OP2U(SLJIT_AND | SLJIT_SET_Z, TMP2, 0, SLJIT_IMM, 0x20); in do_utfreadtype8()
4455 OP2(SLJIT_AND, TMP2, 0, TMP2, 0, SLJIT_IMM, 0x1f); in do_utfreadtype8()
4457 compare = CMP(SLJIT_GREATER, TMP2, 0, SLJIT_IMM, 0x3); in do_utfreadtype8()
4458 OP2(SLJIT_SHL, TMP2, 0, TMP2, 0, SLJIT_IMM, 6); in do_utfreadtype8()
4460 OP2(SLJIT_OR, TMP2, 0, TMP2, 0, TMP1, 0); in do_utfreadtype8()
4461 OP1(SLJIT_MOV_U8, TMP1, 0, SLJIT_MEM1(TMP2), common->ctypes); in do_utfreadtype8()
4470 OP1(SLJIT_MOV_U8, TMP2, 0, SLJIT_MEM1(TMP2), (sljit_sw)PRIV(utf8_table4) - 0xc0); in do_utfreadtype8()
4472 OP2(SLJIT_ADD, STR_PTR, 0, STR_PTR, 0, TMP2, 0); in do_utfreadtype8()
4502 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(-3)); in do_utfreadchar_invalid()
4505 OP2(SLJIT_ADD, TMP1, 0, TMP1, 0, TMP2, 0); in do_utfreadchar_invalid()
4506 OP2(SLJIT_SUB, TMP2, 0, TMP2, 0, SLJIT_IMM, 0x80); in do_utfreadchar_invalid()
4507 exit_invalid[1] = CMP(SLJIT_GREATER_EQUAL, TMP2, 0, SLJIT_IMM, 0x40); in do_utfreadchar_invalid()
4518 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(-2)); in do_utfreadchar_invalid()
4520 OP2(SLJIT_SUB, TMP2, 0, TMP2, 0, SLJIT_IMM, 0x80); in do_utfreadchar_invalid()
4521 OP2(SLJIT_OR, TMP1, 0, TMP1, 0, TMP2, 0); in do_utfreadchar_invalid()
4524 OP2U(SLJIT_SUB | SLJIT_SET_GREATER_EQUAL, TMP2, 0, SLJIT_IMM, 0x40); in do_utfreadchar_invalid()
4529 exit_invalid[2] = CMP(SLJIT_GREATER_EQUAL, TMP2, 0, SLJIT_IMM, 0x40); in do_utfreadchar_invalid()
4561 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(-1)); in do_utfreadchar_invalid()
4563 OP2(SLJIT_SUB, TMP2, 0, TMP2, 0, SLJIT_IMM, 0x80); in do_utfreadchar_invalid()
4564 OP2(SLJIT_OR, TMP1, 0, TMP1, 0, TMP2, 0); in do_utfreadchar_invalid()
4567 OP2U(SLJIT_SUB | SLJIT_SET_GREATER_EQUAL, TMP2, 0, SLJIT_IMM, 0x40); in do_utfreadchar_invalid()
4572 exit_invalid[5] = CMP(SLJIT_GREATER_EQUAL, TMP2, 0, SLJIT_IMM, 0x40); in do_utfreadchar_invalid()
4592 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(-1)); in do_utfreadchar_invalid()
4595 OP2(SLJIT_ADD, TMP1, 0, TMP1, 0, TMP2, 0); in do_utfreadchar_invalid()
4596 OP2(SLJIT_SUB, TMP2, 0, TMP2, 0, SLJIT_IMM, 0x80); in do_utfreadchar_invalid()
4597 exit_invalid[8] = CMP(SLJIT_GREATER_EQUAL, TMP2, 0, SLJIT_IMM, 0x40); in do_utfreadchar_invalid()
4608 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(0)); in do_utfreadchar_invalid()
4610 OP2(SLJIT_SUB, TMP2, 0, TMP2, 0, SLJIT_IMM, 0x80); in do_utfreadchar_invalid()
4611 OP2(SLJIT_OR, TMP1, 0, TMP1, 0, TMP2, 0); in do_utfreadchar_invalid()
4614 OP2U(SLJIT_SUB | SLJIT_SET_GREATER_EQUAL, TMP2, 0, SLJIT_IMM, 0x40); in do_utfreadchar_invalid()
4619 exit_invalid[10] = CMP(SLJIT_GREATER_EQUAL, TMP2, 0, SLJIT_IMM, 0x40); in do_utfreadchar_invalid()
4655 …if (sljit_emit_mem(compiler, MOV_UCHAR | SLJIT_MEM_SUPP | SLJIT_MEM_POST, TMP2, SLJIT_MEM1(STR_PTR… in do_utfreadnewline_invalid()
4656 sljit_emit_mem(compiler, MOV_UCHAR | SLJIT_MEM_POST, TMP2, SLJIT_MEM1(STR_PTR), IN_UCHARS(1)); in do_utfreadnewline_invalid()
4659 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(0)); in do_utfreadnewline_invalid()
4663 OP2(SLJIT_AND, TMP2, 0, TMP2, 0, SLJIT_IMM, 0xc0); in do_utfreadnewline_invalid()
4664 CMPTO(SLJIT_EQUAL, TMP2, 0, SLJIT_IMM, 0x80, loop); in do_utfreadnewline_invalid()
4675 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(0)); in do_utfreadnewline_invalid()
4682 OP2(SLJIT_AND, TMP2, 0, TMP2, 0, SLJIT_IMM, 0xc0); in do_utfreadnewline_invalid()
4683 jump[3] = CMP(SLJIT_NOT_EQUAL, TMP2, 0, SLJIT_IMM, 0x80); in do_utfreadnewline_invalid()
4688 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(0)); in do_utfreadnewline_invalid()
4690 OP2(SLJIT_AND, TMP2, 0, TMP2, 0, SLJIT_IMM, 0xc0); in do_utfreadnewline_invalid()
4691 CMPTO(SLJIT_EQUAL, TMP2, 0, SLJIT_IMM, 0x80, loop); in do_utfreadnewline_invalid()
4705 CMPTO(SLJIT_NOT_EQUAL, TMP2, 0, SLJIT_IMM, 0x85, skip_start); in do_utfreadnewline_invalid()
4712 CMPTO(SLJIT_NOT_EQUAL, TMP2, 0, SLJIT_IMM, 0x80, skip_start); in do_utfreadnewline_invalid()
4715 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(0)); in do_utfreadnewline_invalid()
4718 OP2(SLJIT_SUB, TMP1, 0, TMP2, 0, SLJIT_IMM, 0x80); in do_utfreadnewline_invalid()
4721 OP1(SLJIT_MOV, TMP2, 0, SLJIT_IMM, 0x2000); in do_utfreadnewline_invalid()
4722 OP2(SLJIT_OR, TMP1, 0, TMP1, 0, TMP2, 0); in do_utfreadnewline_invalid()
4743 buffer_start_close = CMP(SLJIT_LESS, STR_PTR, 0, TMP2, 0); in do_utfmoveback_invalid()
4784 exit_invalid[4] = CMP(SLJIT_LESS, STR_PTR, 0, TMP2, 0); in do_utfmoveback_invalid()
4794 exit_invalid[6] = CMP(SLJIT_LESS, STR_PTR, 0, TMP2, 0); in do_utfmoveback_invalid()
4838 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(-4)); in do_utfpeakcharback()
4840 OP2(SLJIT_SUB, TMP2, 0, TMP2, 0, SLJIT_IMM, 0xf0); in do_utfpeakcharback()
4841 OP2(SLJIT_SHL, TMP2, 0, TMP2, 0, SLJIT_IMM, 6); in do_utfpeakcharback()
4842 OP2(SLJIT_OR, TMP1, 0, TMP1, 0, TMP2, 0); in do_utfpeakcharback()
4845 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(-2)); in do_utfpeakcharback()
4847 OP2(SLJIT_SUB, TMP2, 0, TMP2, 0, SLJIT_IMM, 0x80); in do_utfpeakcharback()
4848 OP2(SLJIT_OR, TMP1, 0, TMP1, 0, TMP2, 0); in do_utfpeakcharback()
4851 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(-1)); in do_utfpeakcharback()
4853 OP2(SLJIT_SUB, TMP2, 0, TMP2, 0, SLJIT_IMM, 0x80); in do_utfpeakcharback()
4854 OP2(SLJIT_OR, TMP1, 0, TMP1, 0, TMP2, 0); in do_utfpeakcharback()
4873 OP2(SLJIT_ADD, TMP2, 0, TMP2, 0, SLJIT_IMM, IN_UCHARS(3)); in do_utfpeakcharback_invalid()
4875 jump[0] = CMP(SLJIT_GREATER_EQUAL, TMP2, 0, STR_PTR, 0); in do_utfpeakcharback_invalid()
4878 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(-2)); in do_utfpeakcharback_invalid()
4879 OP2(SLJIT_SUB, TMP2, 0, TMP2, 0, SLJIT_IMM, 0xc2); in do_utfpeakcharback_invalid()
4880 jump[1] = CMP(SLJIT_GREATER_EQUAL, TMP2, 0, SLJIT_IMM, 0x1e); in do_utfpeakcharback_invalid()
4883 OP2(SLJIT_SHL, TMP2, 0, TMP2, 0, SLJIT_IMM, 6); in do_utfpeakcharback_invalid()
4885 OP2(SLJIT_ADD, TMP1, 0, TMP1, 0, TMP2, 0); in do_utfpeakcharback_invalid()
4889 OP2(SLJIT_ADD, TMP2, 0, TMP2, 0, SLJIT_IMM, 0xc2 - 0x80); in do_utfpeakcharback_invalid()
4891 exit_invalid[1] = CMP(SLJIT_GREATER_EQUAL, TMP2, 0, SLJIT_IMM, 0x40); in do_utfpeakcharback_invalid()
4892 OP2(SLJIT_SHL, TMP2, 0, TMP2, 0, SLJIT_IMM, 6); in do_utfpeakcharback_invalid()
4893 OP2(SLJIT_OR, TMP1, 0, TMP1, 0, TMP2, 0); in do_utfpeakcharback_invalid()
4896 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(-3)); in do_utfpeakcharback_invalid()
4897 OP2(SLJIT_SUB, TMP2, 0, TMP2, 0, SLJIT_IMM, 0xe0); in do_utfpeakcharback_invalid()
4898 jump[1] = CMP(SLJIT_GREATER_EQUAL, TMP2, 0, SLJIT_IMM, 0x10); in do_utfpeakcharback_invalid()
4901 OP2(SLJIT_SHL, TMP2, 0, TMP2, 0, SLJIT_IMM, 12); in do_utfpeakcharback_invalid()
4902 OP2(SLJIT_OR, TMP1, 0, TMP1, 0, TMP2, 0); in do_utfpeakcharback_invalid()
4927 OP2(SLJIT_ADD, TMP2, 0, TMP2, 0, SLJIT_IMM, 0xe0 - 0x80); in do_utfpeakcharback_invalid()
4928 exit_invalid[4] = CMP(SLJIT_GREATER_EQUAL, TMP2, 0, SLJIT_IMM, 0x40); in do_utfpeakcharback_invalid()
4929 OP2(SLJIT_SHL, TMP2, 0, TMP2, 0, SLJIT_IMM, 12); in do_utfpeakcharback_invalid()
4930 OP2(SLJIT_OR, TMP1, 0, TMP1, 0, TMP2, 0); in do_utfpeakcharback_invalid()
4933 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(-4)); in do_utfpeakcharback_invalid()
4935 OP2(SLJIT_SUB, TMP2, 0, TMP2, 0, SLJIT_IMM, 0xf0); in do_utfpeakcharback_invalid()
4936 OP2(SLJIT_SHL, TMP2, 0, TMP2, 0, SLJIT_IMM, 18); in do_utfpeakcharback_invalid()
4938 OP2(SLJIT_ADD, TMP1, 0, TMP1, 0, TMP2, 0); in do_utfpeakcharback_invalid()
4953 OP2(SLJIT_SUB, TMP2, 0, TMP2, 0, SLJIT_IMM, IN_UCHARS(1)); in do_utfpeakcharback_invalid()
4954 jump[0] = CMP(SLJIT_GREATER_EQUAL, TMP2, 0, STR_PTR, 0); in do_utfpeakcharback_invalid()
4957 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(-2)); in do_utfpeakcharback_invalid()
4958 OP2(SLJIT_SUB, TMP2, 0, TMP2, 0, SLJIT_IMM, 0xc2); in do_utfpeakcharback_invalid()
4959 CMPTO(SLJIT_LESS, TMP2, 0, SLJIT_IMM, 0x1e, two_byte_entry); in do_utfpeakcharback_invalid()
4961 OP2(SLJIT_ADD, TMP2, 0, TMP2, 0, SLJIT_IMM, 0xc2 - 0x80); in do_utfpeakcharback_invalid()
4963 exit_invalid[6] = CMP(SLJIT_GREATER_EQUAL, TMP2, 0, SLJIT_IMM, 0x40); in do_utfpeakcharback_invalid()
4964 OP2(SLJIT_SHL, TMP2, 0, TMP2, 0, SLJIT_IMM, 6); in do_utfpeakcharback_invalid()
4965 OP2(SLJIT_OR, TMP1, 0, TMP1, 0, TMP2, 0); in do_utfpeakcharback_invalid()
4968 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(-3)); in do_utfpeakcharback_invalid()
4969 OP2(SLJIT_SUB, TMP2, 0, TMP2, 0, SLJIT_IMM, 0xe0); in do_utfpeakcharback_invalid()
4970 CMPTO(SLJIT_LESS, TMP2, 0, SLJIT_IMM, 0x10, three_byte_entry); in do_utfpeakcharback_invalid()
4976 exit_invalid[7] = CMP(SLJIT_GREATER, TMP2, 0, STR_PTR, 0); in do_utfpeakcharback_invalid()
4979 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(-2)); in do_utfpeakcharback_invalid()
4980 OP2(SLJIT_SUB, TMP2, 0, TMP2, 0, SLJIT_IMM, 0xc2); in do_utfpeakcharback_invalid()
4981 CMPTO(SLJIT_LESS, TMP2, 0, SLJIT_IMM, 0x1e, two_byte_entry); in do_utfpeakcharback_invalid()
5010 OP2(SLJIT_SHL, TMP2, 0, TMP2, 0, SLJIT_IMM, 10); in do_utfreadchar_invalid()
5014 OP2(SLJIT_ADD, TMP2, 0, TMP2, 0, SLJIT_IMM, 0x10000); in do_utfreadchar_invalid()
5017 OP2(SLJIT_ADD, TMP1, 0, TMP1, 0, TMP2, 0); in do_utfreadchar_invalid()
5041 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(0)); in do_utfreadnewline_invalid()
5044 OP2(SLJIT_SUB, TMP2, 0, TMP2, 0, SLJIT_IMM, 0xdc00); in do_utfreadnewline_invalid()
5045 OP2U(SLJIT_SUB | SLJIT_SET_LESS, TMP2, 0, SLJIT_IMM, 0x400); in do_utfreadnewline_invalid()
5046 OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_LESS); in do_utfreadnewline_invalid()
5048 OP2(SLJIT_SHL, TMP2, 0, TMP2, 0, SLJIT_IMM, UCHAR_SHIFT); in do_utfreadnewline_invalid()
5049 OP2(SLJIT_ADD, STR_PTR, 0, STR_PTR, 0, TMP2, 0); in do_utfreadnewline_invalid()
5068 exit_invalid[1] = CMP(SLJIT_GREATER_EQUAL, TMP2, 0, STR_PTR, 0); in do_utfmoveback_invalid()
5097 OP2(SLJIT_ADD, TMP2, 0, TMP2, 0, SLJIT_IMM, IN_UCHARS(1)); in do_utfpeakcharback_invalid()
5099 exit_invalid[1] = CMP(SLJIT_GREATER_EQUAL, TMP2, 0, STR_PTR, 0); in do_utfpeakcharback_invalid()
5101 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(-2)); in do_utfpeakcharback_invalid()
5103 OP2(SLJIT_SUB, TMP2, 0, TMP2, 0, SLJIT_IMM, 0xd800); in do_utfpeakcharback_invalid()
5104 exit_invalid[2] = CMP(SLJIT_GREATER_EQUAL, TMP2, 0, SLJIT_IMM, 0x400); in do_utfpeakcharback_invalid()
5105 OP2(SLJIT_SHL, TMP2, 0, TMP2, 0, SLJIT_IMM, 10); in do_utfpeakcharback_invalid()
5106 OP2(SLJIT_ADD, TMP1, 0, TMP1, 0, TMP2, 0); in do_utfpeakcharback_invalid()
5154 OP2(SLJIT_LSHR, TMP2, 0, TMP1, 0, SLJIT_IMM, UCD_BLOCK_SHIFT); in do_getucd()
5155 OP2(SLJIT_SHL, TMP2, 0, TMP2, 0, SLJIT_IMM, 1); in do_getucd()
5156 OP1(SLJIT_MOV_U16, TMP2, 0, SLJIT_MEM1(TMP2), (sljit_sw)PRIV(ucd_stage1)); in do_getucd()
5158 OP2(SLJIT_SHL, TMP2, 0, TMP2, 0, SLJIT_IMM, UCD_BLOCK_SHIFT); in do_getucd()
5159 OP2(SLJIT_ADD, TMP1, 0, TMP1, 0, TMP2, 0); in do_getucd()
5160 OP1(SLJIT_MOV, TMP2, 0, SLJIT_IMM, (sljit_sw)PRIV(ucd_stage2)); in do_getucd()
5161 OP1(SLJIT_MOV_U16, TMP2, 0, SLJIT_MEM2(TMP2, TMP1), 1); in do_getucd()
5194 OP2(SLJIT_LSHR, TMP2, 0, TMP1, 0, SLJIT_IMM, UCD_BLOCK_SHIFT); in do_getucdtype()
5195 OP2(SLJIT_SHL, TMP2, 0, TMP2, 0, SLJIT_IMM, 1); in do_getucdtype()
5196 OP1(SLJIT_MOV_U16, TMP2, 0, SLJIT_MEM1(TMP2), (sljit_sw)PRIV(ucd_stage1)); in do_getucdtype()
5198 OP2(SLJIT_SHL, TMP2, 0, TMP2, 0, SLJIT_IMM, UCD_BLOCK_SHIFT); in do_getucdtype()
5199 OP2(SLJIT_ADD, TMP1, 0, TMP1, 0, TMP2, 0); in do_getucdtype()
5200 OP1(SLJIT_MOV, TMP2, 0, SLJIT_IMM, (sljit_sw)PRIV(ucd_stage2)); in do_getucdtype()
5201 OP1(SLJIT_MOV_U16, TMP2, 0, SLJIT_MEM2(TMP2, TMP1), 1); in do_getucdtype()
5205 OP2(SLJIT_SHL, TMP2, 0, TMP2, 0, SLJIT_IMM, 2); in do_getucdtype()
5206 OP2(SLJIT_ADD, TMP1, 0, TMP1, 0, TMP2, 0); in do_getucdtype()
5207 OP1(SLJIT_MOV_U8, TMP1, 0, SLJIT_MEM2(TMP1, TMP2), 1); in do_getucdtype()
5250 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(0)); in mainloop_entry()
5252 CMPTO(SLJIT_NOT_EQUAL, TMP2, 0, SLJIT_IMM, common->newline & 0xff, mainloop); in mainloop_entry()
5285 OP1(SLJIT_MOV, TMP2, 0, STR_END, 0); in mainloop_entry()
5288 OP1(SLJIT_MOV, TMP2, 0, ARGUMENTS, 0); in mainloop_entry()
5290 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(ARGUMENTS), SLJIT_OFFSETOF(jit_arguments, begin)); in mainloop_entry()
5296 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(TMP2), SLJIT_OFFSETOF(jit_arguments, begin)); in mainloop_entry()
5298 OP2(SLJIT_ADD, TMP2, 0, TMP2, 0, TMP1, 0); in mainloop_entry()
5299 end2 = CMP(SLJIT_LESS_EQUAL, TMP2, 0, STR_END, 0); in mainloop_entry()
5300 OP1(SLJIT_MOV, TMP2, 0, STR_END, 0); in mainloop_entry()
5303 add_jump(compiler, &common->abort, CMP(SLJIT_LESS, TMP2, 0, STR_PTR, 0)); in mainloop_entry()
5305 OP1(SLJIT_MOV, SLJIT_MEM1(SLJIT_SP), common->match_end_ptr, TMP2, 0); in mainloop_entry()
5380 OP2(SLJIT_ADD, TMP2, 0, STR_PTR, 0, SLJIT_IMM, IN_UCHARS(1)); in mainloop_entry()
5382 CMOV(SLJIT_LESS, STR_PTR, TMP2, 0); in mainloop_entry()
6266 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(TMP1), SLJIT_OFFSETOF(jit_arguments, str)); in fast_forward_newline()
6271 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(ARGUMENTS), SLJIT_OFFSETOF(jit_arguments, str)); in fast_forward_newline()
6274 firstchar = CMP(SLJIT_LESS_EQUAL, STR_PTR, 0, TMP2, 0); in fast_forward_newline()
6294 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(TMP1), SLJIT_OFFSETOF(jit_arguments, str)); in fast_forward_newline()
6299 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(ARGUMENTS), SLJIT_OFFSETOF(jit_arguments, str)); in fast_forward_newline()
6302 firstchar = CMP(SLJIT_LESS_EQUAL, STR_PTR, 0, TMP2, 0); in fast_forward_newline()
6306 OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_GREATER_EQUAL); in fast_forward_newline()
6308 OP2(SLJIT_SHL, TMP2, 0, TMP2, 0, SLJIT_IMM, UCHAR_SHIFT); in fast_forward_newline()
6310 OP2(SLJIT_SUB, STR_PTR, 0, STR_PTR, 0, TMP2, 0); in fast_forward_newline()
6316 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(-1)); in fast_forward_newline()
6318 CMPTO(SLJIT_NOT_EQUAL, TMP2, 0, SLJIT_IMM, common->newline & 0xff, loop); in fast_forward_newline()
6334 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(TMP1), SLJIT_OFFSETOF(jit_arguments, str)); in fast_forward_newline()
6337 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(ARGUMENTS), SLJIT_OFFSETOF(jit_arguments, str)); in fast_forward_newline()
6340 firstchar = CMP(SLJIT_LESS_EQUAL, STR_PTR, 0, TMP2, 0); in fast_forward_newline()
6456 OP2(SLJIT_AND, TMP2, 0, TMP1, 0, SLJIT_IMM, 0x7); in fast_forward_start_bits()
6461 OP2(SLJIT_SHL, TMP3, 0, SLJIT_IMM, 1, TMP2, 0); in fast_forward_start_bits()
6466 OP2(SLJIT_SHL, TMP2, 0, SLJIT_IMM, 1, TMP2, 0); in fast_forward_start_bits()
6467 OP2U(SLJIT_AND | SLJIT_SET_Z, TMP1, 0, TMP2, 0); in fast_forward_start_bits()
6500 OP2(SLJIT_ADD, TMP2, 0, STR_PTR, 0, SLJIT_IMM, IN_UCHARS(REQ_CU_MAX) * 100); in search_requested_char()
6502 toolong = CMP(SLJIT_LESS, TMP2, 0, STR_END, 0); in search_requested_char()
6531 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(TMP1), 0); in search_requested_char()
6534 found = CMP(SLJIT_EQUAL, TMP2, 0, SLJIT_IMM, req_char); in search_requested_char()
6540 OP2(SLJIT_OR, TMP2, 0, TMP2, 0, SLJIT_IMM, bit); in search_requested_char()
6541 found = CMP(SLJIT_EQUAL, TMP2, 0, SLJIT_IMM, req_char | bit); in search_requested_char()
6545 found = CMP(SLJIT_EQUAL, TMP2, 0, SLJIT_IMM, req_char); in search_requested_char()
6546 found_oc = CMP(SLJIT_EQUAL, TMP2, 0, SLJIT_IMM, oc); in search_requested_char()
6575 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(STACK_TOP), -sizeof(sljit_sw)); in do_revertframes()
6576 jump = CMP(SLJIT_SIG_LESS_EQUAL, TMP2, 0, SLJIT_IMM, 0); in do_revertframes()
6578 OP2(SLJIT_ADD, TMP2, 0, TMP2, 0, TMP1, 0); in do_revertframes()
6581 OP1(SLJIT_MOV, SLJIT_MEM1(TMP2), 0, SLJIT_MEM1(STACK_TOP), -(2 * sizeof(sljit_sw))); in do_revertframes()
6582 …OP1(SLJIT_MOV, SLJIT_MEM1(TMP2), sizeof(sljit_sw), SLJIT_MEM1(STACK_TOP), -(3 * sizeof(sljit_sw))); in do_revertframes()
6590 OP1(SLJIT_MOV, SLJIT_MEM1(TMP2), 0, TMP1, 0); in do_revertframes()
6592 OP1(SLJIT_MOV, SLJIT_MEM1(TMP2), sizeof(sljit_sw), TMP3, 0); in do_revertframes()
6597 jump = CMP(SLJIT_NOT_ZERO /* SIG_LESS */, TMP2, 0, SLJIT_IMM, 0); in do_revertframes()
6602 OP2(SLJIT_SUB, TMP2, 0, SLJIT_IMM, 0, TMP2, 0); in do_revertframes()
6603 OP2(SLJIT_ADD, TMP2, 0, TMP2, 0, TMP1, 0); in do_revertframes()
6606 OP1(SLJIT_MOV, SLJIT_MEM1(TMP2), 0, SLJIT_MEM1(STACK_TOP), -(2 * sizeof(sljit_sw))); in do_revertframes()
6613 OP1(SLJIT_MOV, SLJIT_MEM1(TMP2), 0, TMP3, 0); in do_revertframes()
6637 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(TMP1), SLJIT_OFFSETOF(jit_arguments, begin)); in check_wordboundary()
6639 skipread = CMP(SLJIT_LESS_EQUAL, STR_PTR, 0, TMP2, 0); in check_wordboundary()
6649 OP1(SLJIT_MOV, TMP2, 0, STR_PTR, 0); in check_wordboundary()
6653 OP1(SLJIT_MOV, STR_PTR, 0, TMP2, 0); in check_wordboundary()
6673 OP1(SLJIT_MOV, TMP2, 0, SLJIT_IMM, 1); in check_wordboundary()
6678 OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_LESS_EQUAL); in check_wordboundary()
6681 OP_FLAGS(SLJIT_OR, TMP2, 0, SLJIT_LESS_EQUAL); in check_wordboundary()
6683 OP1(SLJIT_MOV, TMP3, 0, TMP2, 0); in check_wordboundary()
6708 OP1(SLJIT_MOV, TMP2, 0, SLJIT_IMM, 0); in check_wordboundary()
6719 OP1(SLJIT_MOV, TMP2, 0, SLJIT_IMM, 1); in check_wordboundary()
6724 OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_LESS_EQUAL); in check_wordboundary()
6727 OP_FLAGS(SLJIT_OR, TMP2, 0, SLJIT_LESS_EQUAL); in check_wordboundary()
6735 OP1(SLJIT_MOV, TMP2, 0, SLJIT_IMM, 0); in check_wordboundary()
6738 OP1(SLJIT_MOV, TMP2, 0, SLJIT_IMM, 0); in check_wordboundary()
6743 OP1(SLJIT_MOV_U8, TMP2, 0, SLJIT_MEM1(TMP1), common->ctypes); in check_wordboundary()
6744 OP2(SLJIT_LSHR, TMP2, 0, TMP2, 0, SLJIT_IMM, 4 /* ctype_word */); in check_wordboundary()
6745 OP2(SLJIT_AND, TMP2, 0, TMP2, 0, SLJIT_IMM, 1); in check_wordboundary()
6756 OP2(SLJIT_XOR | SLJIT_SET_Z, TMP2, 0, TMP2, 0, TMP3, 0); in check_wordboundary()
6768 OP1(SLJIT_MOV, TMP2, 0, SLJIT_IMM, -1); in check_wordboundary()
6773 OP1(SLJIT_MOV, TMP2, 0, TMP3, 0); in check_wordboundary()
6994 OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_ZERO); in optimize_class_chars()
6997 OP1(SLJIT_MOV, TMP2, 0, SLJIT_IMM, 0); in optimize_class_chars()
7006 CMOV(SLJIT_ZERO, TMP2, TMP1, 0); in optimize_class_chars()
7020 CMOV(SLJIT_ZERO, TMP2, TMP1, 0); in optimize_class_chars()
7028 add_jump(compiler, backtracks, CMP(type, TMP2, 0, SLJIT_IMM, 0)); in optimize_class_chars()
7049 OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_LESS_EQUAL); in check_anynewline()
7056 OP_FLAGS(SLJIT_OR, TMP2, 0, SLJIT_EQUAL); in check_anynewline()
7063 OP_FLAGS(SLJIT_OR | SLJIT_SET_Z, TMP2, 0, SLJIT_EQUAL); in check_anynewline()
7075 OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_EQUAL); in check_hspace()
7077 OP_FLAGS(SLJIT_OR, TMP2, 0, SLJIT_EQUAL); in check_hspace()
7084 OP_FLAGS(SLJIT_OR, TMP2, 0, SLJIT_EQUAL); in check_hspace()
7086 OP_FLAGS(SLJIT_OR, TMP2, 0, SLJIT_EQUAL); in check_hspace()
7088 OP_FLAGS(SLJIT_OR, TMP2, 0, SLJIT_EQUAL); in check_hspace()
7091 OP_FLAGS(SLJIT_OR, TMP2, 0, SLJIT_LESS_EQUAL); in check_hspace()
7093 OP_FLAGS(SLJIT_OR, TMP2, 0, SLJIT_EQUAL); in check_hspace()
7095 OP_FLAGS(SLJIT_OR, TMP2, 0, SLJIT_EQUAL); in check_hspace()
7101 OP_FLAGS(SLJIT_OR | SLJIT_SET_Z, TMP2, 0, SLJIT_EQUAL); in check_hspace()
7115 OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_LESS_EQUAL); in check_vspace()
7122 OP_FLAGS(SLJIT_OR, TMP2, 0, SLJIT_EQUAL); in check_vspace()
7129 OP_FLAGS(SLJIT_OR | SLJIT_SET_Z, TMP2, 0, SLJIT_EQUAL); in check_vspace()
7154 OP2(SLJIT_SUB, STR_PTR, 0, STR_PTR, 0, TMP2, 0); in do_casefulcmp()
7168 OP2(SLJIT_SUB | SLJIT_SET_Z, TMP2, 0, TMP2, 0, SLJIT_IMM, IN_UCHARS(1)); in do_casefulcmp()
7183 OP2(SLJIT_SUB | SLJIT_SET_Z, TMP2, 0, TMP2, 0, SLJIT_IMM, IN_UCHARS(1)); in do_casefulcmp()
7198 OP2(SLJIT_SUB | SLJIT_SET_Z, TMP2, 0, TMP2, 0, SLJIT_IMM, IN_UCHARS(1)); in do_casefulcmp()
7241 OP2(SLJIT_SUB, STR_PTR, 0, STR_PTR, 0, TMP2, 0); in do_caselesscmp()
7293 OP2(SLJIT_SUB | SLJIT_SET_Z, TMP2, 0, TMP2, 0, SLJIT_IMM, IN_UCHARS(1)); in do_caselesscmp()
7364 context->sourcereg = TMP2; in byte_sequence_compare()
7406 context->sourcereg = context->sourcereg == TMP1 ? TMP2 : TMP1; in byte_sequence_compare()
7443 context->sourcereg = context->sourcereg == TMP1 ? TMP2 : TMP1; in byte_sequence_compare()
7666 OP2(SLJIT_AND, TMP2, 0, TMP1, 0, SLJIT_IMM, 0x7); in compile_xclass_matchingpath()
7669 OP2(SLJIT_SHL, TMP2, 0, SLJIT_IMM, 1, TMP2, 0); in compile_xclass_matchingpath()
7670 OP2U(SLJIT_AND | SLJIT_SET_Z, TMP1, 0, TMP2, 0); in compile_xclass_matchingpath()
7681 OP2(SLJIT_SUB, TMP2, 0, TMP1, 0, SLJIT_IMM, min); in compile_xclass_matchingpath()
7682 …add_jump(compiler, (cc[-1] & XCL_NOT) == 0 ? backtracks : &found, CMP(SLJIT_GREATER, TMP2, 0, SLJI… in compile_xclass_matchingpath()
7699 OP2(SLJIT_AND, TMP2, 0, TMP1, 0, SLJIT_IMM, 0x7); in compile_xclass_matchingpath()
7702 OP2(SLJIT_SHL, TMP2, 0, SLJIT_IMM, 1, TMP2, 0); in compile_xclass_matchingpath()
7703 OP2U(SLJIT_AND | SLJIT_SET_Z, TMP1, 0, TMP2, 0); in compile_xclass_matchingpath()
7731 OP2(SLJIT_LSHR, TMP2, 0, TMP1, 0, SLJIT_IMM, UCD_BLOCK_SHIFT); in compile_xclass_matchingpath()
7732 OP2(SLJIT_SHL, TMP2, 0, TMP2, 0, SLJIT_IMM, 1); in compile_xclass_matchingpath()
7733 OP1(SLJIT_MOV_U16, TMP2, 0, SLJIT_MEM1(TMP2), (sljit_sw)PRIV(ucd_stage1)); in compile_xclass_matchingpath()
7735 OP2(SLJIT_SHL, TMP2, 0, TMP2, 0, SLJIT_IMM, UCD_BLOCK_SHIFT); in compile_xclass_matchingpath()
7736 OP2(SLJIT_ADD, TMP1, 0, TMP1, 0, TMP2, 0); in compile_xclass_matchingpath()
7737 OP1(SLJIT_MOV, TMP2, 0, SLJIT_IMM, (sljit_sw)PRIV(ucd_stage2)); in compile_xclass_matchingpath()
7738 OP1(SLJIT_MOV_U16, TMP2, 0, SLJIT_MEM2(TMP2, TMP1), 1); in compile_xclass_matchingpath()
7739 OP2(SLJIT_SHL, TMP1, 0, TMP2, 0, SLJIT_IMM, 3); in compile_xclass_matchingpath()
7740 OP2(SLJIT_SHL, TMP2, 0, TMP2, 0, SLJIT_IMM, 2); in compile_xclass_matchingpath()
7741 OP2(SLJIT_ADD, TMP2, 0, TMP2, 0, TMP1, 0); in compile_xclass_matchingpath()
7747 …OP1(SLJIT_MOV_U16, TMP1, 0, SLJIT_MEM1(TMP2), (sljit_sw)PRIV(ucd_records) + SLJIT_OFFSETOF(ucd_rec… in compile_xclass_matchingpath()
7785 …OP1(SLJIT_MOV_U16, TMP1, 0, SLJIT_MEM1(TMP2), (sljit_sw)PRIV(ucd_records) + SLJIT_OFFSETOF(ucd_rec… in compile_xclass_matchingpath()
7825 …OP1(SLJIT_MOV_U8, TMP1, 0, SLJIT_MEM1(TMP2), (sljit_sw)PRIV(ucd_records) + SLJIT_OFFSETOF(ucd_reco… in compile_xclass_matchingpath()
7868 …OP1(SLJIT_MOV_U16, TMP1, 0, SLJIT_MEM1(TMP2), (sljit_sw)PRIV(ucd_records) + SLJIT_OFFSETOF(ucd_rec… in compile_xclass_matchingpath()
7878 OP1(SLJIT_MOV, SLJIT_MEM1(SLJIT_SP), LOCALS0, TMP2, 0); in compile_xclass_matchingpath()
7883 OP1(SLJIT_MOV, RETURN_ADDR, 0, TMP2, 0); in compile_xclass_matchingpath()
7887 …OP1(SLJIT_MOV_U8, TMP2, 0, SLJIT_MEM1(TMP2), (sljit_sw)PRIV(ucd_records) + SLJIT_OFFSETOF(ucd_reco… in compile_xclass_matchingpath()
7915 jump = CMP(SLJIT_EQUAL, TMP2, 0, SLJIT_IMM, (int)cc[1]); in compile_xclass_matchingpath()
7935 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), LOCALS0); in compile_xclass_matchingpath()
7937 OP1(SLJIT_MOV, TMP2, 0, RETURN_ADDR, 0); in compile_xclass_matchingpath()
7949 …OP1(SLJIT_MOV_U8, typereg, 0, SLJIT_MEM1(TMP2), (sljit_sw)PRIV(ucd_records) + SLJIT_OFFSETOF(ucd_r… in compile_xclass_matchingpath()
7975 OP_FLAGS(numberofcmps == 0 ? SLJIT_MOV : SLJIT_OR, TMP2, 0, SLJIT_EQUAL); in compile_xclass_matchingpath()
7981 OP_FLAGS(SLJIT_OR | SLJIT_SET_Z, TMP2, 0, SLJIT_EQUAL); in compile_xclass_matchingpath()
8001 OP_FLAGS(numberofcmps == 0 ? SLJIT_MOV : SLJIT_OR, TMP2, 0, SLJIT_LESS_EQUAL); in compile_xclass_matchingpath()
8007 OP_FLAGS(SLJIT_OR | SLJIT_SET_Z, TMP2, 0, SLJIT_LESS_EQUAL); in compile_xclass_matchingpath()
8033 OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_EQUAL); in compile_xclass_matchingpath()
8035 OP_FLAGS(SLJIT_OR, TMP2, 0, SLJIT_EQUAL); in compile_xclass_matchingpath()
8037 OP_FLAGS(SLJIT_OR | SLJIT_SET_Z, TMP2, 0, SLJIT_EQUAL); in compile_xclass_matchingpath()
8063 OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_LESS_EQUAL); in compile_xclass_matchingpath()
8066 OP_FLAGS(SLJIT_OR, TMP2, 0, SLJIT_EQUAL); in compile_xclass_matchingpath()
8069 OP_FLAGS(SLJIT_OR, TMP2, 0, SLJIT_EQUAL); in compile_xclass_matchingpath()
8073 OP_FLAGS(SLJIT_OR | SLJIT_SET_Z, TMP2, 0, SLJIT_LESS_EQUAL); in compile_xclass_matchingpath()
8079 OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_EQUAL); in compile_xclass_matchingpath()
8085 OP_FLAGS((*cc == PT_ALNUM) ? SLJIT_MOV : SLJIT_OR, TMP2, 0, SLJIT_LESS_EQUAL); in compile_xclass_matchingpath()
8088 OP_FLAGS(SLJIT_OR | SLJIT_SET_Z, TMP2, 0, SLJIT_LESS_EQUAL); in compile_xclass_matchingpath()
8104 OP2(SLJIT_OR, TMP2, 0, TMP1, 0, SLJIT_IMM, other_cases[1] ^ other_cases[0]); in compile_xclass_matchingpath()
8107 OP2(SLJIT_ADD, TMP2, 0, TMP1, 0, SLJIT_IMM, (sljit_sw)charoffset); in compile_xclass_matchingpath()
8108 OP2(SLJIT_OR, TMP2, 0, TMP2, 0, SLJIT_IMM, other_cases[1] ^ other_cases[0]); in compile_xclass_matchingpath()
8110 OP2U(SLJIT_SUB | SLJIT_SET_Z, TMP2, 0, SLJIT_IMM, other_cases[1]); in compile_xclass_matchingpath()
8111 OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_EQUAL); in compile_xclass_matchingpath()
8117 OP2(SLJIT_OR, TMP2, 0, TMP1, 0, SLJIT_IMM, other_cases[2] ^ other_cases[1]); in compile_xclass_matchingpath()
8120 OP2(SLJIT_ADD, TMP2, 0, TMP1, 0, SLJIT_IMM, (sljit_sw)charoffset); in compile_xclass_matchingpath()
8121 OP2(SLJIT_OR, TMP2, 0, TMP2, 0, SLJIT_IMM, other_cases[1] ^ other_cases[0]); in compile_xclass_matchingpath()
8123 OP2U(SLJIT_SUB | SLJIT_SET_Z, TMP2, 0, SLJIT_IMM, other_cases[2]); in compile_xclass_matchingpath()
8124 OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_EQUAL); in compile_xclass_matchingpath()
8127 OP_FLAGS(SLJIT_OR | ((other_cases[3] == NOTACHAR) ? SLJIT_SET_Z : 0), TMP2, 0, SLJIT_EQUAL); in compile_xclass_matchingpath()
8134 OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_EQUAL); in compile_xclass_matchingpath()
8140 OP_FLAGS(SLJIT_OR | ((*other_cases == NOTACHAR) ? SLJIT_SET_Z : 0), TMP2, 0, SLJIT_EQUAL); in compile_xclass_matchingpath()
8147 OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_EQUAL); in compile_xclass_matchingpath()
8149 OP_FLAGS(SLJIT_OR, TMP2, 0, SLJIT_EQUAL); in compile_xclass_matchingpath()
8151 OP_FLAGS(SLJIT_OR, TMP2, 0, SLJIT_EQUAL); in compile_xclass_matchingpath()
8155 OP_FLAGS(SLJIT_OR, TMP2, 0, SLJIT_LESS_EQUAL); in compile_xclass_matchingpath()
8158 OP_FLAGS(SLJIT_OR | SLJIT_SET_Z, TMP2, 0, SLJIT_GREATER_EQUAL); in compile_xclass_matchingpath()
8166 OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_GREATER); in compile_xclass_matchingpath()
8173 OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_LESS_EQUAL); in compile_xclass_matchingpath()
8176 OP_FLAGS(SLJIT_OR, TMP2, 0, SLJIT_EQUAL); in compile_xclass_matchingpath()
8179 OP_FLAGS(SLJIT_OR, TMP2, 0, SLJIT_EQUAL); in compile_xclass_matchingpath()
8182 jump = CMP(SLJIT_ZERO ^ invertcmp, TMP2, 0, SLJIT_IMM, 0); in compile_xclass_matchingpath()
8189 OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_GREATER); in compile_xclass_matchingpath()
8192 OP_FLAGS(SLJIT_AND, TMP2, 0, SLJIT_NOT_EQUAL); in compile_xclass_matchingpath()
8199 OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_LESS_EQUAL); in compile_xclass_matchingpath()
8202 OP_FLAGS(SLJIT_OR, TMP2, 0, SLJIT_EQUAL); in compile_xclass_matchingpath()
8205 jump = CMP(SLJIT_ZERO ^ invertcmp, TMP2, 0, SLJIT_IMM, 0); in compile_xclass_matchingpath()
8211 OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_LESS_EQUAL); in compile_xclass_matchingpath()
8215 OP_FLAGS(SLJIT_AND, TMP2, 0, SLJIT_LESS_EQUAL); in compile_xclass_matchingpath()
8219 OP_FLAGS(SLJIT_OR | SLJIT_SET_Z, TMP2, 0, SLJIT_LESS_EQUAL); in compile_xclass_matchingpath()
8283 …P((type == OP_NOT_WORD_BOUNDARY) ? SLJIT_NOT_EQUAL : SLJIT_SIG_LESS_EQUAL, TMP2, 0, SLJIT_IMM, 0)); in compile_simple_assertion_matchingpath()
8296 OP2(SLJIT_ADD, TMP2, 0, STR_PTR, 0, SLJIT_IMM, IN_UCHARS(2)); in compile_simple_assertion_matchingpath()
8299 add_jump(compiler, backtracks, CMP(SLJIT_NOT_EQUAL, TMP2, 0, STR_END, 0)); in compile_simple_assertion_matchingpath()
8302 jump[1] = CMP(SLJIT_EQUAL, TMP2, 0, STR_END, 0); in compile_simple_assertion_matchingpath()
8303 OP2U(SLJIT_SUB | SLJIT_SET_LESS, TMP2, 0, STR_END, 0); in compile_simple_assertion_matchingpath()
8304 OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_LESS); in compile_simple_assertion_matchingpath()
8306 OP_FLAGS(SLJIT_OR | SLJIT_SET_Z, TMP2, 0, SLJIT_NOT_EQUAL); in compile_simple_assertion_matchingpath()
8312 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(1)); in compile_simple_assertion_matchingpath()
8314 … add_jump(compiler, backtracks, CMP(SLJIT_NOT_EQUAL, TMP2, 0, SLJIT_IMM, common->newline & 0xff)); in compile_simple_assertion_matchingpath()
8318 OP2(SLJIT_ADD, TMP2, 0, STR_PTR, 0, SLJIT_IMM, IN_UCHARS(1)); in compile_simple_assertion_matchingpath()
8320 add_jump(compiler, backtracks, CMP(SLJIT_NOT_EQUAL, TMP2, 0, STR_END, 0)); in compile_simple_assertion_matchingpath()
8327 OP2(SLJIT_ADD, TMP2, 0, STR_PTR, 0, SLJIT_IMM, IN_UCHARS(2)); in compile_simple_assertion_matchingpath()
8328 OP2U(SLJIT_SUB | SLJIT_SET_Z | SLJIT_SET_GREATER, TMP2, 0, STR_END, 0); in compile_simple_assertion_matchingpath()
8339 OP2(SLJIT_ADD, TMP2, 0, STR_PTR, 0, SLJIT_IMM, IN_UCHARS(1)); in compile_simple_assertion_matchingpath()
8340 add_jump(compiler, backtracks, CMP(SLJIT_LESS, TMP2, 0, STR_END, 0)); in compile_simple_assertion_matchingpath()
8370 OP1(SLJIT_MOV, TMP2, 0, ARGUMENTS, 0); in compile_simple_assertion_matchingpath()
8371 …OP2U(SLJIT_AND32 | SLJIT_SET_Z, SLJIT_MEM1(TMP2), SLJIT_OFFSETOF(jit_arguments, options), SLJIT_IM… in compile_simple_assertion_matchingpath()
8390 OP1(SLJIT_MOV, TMP2, 0, ARGUMENTS, 0); in compile_simple_assertion_matchingpath()
8391 …OP2U(SLJIT_AND32 | SLJIT_SET_Z, SLJIT_MEM1(TMP2), SLJIT_OFFSETOF(jit_arguments, options), SLJIT_IM… in compile_simple_assertion_matchingpath()
8402 OP2(SLJIT_ADD, TMP2, 0, STR_PTR, 0, SLJIT_IMM, IN_UCHARS(2)); in compile_simple_assertion_matchingpath()
8405 add_jump(compiler, backtracks, CMP(SLJIT_GREATER, TMP2, 0, STR_END, 0)); in compile_simple_assertion_matchingpath()
8408 jump[1] = CMP(SLJIT_LESS_EQUAL, TMP2, 0, STR_END, 0); in compile_simple_assertion_matchingpath()
8416 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(1)); in compile_simple_assertion_matchingpath()
8418 … add_jump(compiler, backtracks, CMP(SLJIT_NOT_EQUAL, TMP2, 0, SLJIT_IMM, common->newline & 0xff)); in compile_simple_assertion_matchingpath()
8431 OP1(SLJIT_MOV, TMP2, 0, ARGUMENTS, 0); in compile_simple_assertion_matchingpath()
8432 OP1(SLJIT_MOV, TMP1, 0, SLJIT_MEM1(TMP2), SLJIT_OFFSETOF(jit_arguments, begin)); in compile_simple_assertion_matchingpath()
8434 …OP2U(SLJIT_AND32 | SLJIT_SET_Z, SLJIT_MEM1(TMP2), SLJIT_OFFSETOF(jit_arguments, options), SLJIT_IM… in compile_simple_assertion_matchingpath()
8451 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(TMP1), SLJIT_OFFSETOF(jit_arguments, begin)); in compile_simple_assertion_matchingpath()
8452 jump[1] = CMP(SLJIT_GREATER, STR_PTR, 0, TMP2, 0); in compile_simple_assertion_matchingpath()
8457 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(ARGUMENTS), SLJIT_OFFSETOF(jit_arguments, begin)); in compile_simple_assertion_matchingpath()
8458 jump[1] = CMP(SLJIT_GREATER, STR_PTR, 0, TMP2, 0); in compile_simple_assertion_matchingpath()
8471 add_jump(compiler, backtracks, CMP(SLJIT_LESS, TMP1, 0, TMP2, 0)); in compile_simple_assertion_matchingpath()
8473 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(-1)); in compile_simple_assertion_matchingpath()
8475 … add_jump(compiler, backtracks, CMP(SLJIT_NOT_EQUAL, TMP2, 0, SLJIT_IMM, common->newline & 0xff)); in compile_simple_assertion_matchingpath()
8492 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(TMP1), SLJIT_OFFSETOF(jit_arguments, begin)); in compile_simple_assertion_matchingpath()
8495 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(ARGUMENTS), SLJIT_OFFSETOF(jit_arguments, begin)); in compile_simple_assertion_matchingpath()
8501 add_jump(compiler, backtracks, CMP(SLJIT_LESS_EQUAL, STR_PTR, 0, TMP2, 0)); in compile_simple_assertion_matchingpath()
8510 add_jump(compiler, backtracks, CMP(SLJIT_LESS, STR_PTR, 0, TMP2, 0)); in compile_simple_assertion_matchingpath()
9023 OP2(SLJIT_OR, TMP2, 0, TMP1, 0, SLJIT_IMM, 0x20); in compile_char1_matchingpath()
9024 add_jump(compiler, backtracks, CMP(SLJIT_EQUAL, TMP2, 0, SLJIT_IMM, c | 0x20)); in compile_char1_matchingpath()
9108 OP2(SLJIT_AND, TMP2, 0, TMP1, 0, SLJIT_IMM, 0x7); in compile_char1_matchingpath()
9111 OP2(SLJIT_SHL, TMP2, 0, SLJIT_IMM, 1, TMP2, 0); in compile_char1_matchingpath()
9112 OP2U(SLJIT_AND | SLJIT_SET_Z, TMP1, 0, TMP2, 0); in compile_char1_matchingpath()
9248 GET_LOCAL_BASE(TMP2, 0, OVECTOR(offset)); in compile_dnref_search()
9254 GET_LOCAL_BASE(TMP2, 0, OVECTOR(offset)); in compile_dnref_search()
9287 OP1(SLJIT_MOV, TMP1, 0, SLJIT_MEM1(TMP2), 0); in compile_ref_matchingpath()
9295 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), OVECTOR(offset + 1)); in compile_ref_matchingpath()
9297 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(TMP2), sizeof(sljit_sw)); in compile_ref_matchingpath()
9300 add_jump(compiler, backtracks, CMP(SLJIT_EQUAL, TMP1, 0, TMP2, 0)); in compile_ref_matchingpath()
9307 OP1(SLJIT_MOV, source_end_reg, 0, TMP2, 0); in compile_ref_matchingpath()
9332 OP2(SLJIT_SHL, TMP1, 0, TMP2, 0, SLJIT_IMM, 2); in compile_ref_matchingpath()
9333 OP2(SLJIT_SHL, TMP2, 0, TMP2, 0, SLJIT_IMM, 3); in compile_ref_matchingpath()
9334 OP2(SLJIT_ADD, TMP2, 0, TMP2, 0, TMP1, 0); in compile_ref_matchingpath()
9336 OP2(SLJIT_ADD, TMP2, 0, TMP2, 0, SLJIT_IMM, (sljit_sw)PRIV(ucd_records)); in compile_ref_matchingpath()
9338 OP1(SLJIT_MOV_S32, TMP1, 0, SLJIT_MEM1(TMP2), SLJIT_OFFSETOF(ucd_record, other_case)); in compile_ref_matchingpath()
9339 OP1(SLJIT_MOV_U8, TMP2, 0, SLJIT_MEM1(TMP2), SLJIT_OFFSETOF(ucd_record, caseset)); in compile_ref_matchingpath()
9343 add_jump(compiler, &no_match, CMP(SLJIT_EQUAL, TMP2, 0, SLJIT_IMM, 0)); in compile_ref_matchingpath()
9344 OP2(SLJIT_SHL, TMP2, 0, TMP2, 0, SLJIT_IMM, 2); in compile_ref_matchingpath()
9345 OP2(SLJIT_ADD, TMP2, 0, TMP2, 0, SLJIT_IMM, (sljit_sw)PRIV(ucd_caseless_sets)); in compile_ref_matchingpath()
9348 OP1(SLJIT_MOV_U32, TMP1, 0, SLJIT_MEM1(TMP2), 0); in compile_ref_matchingpath()
9349 OP2(SLJIT_ADD, TMP2, 0, TMP2, 0, SLJIT_IMM, sizeof(uint32_t)); in compile_ref_matchingpath()
9384 OP2(SLJIT_SUB | SLJIT_SET_Z, TMP2, 0, SLJIT_MEM1(SLJIT_SP), OVECTOR(offset + 1), TMP1, 0); in compile_ref_matchingpath()
9386 OP2(SLJIT_SUB | SLJIT_SET_Z, TMP2, 0, SLJIT_MEM1(TMP2), sizeof(sljit_sw), TMP1, 0); in compile_ref_matchingpath()
9391 OP2(SLJIT_ADD, STR_PTR, 0, STR_PTR, 0, TMP2, 0); in compile_ref_matchingpath()
9397 add_jump(compiler, backtracks, CMP(SLJIT_NOT_EQUAL, TMP2, 0, SLJIT_IMM, 0)); in compile_ref_matchingpath()
9404 OP2(SLJIT_SUB, TMP2, 0, TMP2, 0, STR_PTR, 0); in compile_ref_matchingpath()
9405 OP2(SLJIT_ADD, TMP2, 0, TMP2, 0, STR_END, 0); in compile_ref_matchingpath()
9406 partial = CMP(SLJIT_EQUAL, TMP2, 0, SLJIT_IMM, 0); in compile_ref_matchingpath()
9409 add_jump(compiler, backtracks, CMP(SLJIT_NOT_EQUAL, TMP2, 0, SLJIT_IMM, 0)); in compile_ref_matchingpath()
9499 OP1(SLJIT_MOV, TMP1, 0, SLJIT_MEM1(TMP2), 0); in compile_ref_iterator_matchingpath()
9500 OP1(SLJIT_MOV, SLJIT_MEM1(SLJIT_SP), POSSESSIVE1, TMP2, 0); in compile_ref_iterator_matchingpath()
9501 zerolength = CMP(SLJIT_EQUAL, TMP1, 0, SLJIT_MEM1(TMP2), sizeof(sljit_sw)); in compile_ref_iterator_matchingpath()
9520 OP1(SLJIT_MOV, TMP1, 0, SLJIT_MEM1(TMP2), 0); in compile_ref_iterator_matchingpath()
9521 OP1(SLJIT_MOV, SLJIT_MEM1(SLJIT_SP), POSSESSIVE1, TMP2, 0); in compile_ref_iterator_matchingpath()
9522 zerolength = CMP(SLJIT_EQUAL, TMP1, 0, SLJIT_MEM1(TMP2), sizeof(sljit_sw)); in compile_ref_iterator_matchingpath()
9531 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), POSSESSIVE1); in compile_ref_iterator_matchingpath()
9582 OP1(SLJIT_MOV, TMP1, 0, SLJIT_MEM1(TMP2), 0); in compile_ref_iterator_matchingpath()
9583 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(2), TMP2, 0); in compile_ref_iterator_matchingpath()
9584 zerolength = CMP(SLJIT_EQUAL, TMP1, 0, SLJIT_MEM1(TMP2), sizeof(sljit_sw)); in compile_ref_iterator_matchingpath()
9600 OP1(SLJIT_MOV, TMP1, 0, SLJIT_MEM1(TMP2), 0); in compile_ref_iterator_matchingpath()
9601 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(2), TMP2, 0); in compile_ref_iterator_matchingpath()
9602 zerolength = CMP(SLJIT_EQUAL, TMP1, 0, SLJIT_MEM1(TMP2), sizeof(sljit_sw)); in compile_ref_iterator_matchingpath()
9611 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(STACK_TOP), STACK(2)); in compile_ref_iterator_matchingpath()
9768 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), common->capture_last_ptr); in compile_callout_matchingpath()
9772 OP1(SLJIT_MOV_U32, SLJIT_MEM1(STACK_TOP), CALLOUT_ARG_OFFSET(capture_last), TMP2, 0); in compile_callout_matchingpath()
9779 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(TMP1), SLJIT_OFFSETOF(jit_arguments, mark_ptr)); in compile_callout_matchingpath()
9800 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), CALLOUT_ARG_OFFSET(mark), (common->mark_ptr != 0) ? TMP2 : SL… in compile_callout_matchingpath()
9945 OP2(SLJIT_ADD, TMP2, 0, STACK_TOP, 0, SLJIT_IMM, (framesize + extrasize) * sizeof(sljit_sw)); in compile_assert_matchingpath()
9946 OP1(SLJIT_MOV, SLJIT_MEM1(SLJIT_SP), private_data_ptr, TMP2, 0); in compile_assert_matchingpath()
9948 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), common->control_head_ptr); in compile_assert_matchingpath()
9954 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(1), TMP2, 0); in compile_assert_matchingpath()
10307 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(STACK_TOP), STACK(-1)); in match_once_common()
10324 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(STACK_TOP), STACK(0)); in match_once_common()
10345 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), OVECTOR(offset + 1)); in match_capture_common()
10348 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stacksize + 1), TMP2, 0); in match_capture_common()
10618 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), common->control_head_ptr); in compile_bracket_matchingpath()
10629 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), private_data_ptr); in compile_bracket_matchingpath()
10646 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(0), TMP2, 0); in compile_bracket_matchingpath()
10652 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), private_data_ptr); in compile_bracket_matchingpath()
10656 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stacksize + 1), TMP2, 0); in compile_bracket_matchingpath()
10670 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(0), TMP2, 0); in compile_bracket_matchingpath()
10673 OP2(SLJIT_ADD, TMP2, 0, STACK_TOP, 0, SLJIT_IMM, stacksize * sizeof(sljit_sw)); in compile_bracket_matchingpath()
10679 OP1(SLJIT_MOV, SLJIT_MEM1(SLJIT_SP), private_data_ptr, TMP2, 0); in compile_bracket_matchingpath()
10685 OP1(SLJIT_MOV, SLJIT_MEM1(SLJIT_SP), private_data_ptr, TMP2, 0); in compile_bracket_matchingpath()
10699 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), private_data_ptr + sizeof(sljit_sw)); in compile_bracket_matchingpath()
10702 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(1), TMP2, 0); in compile_bracket_matchingpath()
10706 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), private_data_ptr); in compile_bracket_matchingpath()
10709 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(0), TMP2, 0); in compile_bracket_matchingpath()
10715 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), private_data_ptr); in compile_bracket_matchingpath()
10718 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(0), TMP2, 0); in compile_bracket_matchingpath()
10745 … OP2(SLJIT_SUB | SLJIT_SET_Z, TMP2, 0, SLJIT_MEM1(SLJIT_SP), OVECTOR(GET2(slot, 0) << 1), TMP1, 0); in compile_bracket_matchingpath()
10751 OP2(SLJIT_OR | SLJIT_SET_Z, TMP2, 0, TMP2, 0, STR_PTR, 0); in compile_bracket_matchingpath()
10851 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), repeat_ptr); in compile_bracket_matchingpath()
10873 OP2(SLJIT_SUB, SLJIT_MEM1(STACK_TOP), STACK(stacksize), TMP2, 0, SLJIT_IMM, 1); in compile_bracket_matchingpath()
10945 CMPTO(SLJIT_NOT_EQUAL, TMP2, 0, STR_PTR, 0, rmax_label); in compile_bracket_matchingpath()
10961 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), repeat_ptr); in compile_bracket_matchingpath()
10963 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(0), TMP2, 0); in compile_bracket_matchingpath()
11085 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), OVECTOR(offset + 1)); in compile_bracketpos_matchingpath()
11089 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(1), TMP2, 0); in compile_bracketpos_matchingpath()
11091 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), common->control_head_ptr); in compile_bracketpos_matchingpath()
11101 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), common->control_head_ptr); in compile_bracketpos_matchingpath()
11113 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stack), TMP2, 0); in compile_bracketpos_matchingpath()
11130 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), common->control_head_ptr); in compile_bracketpos_matchingpath()
11141 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stack), TMP2, 0); in compile_bracketpos_matchingpath()
11213 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), private_data_ptr); in compile_bracketpos_matchingpath()
11214 OP2(SLJIT_SUB, STACK_TOP, 0, TMP2, 0, SLJIT_IMM, stacksize * sizeof(sljit_sw)); in compile_bracketpos_matchingpath()
11216 OP1(SLJIT_MOV, TMP1, 0, SLJIT_MEM1(TMP2), STACK(-framesize - 2)); in compile_bracketpos_matchingpath()
11217 OP1(SLJIT_MOV, SLJIT_MEM1(TMP2), STACK(-framesize - 2), STR_PTR, 0); in compile_bracketpos_matchingpath()
11257 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), private_data_ptr); in compile_bracketpos_matchingpath()
11262 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), private_data_ptr); in compile_bracketpos_matchingpath()
11263 OP1(SLJIT_MOV, STR_PTR, 0, SLJIT_MEM1(TMP2), STACK(-framesize - 2)); in compile_bracketpos_matchingpath()
11280 …add_jump(compiler, &backtrack->topbacktracks, CMP(SLJIT_NOT_EQUAL, SLJIT_MEM1(TMP2), STACK(-stacks… in compile_bracketpos_matchingpath()
11526 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), early_fail_ptr + (int)sizeof(sljit_sw)); in compile_iterator_matchingpath()
11527 OP2(SLJIT_SUB, TMP1, 0, TMP1, 0, TMP2, 0); in compile_iterator_matchingpath()
11528 OP2(SLJIT_SUB, TMP2, 0, STR_PTR, 0, TMP2, 0); in compile_iterator_matchingpath()
11529 add_jump(compiler, &backtrack->topbacktracks, CMP(SLJIT_LESS_EQUAL, TMP2, 0, TMP1, 0)); in compile_iterator_matchingpath()
11980 OP1(SLJIT_MOV_U32, TMP2, 0, SLJIT_MEM1(TMP1), SLJIT_OFFSETOF(jit_arguments, options)); in compile_fail_accept_matchingpath()
11983 OP1(SLJIT_MOV_U32, TMP2, 0, SLJIT_MEM1(ARGUMENTS), SLJIT_OFFSETOF(jit_arguments, options)); in compile_fail_accept_matchingpath()
11985 OP2U(SLJIT_AND | SLJIT_SET_Z, TMP2, 0, SLJIT_IMM, PCRE2_NOTEMPTY); in compile_fail_accept_matchingpath()
11987 OP2U(SLJIT_AND | SLJIT_SET_Z, TMP2, 0, SLJIT_IMM, PCRE2_NOTEMPTY_ATSTART); in compile_fail_accept_matchingpath()
11993 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(HAS_VIRTUAL_REGISTERS ? TMP1 : ARGUMENTS), SLJIT_OFFSETOF(jit_ar… in compile_fail_accept_matchingpath()
11995 add_jump(compiler, &common->accept, CMP(SLJIT_NOT_EQUAL, TMP2, 0, STR_PTR, 0)); in compile_fail_accept_matchingpath()
11997 CMPTO(SLJIT_NOT_EQUAL, TMP2, 0, STR_PTR, 0, common->accept_label); in compile_fail_accept_matchingpath()
12045 OP1(SLJIT_MOV, TMP2, 0, SLJIT_IMM, (sljit_sw)(cc + 2)); in compile_control_verb_matchingpath()
12046 OP1(SLJIT_MOV, SLJIT_MEM1(SLJIT_SP), common->mark_ptr, TMP2, 0); in compile_control_verb_matchingpath()
12047 …_MEM1(HAS_VIRTUAL_REGISTERS ? TMP1 : ARGUMENTS), SLJIT_OFFSETOF(jit_arguments, mark_ptr), TMP2, 0); in compile_control_verb_matchingpath()
12071 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), common->control_head_ptr); in compile_then_trap_matchingpath()
12079 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(size - 3), TMP2, 0); in compile_then_trap_matchingpath()
12146 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), OVECTOR(0)); in compile_matchingpath()
12149 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(0), TMP2, 0); in compile_matchingpath()
12338 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), common->mark_ptr); in compile_matchingpath()
12342 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(common->has_skip_arg ? 4 : 0), TMP2, 0); in compile_matchingpath()
12343 OP1(SLJIT_MOV, TMP2, 0, SLJIT_IMM, (sljit_sw)(cc + 2)); in compile_matchingpath()
12344 OP1(SLJIT_MOV, SLJIT_MEM1(SLJIT_SP), common->mark_ptr, TMP2, 0); in compile_matchingpath()
12345 …_MEM1(HAS_VIRTUAL_REGISTERS ? TMP1 : ARGUMENTS), SLJIT_OFFSETOF(jit_arguments, mark_ptr), TMP2, 0); in compile_matchingpath()
12452 OP1(SLJIT_MOV, TMP2, 0, base, offset1); in compile_iterator_backtrackingpath()
12455 jump = CMP(SLJIT_LESS_EQUAL, STR_PTR, 0, TMP2, 0); in compile_iterator_backtrackingpath()
12463 CMPTO(SLJIT_GREATER, STR_PTR, 0, TMP2, 0, label); in compile_iterator_backtrackingpath()
12793 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(STACK_TOP), STACK(1)); in compile_bracket_backtrackingpath()
12797 OP1(SLJIT_MOV, SLJIT_MEM1(SLJIT_SP), OVECTOR(offset), TMP2, 0); in compile_bracket_backtrackingpath()
12803 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(STACK_TOP), STACK(1)); in compile_bracket_backtrackingpath()
12806 OP1(SLJIT_MOV, SLJIT_MEM1(SLJIT_SP), OVECTOR(offset + 1), TMP2, 0); in compile_bracket_backtrackingpath()
12926 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), repeat_ptr); in compile_bracket_backtrackingpath()
12948 OP2(SLJIT_SUB, SLJIT_MEM1(STACK_TOP), STACK(stacksize), TMP2, 0, SLJIT_IMM, 1); in compile_bracket_backtrackingpath()
13033 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(STACK_TOP), STACK(1)); in compile_bracket_backtrackingpath()
13036 OP1(SLJIT_MOV, SLJIT_MEM1(SLJIT_SP), OVECTOR(offset + 1), TMP2, 0); in compile_bracket_backtrackingpath()
13138 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(STACK_TOP), STACK(1)); in compile_bracketpos_backtrackingpath()
13142 OP1(SLJIT_MOV, SLJIT_MEM1(SLJIT_SP), OVECTOR(offset + 1), TMP2, 0); in compile_bracketpos_backtrackingpath()
13205 OP1(SLJIT_MOV, TMP2, 0, SLJIT_IMM, common->then_trap->start); in compile_control_verb_backtrackingpath()
13212 CMPTO(SLJIT_NOT_EQUAL, SLJIT_MEM1(STACK_TOP), STACK(2), TMP2, 0, loop); in compile_control_verb_backtrackingpath()
13428 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(STACK_TOP), STACK(0)); in compile_backtrackingpath()
13432 OP1(SLJIT_MOV, SLJIT_MEM1(SLJIT_SP), common->control_head_ptr, TMP2, 0); in compile_backtrackingpath()
13505 sljit_emit_fast_enter(compiler, TMP2, 0); in compile_recurse()
13515 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(local_size - 1), TMP2, 0); in compile_recurse()
13548 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), common->recursive_head_ptr); in compile_recurse()
13572 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(STACK_TOP), STACK(0)); in compile_recurse()
13574 OP1(SLJIT_MOV, SLJIT_MEM1(TMP2), STACK(local_size - 1), TMP1, 0); in compile_recurse()
13630 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(STACK_TOP), STACK(local_size - 1)); in compile_recurse()
13633 OP_SRC(SLJIT_FAST_RETURN, TMP2, 0); in compile_recurse()
13655 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(STACK_TOP), STACK(local_size - 1)); in compile_recurse()
13658 OP_SRC(SLJIT_FAST_RETURN, TMP2, 0); in compile_recurse()
13668 OP1(SLJIT_MOV, TMP2, 0, STACK_TOP, 0); in compile_recurse()
13676 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(0), TMP2, 0); in compile_recurse()
13680 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(TMP2), STACK(local_size - 1)); in compile_recurse()
13682 OP_SRC(SLJIT_FAST_RETURN, TMP2, 0); in compile_recurse()
13937 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(TMP1), SLJIT_OFFSETOF(jit_arguments, stack)); in jit_compile()
13939 OP1(SLJIT_MOV, STACK_TOP, 0, SLJIT_MEM1(TMP2), SLJIT_OFFSETOF(struct sljit_stack, end)); in jit_compile()
13940 OP1(SLJIT_MOV, STACK_LIMIT, 0, SLJIT_MEM1(TMP2), SLJIT_OFFSETOF(struct sljit_stack, start)); in jit_compile()
13978 OP2(SLJIT_ADD, TMP2, 0, STR_PTR, 0, SLJIT_IMM, IN_UCHARS(re->minlength)); in jit_compile()
13979 minlength_check_failed = CMP(SLJIT_GREATER, TMP2, 0, STR_END, 0); in jit_compile()
14132 OP1(SLJIT_MOV_U32, TMP2, 0, SLJIT_MEM1(TMP1), SLJIT_OFFSETOF(jit_arguments, options)); in jit_compile()
14133 OP2U(SLJIT_AND | SLJIT_SET_Z, TMP2, 0, SLJIT_IMM, PCRE2_NOTEMPTY); in jit_compile()
14135 OP2U(SLJIT_AND | SLJIT_SET_Z, TMP2, 0, SLJIT_IMM, PCRE2_NOTEMPTY_ATSTART); in jit_compile()
14137 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(TMP1), SLJIT_OFFSETOF(jit_arguments, str)); in jit_compile()
14138 CMPTO(SLJIT_NOT_EQUAL, TMP2, 0, STR_PTR, 0, empty_match_found_label); in jit_compile()
14198 OP1(SLJIT_MOV, STACK_LIMIT, 0, TMP2, 0); in jit_compile()
14203 OP1(SLJIT_MOV, TMP2, 0, STACK_LIMIT, 0); in jit_compile()