/PHP-5.5/ext/pcre/pcrelib/sljit/ |
H A D | sljitNativePPC_64.c | 51 if (imm <= SIMM_MAX && imm >= SIMM_MIN) in load_immediate() 54 if (!(imm & ~0xffff)) in load_immediate() 57 if (imm <= 0x7fffffffl && imm >= -0x80000000l) { in load_immediate() 63 tmp = (imm >= 0) ? imm : ~imm; in load_immediate() 67 tmp = (imm << shift); in load_immediate() 345 compiler->imm &= 0x1f; in emit_single_op() 349 compiler->imm &= 0x3f; in emit_single_op() 359 compiler->imm &= 0x1f; in emit_single_op() 363 compiler->imm &= 0x3f; in emit_single_op() 375 compiler->imm &= 0x1f; in emit_single_op() [all …]
|
H A D | sljitNativePPC_32.c | 31 if (imm <= SIMM_MAX && imm >= SIMM_MIN) in load_immediate() 32 return push_inst(compiler, ADDI | D(reg) | A(0) | IMM(imm)); in load_immediate() 34 if (!(imm & ~0xffff)) in load_immediate() 35 return push_inst(compiler, ORI | S(TMP_ZERO) | A(reg) | IMM(imm)); in load_immediate() 38 return (imm & 0xffff) ? push_inst(compiler, ORI | S(reg) | A(reg) | IMM(imm)) : SLJIT_SUCCESS; in load_immediate() 115 …sh_inst(compiler, ADDIS | D(dst) | A(dst) | (((compiler->imm >> 16) & 0xffff) + ((compiler->imm >>… in emit_single_op() 217 compiler->imm &= 0x1f; in emit_single_op() 218 …ompiler, RLWINM | RC(flags) | S(src1) | A(dst) | (compiler->imm << 11) | ((31 - compiler->imm) << … in emit_single_op() 225 compiler->imm &= 0x1f; in emit_single_op() 226 …RLWINM | RC(flags) | S(src1) | A(dst) | (((32 - compiler->imm) & 0x1f) << 11) | (compiler->imm << … in emit_single_op() [all …]
|
H A D | sljitNativeARM_T2_32.c | 57 #define IMM3(imm) (imm << 6) argument 58 #define IMM8(imm) (imm) argument 79 (COPY_BITS(imm, 11, 26, 1) | COPY_BITS(imm, 8, 12, 3) | (imm & 0xff)) 564 imm = get_imm(imm); in emit_op_imm() 569 imm = get_imm(imm); in emit_op_imm() 577 imm = get_imm(imm); in emit_op_imm() 603 imm = get_imm(imm); in emit_op_imm() 610 imm = get_imm(imm); in emit_op_imm() 618 imm = get_imm(imm); in emit_op_imm() 626 imm = get_imm(imm); in emit_op_imm() [all …]
|
H A D | sljitNativeARM_32.c | 947 (((imm) & 0xf) | (((imm) & 0xf0) << 4) | (1 << 22)) 1148 imm <<= 8; in get_imm() 1152 imm = (imm << 24) | (imm >> 8); in get_imm() 1157 imm <<= 8; in get_imm() 1162 imm <<= 4; in get_imm() 1191 imm = (imm << rol) | (imm >> (32 - rol)); in generate_int() 1200 imm = (imm << 8) | (imm >> 24); in generate_int() 1206 imm = (imm << rol) | (imm >> (32 - rol)); in generate_int() 1525 imm = (sljit_uw)-(sljit_sw)imm; in getput_arg() 1531 if (imm) { in getput_arg() [all …]
|
H A D | sljitNativeARM_64.c | 357 if (len == 32 && (imm == 0 || imm == -1)) in logical_imm() 359 if (len == 16 && ((sljit_si)imm == 0 || (sljit_si)imm == -1)) in logical_imm() 363 SLJIT_ASSERT((len == 32 && imm != 0 && imm != -1) in logical_imm() 364 || (len == 16 && (sljit_si)imm != 0 && (sljit_si)imm != -1)); in logical_imm() 397 if (~imm) in logical_imm() 560 imm = -imm; in emit_op_imm() 567 if (imm > 0 && imm <= 0xfff) { in emit_op_imm() 571 nimm = -imm; in emit_op_imm() 576 if (imm > 0 && imm <= 0xffffff && !(imm & 0xfff)) { in emit_op_imm() 584 if (imm > 0 && imm <= 0xffffff && !(flags & SET_FLAGS)) { in emit_op_imm() [all …]
|
H A D | sljitNativeMIPS_64.c | 37 if (!(imm & ~0xffff)) in load_immediate() 40 if (imm < 0 && imm >= SIMM_MIN) in load_immediate() 43 if (imm <= 0x7fffffffl && imm >= -0x80000000l) { in load_immediate() 45 …return (imm & 0xffff) ? push_inst(compiler, ORI | SA(dst_ar) | TA(dst_ar) | IMM(imm), dst_ar) : SL… in load_immediate() 49 uimm = imm; in load_immediate() 50 if (imm < 0) { in load_immediate() 51 uimm = ~imm; in load_immediate() 83 imm &= (1l << shift) - 1; in load_immediate() 84 if (!(imm & ~0xffff)) { in load_immediate() 89 …return !(imm & 0xffff) ? SLJIT_SUCCESS : push_inst(compiler, ORI | SA(dst_ar) | TA(dst_ar) | IMM(i… in load_immediate() [all …]
|
H A D | sljitNativeSPARC_32.c | 27 static sljit_si load_immediate(struct sljit_compiler *compiler, sljit_si dst, sljit_sw imm) in load_immediate() argument 29 if (imm <= SIMM_MAX && imm >= SIMM_MIN) in load_immediate() 30 return push_inst(compiler, OR | D(dst) | S1(0) | IMM(imm), DR(dst)); in load_immediate() 32 FAIL_IF(push_inst(compiler, SETHI | D(dst) | ((imm >> 10) & 0x3fffff), DR(dst))); in load_immediate() 33 …return (imm & 0x3ff) ? push_inst(compiler, OR | D(dst) | S1(dst) | IMM_ARG | (imm & 0x3ff), DR(dst… in load_immediate()
|
H A D | sljitNativeTILEGX_64.c | 42 #define IMM16(imm) ((imm) & 0xffff) argument 418 #define SHRUI(dst, srca, imm) \ argument 421 #define XORI(dst, srca, imm) \ argument 424 #define ORI(dst, srca, imm) \ argument 433 #define CMPLTUI(dst, srca, imm) \ argument 466 #define ADDI_SOLO(dest, srca, imm) \ argument 469 #define ADDLI_SOLO(dest, srca, imm) \ argument 1123 if (imm <= SIMM_16BIT_MAX && imm >= SIMM_16BIT_MIN) in load_immediate() 1124 return ADDLI(dst_ar, ZERO, imm); in load_immediate() 1126 if (imm <= SIMM_32BIT_MAX && imm >= SIMM_32BIT_MIN) { in load_immediate() [all …]
|
H A D | sljitNativeMIPS_32.c | 29 static sljit_si load_immediate(struct sljit_compiler *compiler, sljit_si dst_ar, sljit_sw imm) in load_immediate() argument 31 if (!(imm & ~0xffff)) in load_immediate() 32 return push_inst(compiler, ORI | SA(0) | TA(dst_ar) | IMM(imm), dst_ar); in load_immediate() 34 if (imm < 0 && imm >= SIMM_MIN) in load_immediate() 35 return push_inst(compiler, ADDIU | SA(0) | TA(dst_ar) | IMM(imm), dst_ar); in load_immediate() 37 FAIL_IF(push_inst(compiler, LUI | TA(dst_ar) | IMM(imm >> 16), dst_ar)); in load_immediate() 38 …return (imm & 0xffff) ? push_inst(compiler, ORI | SA(dst_ar) | TA(dst_ar) | IMM(imm), dst_ar) : SL… in load_immediate()
|
H A D | sljitNativePPC_common.c | 121 #define IMM(imm) ((imm) & 0xffff) argument 933 #define ADJUST_CACHED_IMM(imm) \ argument 938 imm &= ~0x3; \ 1490 compiler->imm = src2w & 0xffff; in sljit_emit_op2() 1494 compiler->imm = src1w & 0xffff; in sljit_emit_op2() 1571 compiler->imm = src2w; in sljit_emit_op2() 1611 compiler->imm = src2w; in sljit_emit_op2() 1615 compiler->imm = src1w; in sljit_emit_op2() 1629 compiler->imm = src2w; in sljit_emit_op2() 1633 compiler->imm = src1w; in sljit_emit_op2() [all …]
|
H A D | sljitNativeX86_64.c | 29 static sljit_si emit_load_imm64(struct sljit_compiler *compiler, sljit_si reg, sljit_sw imm) in emit_load_imm64() argument 38 *(sljit_sw*)inst = imm; in emit_load_imm64() 331 …ljit_si emit_do_imm32(struct sljit_compiler *compiler, sljit_ub rex, sljit_ub opcode, sljit_sw imm) in emit_do_imm32() argument 342 *(sljit_si*)inst = imm; in emit_do_imm32()
|
H A D | sljitNativeX86_32.c | 29 static sljit_si emit_do_imm(struct sljit_compiler *compiler, sljit_ub opcode, sljit_sw imm) in emit_do_imm() argument 37 *(sljit_sw*)inst = imm; in emit_do_imm()
|
H A D | sljitLir.h | 370 sljit_sw imm; member
|
H A D | sljitNativeMIPS_common.c | 89 #define IMM(imm) ((imm) & 0xffff) argument 90 #define SH_IMM(imm) ((imm) << 6) argument
|
H A D | sljitNativeSPARC_common.c | 110 #define IMM(imm) (((imm) & 0x1fff) | IMM_ARG) argument
|