Home
last modified time | relevance | path

Searched refs:reg (Results 1 – 25 of 103) sorted by relevance

12345

/php-src/ext/opcache/jit/ir/
H A Dir_ra.c234 ival->reg = reg; in ir_add_fixed_live_range()
2847 reg = other->reg; in ir_try_allocate_free_reg()
2875 reg = other->reg; in ir_try_allocate_free_reg()
2910 ival->reg = reg; in ir_try_allocate_free_reg()
2924 ival->reg = reg; in ir_try_allocate_free_reg()
2966 ival->reg = reg; in ir_try_allocate_free_reg()
3008 ival->reg = reg; in ir_try_allocate_free_reg()
3088 reg = other->reg; in ir_allocate_blocked_reg()
3120 reg = other->reg; in ir_allocate_blocked_reg()
3347 ival->reg = reg; in ir_allocate_blocked_reg()
[all …]
H A Dir_save.c70 int8_t reg = regs[k]; in ir_save_dessa_moves() local
71 if (reg != IR_REG_NONE) { in ir_save_dessa_moves()
73 (reg & (IR_REG_SPILL_LOAD|IR_REG_SPILL_SPECIAL)) ? ":load" : ""); in ir_save_dessa_moves()
78 int8_t reg = ctx->regs[use_ref][0]; in ir_save_dessa_moves() local
79 if (reg != IR_REG_NONE) { in ir_save_dessa_moves()
174 int8_t reg = ctx->regs[i][0]; in ir_save() local
175 if (reg != IR_REG_NONE) { in ir_save()
192 int8_t reg = ctx->regs[i][0]; in ir_save() local
193 if (reg != IR_REG_NONE) { in ir_save()
232 int8_t reg = regs[j]; in ir_save() local
[all …]
H A Dir_dump.c194 int8_t reg = regs[k]; in ir_dump_dessa_moves() local
195 if (reg != IR_REG_NONE) { in ir_dump_dessa_moves()
202 int8_t reg = ctx->regs[use_ref][0]; in ir_dump_dessa_moves() local
203 if (reg != IR_REG_NONE) { in ir_dump_dessa_moves()
382 if (ival->reg != IR_REG_NONE) { in ir_dump_live_ranges()
566 int8_t reg = ctx->regs[i][0]; in ir_dump_codegen() local
567 if (reg != IR_REG_NONE) { in ir_dump_codegen()
582 int8_t reg = ctx->regs[i][0]; in ir_dump_codegen() local
583 if (reg != IR_REG_NONE) { in ir_dump_codegen()
620 int8_t reg = regs[j]; in ir_dump_codegen() local
[all …]
H A Dir_aarch64.dasc275 IR_ASSERT(reg >= 0 && reg < IR_REG_NUM);
2113 | ASM_REG_REG_REG_OP add, type, reg, reg, op2_reg
2116 | ASM_REG_REG_REG_OP sub, type, reg, reg, op2_reg
2119 | ASM_REG_REG_REG_OP mul, type, reg, reg, op2_reg
3797 reg = IR_REG_NUM(reg);
5236 | and Rx(reg), Rx(reg), #0xfffffffffffffff8
5244 | ldr Rx(reg), [Rx(reg), #insn->op2]
5246 | ldr Rx(reg), [Rx(reg), #0]
5247 | ldr Rx(reg), [Rx(reg), #insn->op2]
5248 | ldr Rx(reg), [Rx(reg), #insn->op3]
[all …]
/php-src/ext/pcre/pcre2lib/sljit/
H A DsljitNativePPC_64.c80 FAIL_IF(push_inst(compiler, ORI | S(reg) | A(reg) | IMM(tmp >> 32))); in load_immediate()
92 return push_inst(compiler, ORI | S(reg) | A(reg) | (sljit_ins)tmp2); in load_immediate()
98 FAIL_IF(push_inst(compiler, ORIS | S(reg) | A(reg) | (sljit_ins)(tmp2 >> 16))); in load_immediate()
110 FAIL_IF(push_inst(compiler, ORI | S(reg) | A(reg) | (sljit_ins)(tmp2 >> 48))); in load_immediate()
116 FAIL_IF(push_inst(compiler, ORI | S(reg) | A(reg) | IMM(imm >> 32))); in load_immediate()
118 FAIL_IF(push_inst(compiler, ORIS | S(reg) | A(reg) | IMM(imm >> 16))); in load_immediate()
119 return push_inst(compiler, ORI | S(reg) | A(reg) | IMM(imm)); in load_immediate()
512 sljit_s32 reg = 0; in call_with_args() local
532 FAIL_IF(push_inst(compiler, OR | S(reg) | A(TMP_CALL_REG) | B(reg))); in call_with_args()
566 FAIL_IF(push_inst(compiler, SLDI(32) | S(reg) | A(reg))); in emit_const()
[all …]
H A DsljitNativeRISCV_32.c71 sljit_s32 freg, sljit_s32 reg) in sljit_emit_fcopy() argument
77 CHECK(check_sljit_emit_fcopy(compiler, op, freg, reg)); in sljit_emit_fcopy()
81 inst = FMV_W_X | RS1(reg) | FRD(freg); in sljit_emit_fcopy()
83 inst = FMV_X_W | FRS1(freg) | RD(reg); in sljit_emit_fcopy()
90 if (reg & REG_PAIR_MASK) { in sljit_emit_fcopy()
91 reg2 = REG_PAIR_SECOND(reg); in sljit_emit_fcopy()
92 reg = REG_PAIR_FIRST(reg); in sljit_emit_fcopy()
101 FAIL_IF(push_inst(compiler, SW | RS1(SLJIT_SP) | RS2(reg) | (12 << 7))); in sljit_emit_fcopy()
109 FAIL_IF(push_inst(compiler, LW | RD(reg) | RS1(SLJIT_SP) | IMM_I(12))); in sljit_emit_fcopy()
H A DsljitNativePPC_32.c32 return push_inst(compiler, ADDI | D(reg) | A(0) | IMM(imm)); in load_immediate()
35 return push_inst(compiler, ORI | S(TMP_ZERO) | A(reg) | IMM(imm)); in load_immediate()
37 FAIL_IF(push_inst(compiler, ADDIS | D(reg) | A(0) | IMM(imm >> 16))); in load_immediate()
38 return (imm & 0xffff) ? push_inst(compiler, ORI | S(reg) | A(reg) | IMM(imm)) : SLJIT_SUCCESS; in load_immediate()
325 return push_inst(compiler, ORI | S(reg) | A(reg) | IMM(init_value)); in emit_const()
432 sljit_s32 freg, sljit_s32 reg) in sljit_emit_fcopy() argument
437 CHECK(check_sljit_emit_fcopy(compiler, op, freg, reg)); in sljit_emit_fcopy()
446 return push_inst(compiler, LWZ | S(reg) | A(SLJIT_SP) | TMP_MEM_OFFSET); in sljit_emit_fcopy()
449 if (reg & REG_PAIR_MASK) { in sljit_emit_fcopy()
450 reg2 = REG_PAIR_SECOND(reg); in sljit_emit_fcopy()
[all …]
H A DsljitNativeARM_T2_32.c796 sljit_s32 reg; in emit_op_imm() local
833 if (reg == dst) { in emit_op_imm()
891 if (reg == dst) { in emit_op_imm()
1121 arg2 = (sljit_uw)reg; in emit_op_imm()
1130 arg2 = (sljit_uw)reg; in emit_op_imm()
1139 arg2 = (sljit_uw)reg; in emit_op_imm()
1148 arg2 = (sljit_uw)reg; in emit_op_imm()
2202 return reg_map[reg]; in sljit_get_register_index()
2538 reg = REG_PAIR_FIRST(reg); in sljit_emit_fcopy()
3208 sljit_s32 reg, in sljit_emit_mem() argument
[all …]
H A DsljitNativeX86_32.c1312 sljit_s32 reg, in sljit_emit_mem() argument
1351 reg = regs[reg_idx]; in sljit_emit_mem()
1355 if (reg >= SLJIT_R3 && reg <= SLJIT_S3) { in sljit_emit_mem()
1357 reg = TMP_REG1; in sljit_emit_mem()
1606 reg = REG_PAIR_SECOND(reg); in sljit_emit_fcopy()
1613 reg2 = reg; in sljit_emit_fcopy()
1622 if (reg & REG_PAIR_MASK) { in sljit_emit_fcopy()
1624 reg = REG_PAIR_FIRST(reg); in sljit_emit_fcopy()
1626 if (reg == reg2) in sljit_emit_fcopy()
1627 reg = 0; in sljit_emit_fcopy()
[all …]
H A DsljitNativePPC_common.c436 sljit_s32 reg; in generate_jump_or_mov_addr() local
467 ins[1] = ORI | S(reg) | A(reg) | IMM(addr); in generate_jump_or_mov_addr()
474 ins[1] = ORI | S(reg) | A(reg) | IMM(addr); in generate_jump_or_mov_addr()
481 ins[1] = ORI | S(reg) | A(reg) | IMM(addr >> 16); in generate_jump_or_mov_addr()
482 ins[2] = SLDI(16) | S(reg) | A(reg); in generate_jump_or_mov_addr()
483 ins[3] = ORI | S(reg) | A(reg) | IMM(addr); in generate_jump_or_mov_addr()
488 ins[1] = ORI | S(reg) | A(reg) | IMM(addr >> 32); in generate_jump_or_mov_addr()
489 ins[2] = SLDI(32) | S(reg) | A(reg); in generate_jump_or_mov_addr()
490 ins[3] = ORIS | S(reg) | A(reg) | IMM(addr >> 16); in generate_jump_or_mov_addr()
491 ins[4] = ORI | S(reg) | A(reg) | IMM(addr); in generate_jump_or_mov_addr()
[all …]
H A DsljitLir.c127 #define OFFS_REG(reg) (((reg) >> 8) & REG_MASK) argument
129 #define TO_OFFS_REG(reg) ((reg) << 8) argument
130 #define FAST_IS_REG(reg) ((reg) < REG_MASK) argument
138 #define REG_PAIR_FIRST(reg) ((reg) & 0x7f) argument
139 #define REG_PAIR_SECOND(reg) ((reg) >> 8) argument
1821 CHECK_ARGUMENT((reg > 0 && reg <= SLJIT_NUMBER_OF_REGISTERS) in check_sljit_get_register_index()
2494 sljit_s32 reg, in check_sljit_emit_mem() argument
2535 CHECK_ARGUMENT(REG_PAIR_FIRST(reg) != REG_PAIR_SECOND(reg)); in check_sljit_emit_mem()
2580 sljit_s32 reg, in check_sljit_emit_mem_update() argument
3083 sljit_s32 reg, in sljit_emit_mem_unaligned() argument
[all …]
/php-src/ext/opcache/tests/jit/
H A Dinc_008.phpt15 return ++$x; // reg -> reg, reg
H A Dinc_016.phpt15 return ++$x; // reg -> reg, reg
H A Dinc_017.phpt15 return ++$x; // reg -> reg, reg
H A Dinc_018.phpt15 return ++$x; // reg -> reg, reg
H A Dinc_004.phpt15 ++$x; // reg -> reg
H A Dinc_012.phpt15 ++$x; // reg -> reg
H A Dinc_007.phpt16 return ++$x; // mem -> reg, reg
H A Dinc_015.phpt16 return ++$x; // mem -> reg, reg
/php-src/ext/opcache/jit/ir/dynasm/
H A Ddasm_x86.lua534 reg = vex.v.reg
536 if reg < 0 then reg = 0; vreg = vex.v.vreg end
585 local reg, xreg = t.reg, t.xreg
586 if reg and reg < 0 then reg = 0; vreg = t.vreg end
764 local reg = ovreg or tp.reg
803 reg, t.reg, tp = rtexpr(reg)
887 reg, t.reg, tp = rtexpr(reg)
2007 local reg = a.reg
2314 if reg and not map_reg_valid_base[reg] then
2324 reg = reg,
[all …]
H A Ddasm_mips.lua835 local reg = ovreg or tp.reg
836 if not reg then
839 expr = reg
883 local imm, reg = match(disp, "^(.*)%(([%w_:]+)%)$")
885 local r = shl(parse_gpr(reg), 21)
894 local reg, tailr = match(disp, "^([%w_:]+)%s*(.*)$")
895 if reg and tailr ~= "" then
896 local r, tp = parse_gpr(reg)
1098 local name, ctype, reg = params[1], params[2], params[3]
1113 reg = reg,
[all …]
H A Ddasm_arm.lua540 local reg = ovreg or tp.reg
541 if not reg then
544 expr = reg
737 if reg and tailr ~= "" then
738 local d, tp = parse_gpr(reg)
792 if reg then
793 local d = shl(parse_gpr(reg), 16)
815 if reg and tailr ~= "" then
816 local d, tp = parse_gpr(reg)
1045 reg = reg,
[all …]
/php-src/ext/mbstring/tests/
H A Dmb_ereg.phpt21 …ntf( "(%d)%s\n", mb_ereg( $pat, $str, $reg ), ( is_array( $reg )? bin2hex(mb_convert_encoding( imp…
H A Dmb_ereg_search.phpt13 $reg = "\w+";
17 mb_ereg_search_init($str, $reg);
/php-src/ext/pdo_mysql/tests/
H A Dpdo_mysql_phpinfo.phpt21 $reg = 'Client API version.*' . preg_quote($db->getAttribute(PDO::ATTR_CLIENT_VERSION), '/');
23 if (!preg_match("/$reg/", $tmp)) {

Completed in 143 milliseconds

12345