Home
last modified time | relevance | path

Searched refs:op (Results 1 – 25 of 134) sorted by relevance

123456

/PHP-8.0/ext/opcache/jit/libudis86/
H A Dsyn.c159 if (op->_oprcode == OP_sI && op->size != u->opr_mode) { in ud_syn_print_imm()
160 if (op->size == 8) { in ud_syn_print_imm()
161 v = (int64_t)op->lval.sbyte; in ud_syn_print_imm()
163 UD_ASSERT(op->size == 32); in ud_syn_print_imm()
170 switch (op->size) { in ud_syn_print_imm()
199 UD_ASSERT(op->offset != 0); in ud_syn_print_mem_disp()
200 if (op->base == UD_NONE && op->index == UD_NONE) { in ud_syn_print_mem_disp()
202 UD_ASSERT(op->scale == UD_NONE && op->offset != 8); in ud_syn_print_mem_disp()
204 switch (op->offset) { in ud_syn_print_mem_disp()
227 UD_ASSERT(op->offset != 64); in ud_syn_print_mem_disp()
[all …]
H A Dsyn-att.c40 switch(op->size) { in opr_cast()
54 switch(op->type) { in gen_operand()
65 opr_cast(u, op); in gen_operand()
70 if (op->offset != 0) { in gen_operand()
73 if (op->base) { in gen_operand()
76 if (op->index) { in gen_operand()
77 if (op->base) { in gen_operand()
84 if (op->scale) { in gen_operand()
87 if (op->base || op->index) { in gen_operand()
94 ud_syn_print_imm(u, op); in gen_operand()
[all …]
H A Dsyn-intel.c43 switch(op->size) { in opr_cast()
61 switch(op->type) { in gen_operand()
68 opr_cast(u, op); in gen_operand()
74 if (op->base) { in gen_operand()
77 if (op->index) { in gen_operand()
80 if (op->scale) { in gen_operand()
84 if (op->offset != 0) { in gen_operand()
85 ud_syn_print_mem_disp(u, op, (op->base != UD_NONE || in gen_operand()
92 ud_syn_print_imm(u, op); in gen_operand()
101 switch (op->size) { in gen_operand()
[all …]
H A Ddecode.c385 op->size = 32; in decode_a()
391 op->size = 48; in decode_a()
475 op->type = UD_OP_IMM; in decode_imm()
477 switch (op->size) { in decode_imm()
497 op->offset = 8; in decode_mem_disp()
501 op->offset = 16; in decode_mem_disp()
505 op->offset = 32; in decode_mem_disp()
509 op->offset = 64; in decode_mem_disp()
567 op->type = UD_OP_MEM; in decode_modrm_rm()
598 if (op->base == UD_R_RBP || op->base == UD_R_R13) { in decode_modrm_rm()
[all …]
/PHP-8.0/ext/opcache/jit/dynasm/
H A Ddasm_arm64.lua490 op = op + parse_reg_base(p1a)
494 op = op + parse_imm_load(imm, scale)
503 op = op + 0x6000
507 op = op + 0x1000
528 op = op + 0x01000000
554 op = op + 0x00800000
894 op = op + parse_reg(q); n = n + 1
908 op = op + 0x80000000
915 op = op + 0x00400000
937 op = op + parse_imm12(q); n = n + 1
[all …]
H A Ddasm_arm.lua752 op = op + shl(parse_gpr(p1), 16)
771 op = op + m + (ext and 0x00400000 or 0)
779 op = op + parse_shift(p3)
844 op = op + parse_gpr(q); n = n + 1
854 op = op + parse_imm12(imm) + 0x02000000
856 op = op + parse_gpr(q)
864 op = op + parse_vload(q)
870 op = op + parse_gpr(q)
888 op = op + parse_vrlist(q); n = n + 1
890 op = op + parse_imm16(q); n = n + 1
[all …]
H A Ddasm_mips.lua790 op = op + shl(parse_gpr(params[n]), 11); n = n + 1
792 op = op + shl(parse_gpr(params[n]), 16); n = n + 1
794 op = op + shl(parse_gpr(params[n]), 21); n = n + 1
796 op = op + shl(parse_fpr(params[n]), 6); n = n + 1
798 op = op + shl(parse_fpr(params[n]), 11); n = n + 1
800 op = op + shl(parse_fpr(params[n]), 16); n = n + 1
802 op = op + shl(parse_fpr(params[n]), 21); n = n + 1
808 op = op + parse_disp(params[n]); n = n + 1
810 op = op + parse_index(params[n]); n = n + 1
820 op = op + band(m, 0x7c0) + band(shr(m, 9), 4)
[all …]
H A Ddasm_ppc.lua1672 op = op + shl(band(vs, 31), rs) + shr(band(vs, 32), sh)
1675 op = op + shl(band(vs, 31), 21) + shr(band(vs, 32), 5)
1685 op = op + parse_disp(params[n]); n = n + 1
1687 op = op + parse_u5disp(params[n], 1); n = n + 1
1689 op = op + parse_u5disp(params[n], 2); n = n + 1
1691 op = op + parse_u5disp(params[n], 3); n = n + 1
1717 op = op + parse_cr(params[n]); n = n + 1
1721 op = op + parse_shiftmask(params[n], true); n = n + 1
1723 op = op + parse_shiftmask(params[n], false); n = n + 1
1734 op = op + shl(t, rs)
[all …]
/PHP-8.0/ext/standard/
H A Dversioning.c206 char *v1, *v2, *op = NULL; in PHP_FUNCTION() local
214 Z_PARAM_STRING_OR_NULL(op, op_len) in PHP_FUNCTION()
218 if (!op) { in PHP_FUNCTION()
221 if (!strncmp(op, "<", op_len) || !strncmp(op, "lt", op_len)) { in PHP_FUNCTION()
224 if (!strncmp(op, "<=", op_len) || !strncmp(op, "le", op_len)) { in PHP_FUNCTION()
227 if (!strncmp(op, ">", op_len) || !strncmp(op, "gt", op_len)) { in PHP_FUNCTION()
230 if (!strncmp(op, ">=", op_len) || !strncmp(op, "ge", op_len)) { in PHP_FUNCTION()
233 if (!strncmp(op, "==", op_len) || !strncmp(op, "=", op_len) || !strncmp(op, "eq", op_len)) { in PHP_FUNCTION()
236 if (!strncmp(op, "!=", op_len) || !strncmp(op, "<>", op_len) || !strncmp(op, "ne", op_len)) { in PHP_FUNCTION()
/PHP-8.0/Zend/
H A Dzend_operators.h266 return EXPECTED(Z_TYPE_P(op) == IS_LONG) ? Z_LVAL_P(op) : zval_get_long_func(op); in zval_get_long()
269 return EXPECTED(Z_TYPE_P(op) == IS_DOUBLE) ? Z_DVAL_P(op) : zval_get_double_func(op); in zval_get_double()
323 #define _zval_get_long(op) zval_get_long(op) argument
324 #define _zval_get_double(op) zval_get_double(op) argument
325 #define _zval_get_string(op) zval_get_string(op) argument
326 #define _zval_get_long_func(op) zval_get_long_func(op) argument
327 #define _zval_get_double_func(op) zval_get_double_func(op) argument
330 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op)); } argument
359 if (Z_STRLEN_P(op) > 1 || (Z_STRLEN_P(op) && Z_STRVAL_P(op)[0] != '0')) { in i_zend_is_true()
381 op = Z_REFVAL_P(op); in i_zend_is_true()
[all …]
H A Dzend_operators.c230 return op; in _zendi_convert_scalar_to_number_silent()
279 if (Z_TYPE_P(op) == IS_LONG || Z_TYPE_P(op) == IS_DOUBLE) { in zendi_try_convert_scalar_to_number()
454 ZVAL_LONG(op, zend_dval_to_lval(Z_DVAL_P(op))); in convert_to_long_base()
460 ZVAL_LONG(op, zval_get_long(op)); in convert_to_long_base()
514 ZVAL_DOUBLE(op, (double) Z_LVAL_P(op)); in convert_to_double()
580 ZVAL_BOOL(op, Z_LVAL_P(op) ? 1 : 0); in convert_to_boolean()
583 ZVAL_BOOL(op, Z_DVAL_P(op) ? 1 : 0); in convert_to_boolean()
647 ZVAL_STR(op, zend_long_to_str(Z_LVAL_P(op))); in _convert_to_string()
838 op = Z_REFVAL_P(op); in zval_get_long_func()
877 op = Z_REFVAL_P(op); in zval_get_double_func()
[all …]
H A Dzend_vm_trace_handlers.h21 #define VM_TRACE(op) zend_vm_trace(#op, sizeof(#op)-1); argument
27 static void zend_vm_trace(const char *op, size_t op_len) in zend_vm_trace() argument
39 memcpy(buf + last_len + 1, op, op_len + 1); in zend_vm_trace()
50 last = op; in zend_vm_trace()
H A Dzend_vm_execute.skl99 ZEND_API void ZEND_FASTCALL zend_serialize_opcode_handler(zend_op *op)
106 zv = zend_hash_index_find(zend_handlers_table, (zend_long)(zend_uintptr_t)op->handler);
108 op->handler = (const void *)(zend_uintptr_t)Z_LVAL_P(zv);
111 ZEND_API void ZEND_FASTCALL zend_deserialize_opcode_handler(zend_op *op)
113 op->handler = zend_opcode_handlers[(zend_uintptr_t)op->handler];
116 ZEND_API const void* ZEND_FASTCALL zend_get_opcode_handler_func(const zend_op *op)
119 return op->handler;
126 zv = zend_hash_index_find(zend_handlers_table, (zend_long)(zend_uintptr_t)op->handler);
H A Dzend_vm.h26 ZEND_API void ZEND_FASTCALL zend_serialize_opcode_handler(zend_op *op);
27 ZEND_API void ZEND_FASTCALL zend_deserialize_opcode_handler(zend_op *op);
28 ZEND_API const void* ZEND_FASTCALL zend_get_opcode_handler_func(const zend_op *op);
/PHP-8.0/ext/pcre/pcre2lib/sljit/
H A DsljitLir.c96 #define GET_FLAG_TYPE(op) ((op) >> VARIABLE_FLAG_SHIFT) argument
109 ((op) >= SLJIT_MOV_U8 && (op) <= SLJIT_MOV_S32)
112 ((op) >= SLJIT_MOV_U8 && (op) <= SLJIT_MOV_S16)
1125 CHECK_ARGUMENT(op >= SLJIT_MOV && op <= SLJIT_MOV_P); in check_sljit_emit_return()
1165 CHECK_ARGUMENT((op >= SLJIT_BREAKPOINT && op <= SLJIT_LMUL_SW) in check_sljit_emit_op0()
1167 || (op >= SLJIT_ENDBR && op <= SLJIT_SKIP_FRAMES_BEFORE_RETURN)); in check_sljit_emit_op0()
1169 …if ((GET_OPCODE(op) >= SLJIT_LMUL_UW && GET_OPCODE(op) <= SLJIT_DIV_SW) || op == SLJIT_SKIP_FRAMES… in check_sljit_emit_op0()
1331 else if (op >= SLJIT_PREFETCH_L1 && op <= SLJIT_PREFETCH_ONCE) in check_sljit_emit_op_src()
1804 CHECK_ARGUMENT(op == SLJIT_MOV || op == SLJIT_MOV32 in check_sljit_emit_op_flags()
1805 || (GET_OPCODE(op) >= SLJIT_AND && GET_OPCODE(op) <= SLJIT_XOR)); in check_sljit_emit_op_flags()
[all …]
H A DsljitNativeSPARC_common.c124 #define DOP(op) ((op) << 5) argument
733 if (op >= SLJIT_MOV && op <= SLJIT_MOV_P) in emit_op()
842 op = GET_OPCODE(op); in sljit_emit_op0()
843 switch (op) { in sljit_emit_op0()
897 op = GET_OPCODE(op); in sljit_emit_op1()
898 switch (op) { in sljit_emit_op1()
948 op = GET_OPCODE(op); in sljit_emit_op2()
949 switch (op) { in sljit_emit_op2()
984 switch (op) { in sljit_emit_op_src()
1029 #define FLOAT_DATA(op) (DOUBLE_DATA | ((op & SLJIT_F32_OP) >> 7)) argument
[all …]
H A DsljitNativePPC_common.c1079 if (op >= SLJIT_MOV && op <= SLJIT_MOV_P) in emit_op()
1102 if (!(flags & REG_DEST) && op >= SLJIT_MOV && op <= SLJIT_MOV_P) in emit_op()
1131 op = GET_OPCODE(op); in sljit_emit_op0()
1132 switch (op) { in sljit_emit_op0()
1212 op = GET_OPCODE(op); in sljit_emit_op1()
1245 switch (op) { in sljit_emit_op1()
1490 if (!HAS_FLAGS(op) || GET_OPCODE(op) == SLJIT_AND) { in sljit_emit_op2()
1545 switch (op) { in sljit_emit_op_src()
1592 #define FLOAT_DATA(op) (DOUBLE_DATA | ((op & SLJIT_F32_OP) >> 6)) argument
1621 op = GET_OPCODE(op); in sljit_emit_fop1_conv_sw_from_f64()
[all …]
H A DsljitNativeMIPS_64.c126 if (op & SLJIT_SET_Z) \
132 if (op & SLJIT_SET_Z) \
147 if (op & SLJIT_SET_Z) \
154 if (op & SLJIT_SET_Z) \
166 switch (GET_OPCODE(op)) { in emit_single_op()
215 if (op & SLJIT_SET_Z) in emit_single_op()
224 if (op & SLJIT_SET_Z) in emit_single_op()
293 if (op & SLJIT_SET_Z) in emit_single_op()
375 if (op & SLJIT_SET_Z) in emit_single_op()
381 if (op & SLJIT_SET_Z) in emit_single_op()
[all …]
H A DsljitNativeMIPS_common.c1113 if (op >= SLJIT_MOV && op <= SLJIT_MOV_P) in emit_op()
1167 if (!(flags & REG_DEST) && op >= SLJIT_MOV && op <= SLJIT_MOV_P) in emit_op()
1178 if ((op >= SLJIT_MOV && op <= SLJIT_MOV_P) && (dst & SLJIT_MEM)) in emit_op()
1229 op = GET_OPCODE(op); in sljit_emit_op0()
1230 switch (op) { in sljit_emit_op0()
1340 if ((op & SLJIT_I32_OP) && GET_OPCODE(op) >= SLJIT_NOT) in sljit_emit_op1()
1472 switch (op) { in sljit_emit_op_src()
1522 #define FLOAT_DATA(op) (DOUBLE_DATA | ((op & SLJIT_F32_OP) >> 7)) argument
1523 #define FMT(op) (((op & SLJIT_F32_OP) ^ SLJIT_F32_OP) << (21 - 8)) argument
1642 op ^= SLJIT_F32_OP; in sljit_emit_fop1()
[all …]
H A DsljitNativeMIPS_32.c43 if (op & SLJIT_SET_Z) \
49 if (op & SLJIT_SET_Z) \
57 if (op & SLJIT_SET_Z) \
63 if (op & SLJIT_SET_Z) \
74 switch (GET_OPCODE(op)) { in emit_single_op()
124 if (op & SLJIT_SET_Z) in emit_single_op()
133 if (op & SLJIT_SET_Z) in emit_single_op()
202 if (op & SLJIT_SET_Z) in emit_single_op()
284 if (op & SLJIT_SET_Z) in emit_single_op()
290 if (op & SLJIT_SET_Z) in emit_single_op()
[all …]
/PHP-8.0/ext/opcache/Optimizer/
H A Descape_analysis.c107 if (op->op1_def >= 0) { in zend_build_equi_escape_sets()
108 if (op->op1_use >= 0) { in zend_build_equi_escape_sets()
110 union_find_unite(parent, size, op->op1_def, op->op1_use); in zend_build_equi_escape_sets()
114 union_find_unite(parent, size, op->op1_def, op->op2_use); in zend_build_equi_escape_sets()
117 if (op->op2_def >= 0) { in zend_build_equi_escape_sets()
118 if (op->op2_use >= 0) { in zend_build_equi_escape_sets()
119 union_find_unite(parent, size, op->op2_def, op->op2_use); in zend_build_equi_escape_sets()
125 union_find_unite(parent, size, op->result_def, op->result_use); in zend_build_equi_escape_sets()
129 union_find_unite(parent, size, op->result_def, op->op1_use); in zend_build_equi_escape_sets()
132 union_find_unite(parent, size, op->result_def, op->op2_use); in zend_build_equi_escape_sets()
[all …]
H A Dzend_optimizer_internal.h36 #define INV_COND(op) ((op) == ZEND_JMPZ ? ZEND_JMPNZ : ZEND_JMPZ) argument
37 #define INV_EX_COND(op) ((op) == ZEND_JMPZ_EX ? ZEND_JMPNZ : ZEND_JMPZ) argument
38 #define INV_COND_EX(op) ((op) == ZEND_JMPZ ? ZEND_JMPNZ_EX : ZEND_JMPZ_EX) argument
39 #define INV_EX_COND_EX(op) ((op) == ZEND_JMPZ_EX ? ZEND_JMPNZ_EX : ZEND_JMPZ_EX) argument
41 #define RESULT_UNUSED(op) (op->result_type == IS_UNUSED) argument
52 #define LITERAL_LONG(op, val) do { \ argument
55 op.constant = zend_optimizer_add_literal(op_array, &_c); \
58 #define LITERAL_BOOL(op, val) do { \ argument
61 op.constant = zend_optimizer_add_literal(op_array, &_c); \
/PHP-8.0/ext/standard/tests/strings/
H A Dstr_shuffle_basic.phpt24 $op = str_shuffle($ip);
26 if (!is_string($op) || strlen($op) != $len_ip) {
31 if (empty($a[$op])) {
33 $a[$op] = 0;
37 $a[$op]++;
/PHP-8.0/sapi/phpdbg/
H A Dphpdbg_opcode.c44 zend_string *var = ops->vars[EX_VAR_TO_NUM(op->var)]; in phpdbg_decode_op()
51 spprintf(&decode, 0, "@%u", EX_VAR_TO_NUM(op->var) - ops->last_var); in phpdbg_decode_op()
54 spprintf(&decode, 0, "~%u", EX_VAR_TO_NUM(op->var) - ops->last_var); in phpdbg_decode_op()
57 zval *literal = RT_CONSTANT(opline, *op); in phpdbg_decode_op()
65 zend_op_array *ops, const zend_op *opline, znode_op op, zend_uchar op_type, in phpdbg_decode_input_op() argument
69 result = phpdbg_decode_op(ops, opline, &op, op_type); in phpdbg_decode_input_op()
71 spprintf(&result, 0, "J%td", OP_JMP_ADDR(opline, op) - ops->opcodes); in phpdbg_decode_input_op()
73 spprintf(&result, 0, "%" PRIu32, op.num); in phpdbg_decode_input_op()
75 if (op.num != (uint32_t)-1) { in phpdbg_decode_input_op()
76 spprintf(&result, 0, "try-catch(%" PRIu32 ")", op.num); in phpdbg_decode_input_op()
[all …]
/PHP-8.0/ext/opcache/jit/
H A Dzend_jit_x86.h261 #define OP_REG(ssa_op, op) \ argument
262 (ra && ssa_op->op >= 0 && ra[ssa_op->op] ? \
263 OP_REG_EX(ra[ssa_op->op]->reg, \
264 (ra[ssa_op->op]->flags & ZREG_STORE), \
265 (ra[ssa_op->op]->flags & ZREG_LOAD), \
266 zend_ival_is_last_use(ra[ssa_op->op], ssa_op - ssa->ops) \
273 return ZEND_ADDR_CONST_ZVAL(op.zv); in _zend_jit_decode_op()
275 return ZEND_ADDR_CONST_ZVAL(RT_CONSTANT(opline, op)); in _zend_jit_decode_op()
282 return ZEND_ADDR_MEM_ZVAL(ZREG_FP, op.var); in _zend_jit_decode_op()
287 #define OP_ADDR(opline, type, op) \ argument
[all …]

Completed in 110 milliseconds

123456