Home
last modified time | relevance | path

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

123456

/PHP-8.1/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.1/Zend/tests/readonly_props/
H A Dvariation.phpt78 echo 'Init: ' . ((int) $init) . ', scope: ' . ((int) $scope) . ', op: ' . $op . ": ";
81 $test->{$op}();
83 $op($test);
95 Init: 1, scope: 1, op: r: 1
99 Init: 1, scope: 1, op: is: 1
101 Init: 1, scope: 0, op: r: 1
105 Init: 1, scope: 0, op: is: 1
108 Init: 0, scope: 1, op: w: done
111 Init: 0, scope: 1, op: is: 0
112 Init: 0, scope: 1, op: us: done
[all …]
H A Dvariation_nested.phpt48 foreach (['r', 'w', 'rw', 'im', 'is', 'us'] as $op) {
54 echo 'Init: ' . ((int) $init) . ', op: ' . $op . ": ";
56 $op($test);
66 Init: 1, op: r: 1
67 Init: 1, op: w: done
68 Init: 1, op: rw: done
69 Init: 1, op: im: done
70 Init: 1, op: is: 1
71 Init: 1, op: us: done
76 Init: 0, op: is: 0
[all …]
/PHP-8.1/ext/opcache/jit/dynasm/
H A Ddasm_arm64.lua505 op = op + parse_reg_base(p1a)
509 op = op + parse_imm_load(imm, scale)
512 op = op + parse_reg(p2b, 16) + 0x00200800
518 op = op + 0x6000
522 op = op + 0x1000
543 op = op + 0x01000000
569 op = op + 0x00800000
926 op = op + 0x80000000
933 op = op + 0x00400000
961 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.lua961 op = op + shl(parse_gpr(params[n]), 11); n = n + 1
963 op = op + shl(parse_gpr(params[n]), 16); n = n + 1
965 op = op + shl(parse_gpr(params[n]), 21); n = n + 1
967 op = op + shl(parse_fpr(params[n]), 6); n = n + 1
969 op = op + shl(parse_fpr(params[n]), 11); n = n + 1
971 op = op + shl(parse_fpr(params[n]), 16); n = n + 1
973 op = op + shl(parse_fpr(params[n]), 21); n = n + 1
975 op = op + parse_imm(params[n], 16, 0, 0, true); n = n + 1
979 op = op + parse_disp(params[n]); n = n + 1
981 op = op + parse_index(params[n]); n = n + 1
[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.1/ext/standard/
H A Dversioning.c207 zend_string *op = NULL; in PHP_FUNCTION() local
215 Z_PARAM_STR_OR_NULL(op) in PHP_FUNCTION()
219 if (!op) { in PHP_FUNCTION()
222 if (zend_string_equals_literal(op, "<") || zend_string_equals_literal(op, "lt")) { in PHP_FUNCTION()
225 if (zend_string_equals_literal(op, "<=") || zend_string_equals_literal(op, "le")) { in PHP_FUNCTION()
228 if (zend_string_equals_literal(op, ">") || zend_string_equals_literal(op, "gt")) { in PHP_FUNCTION()
231 if (zend_string_equals_literal(op, ">=") || zend_string_equals_literal(op, "ge")) { in PHP_FUNCTION()
234 …if (zend_string_equals_literal(op, "==") || zend_string_equals_literal(op, "=") || zend_string_equ… in PHP_FUNCTION()
237 …if (zend_string_equals_literal(op, "!=") || zend_string_equals_literal(op, "<>") || zend_string_eq… in PHP_FUNCTION()
/PHP-8.1/Zend/
H A Dzend_operators.h282 return EXPECTED(Z_TYPE_P(op) == IS_LONG) ? Z_LVAL_P(op) : zval_get_long_func(op, false); in zval_get_long()
285 return EXPECTED(Z_TYPE_P(op) == IS_LONG) ? Z_LVAL_P(op) : zval_get_long_func(op, is_strict); in zval_get_long_ex()
288 return EXPECTED(Z_TYPE_P(op) == IS_DOUBLE) ? Z_DVAL_P(op) : zval_get_double_func(op); in zval_get_double()
342 #define _zval_get_long(op) zval_get_long(op) argument
343 #define _zval_get_double(op) zval_get_double(op) argument
344 #define _zval_get_string(op) zval_get_string(op) argument
345 #define _zval_get_long_func(op) zval_get_long_func(op) argument
349 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op)); } argument
378 if (Z_STRLEN_P(op) > 1 || (Z_STRLEN_P(op) && Z_STRVAL_P(op)[0] != '0')) { in i_zend_is_true()
400 op = Z_REFVAL_P(op); in i_zend_is_true()
[all …]
H A Dzend_operators.c220 return op; in _zendi_convert_scalar_to_number_silent()
452 ZVAL_LONG(op, zend_dval_to_lval(Z_DVAL_P(op))); in convert_to_long()
457 ZVAL_LONG(op, zval_get_long(op)); in convert_to_long()
508 ZVAL_DOUBLE(op, (double) Z_LVAL_P(op)); in convert_to_double()
574 ZVAL_BOOL(op, Z_LVAL_P(op) ? 1 : 0); in convert_to_boolean()
577 ZVAL_BOOL(op, Z_DVAL_P(op) ? 1 : 0); in convert_to_boolean()
641 ZVAL_STR(op, zend_long_to_str(Z_LVAL_P(op))); in _convert_to_string()
644 ZVAL_NEW_STR(op, zend_double_to_str(Z_DVAL_P(op))); in _convert_to_string()
856 op = Z_REFVAL_P(op); in zval_get_long_func()
895 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);
/PHP-8.1/ext/pcre/pcre2lib/sljit/
H A DsljitLir.c95 #define GET_FLAG_TYPE(op) ((op) >> VARIABLE_FLAG_SHIFT) argument
108 ((op) >= SLJIT_MOV_U8 && (op) <= SLJIT_MOV_S32)
111 ((op) >= SLJIT_MOV_U8 && (op) <= SLJIT_MOV_S16)
1139 CHECK_ARGUMENT(op >= SLJIT_MOV && op <= SLJIT_MOV_P); in check_sljit_emit_return()
1179 CHECK_ARGUMENT((op >= SLJIT_BREAKPOINT && op <= SLJIT_LMUL_SW) in check_sljit_emit_op0()
1181 || (op >= SLJIT_ENDBR && op <= SLJIT_SKIP_FRAMES_BEFORE_RETURN)); in check_sljit_emit_op0()
1183 …if ((GET_OPCODE(op) >= SLJIT_LMUL_UW && GET_OPCODE(op) <= SLJIT_DIV_SW) || op == SLJIT_SKIP_FRAMES… in check_sljit_emit_op0()
1345 else if (op >= SLJIT_PREFETCH_L1 && op <= SLJIT_PREFETCH_ONCE) in check_sljit_emit_op_src()
1818 CHECK_ARGUMENT(op == SLJIT_MOV || op == SLJIT_MOV32 in check_sljit_emit_op_flags()
1819 || (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
734 if (op >= SLJIT_MOV && op <= SLJIT_MOV_P) in emit_op()
843 op = GET_OPCODE(op); in sljit_emit_op0()
844 switch (op) { in sljit_emit_op0()
898 op = GET_OPCODE(op); in sljit_emit_op1()
899 switch (op) { in sljit_emit_op1()
949 op = GET_OPCODE(op); in sljit_emit_op2()
950 switch (op) { in sljit_emit_op2()
985 switch (op) { in sljit_emit_op_src()
1030 #define FLOAT_DATA(op) (DOUBLE_DATA | ((op & SLJIT_F32_OP) >> 7)) argument
[all …]
H A DsljitNativePPC_common.c1080 if (op >= SLJIT_MOV && op <= SLJIT_MOV_P) in emit_op()
1103 if (!(flags & REG_DEST) && op >= SLJIT_MOV && op <= SLJIT_MOV_P) in emit_op()
1132 op = GET_OPCODE(op); in sljit_emit_op0()
1133 switch (op) { in sljit_emit_op0()
1213 op = GET_OPCODE(op); in sljit_emit_op1()
1246 switch (op) { in sljit_emit_op1()
1530 if (!HAS_FLAGS(op) || GET_OPCODE(op) == SLJIT_AND) { in sljit_emit_op2()
1589 switch (op) { in sljit_emit_op_src()
1636 #define FLOAT_DATA(op) (DOUBLE_DATA | ((op & SLJIT_F32_OP) >> 6)) argument
1665 op = GET_OPCODE(op); in sljit_emit_fop1_conv_sw_from_f64()
[all …]
H A DsljitNativeS390X.c963 #define EVAL(op, r, addr) op(r, addr.offset, addr.index, addr.base) argument
1237 sljit_ins op; member
1254 ins12 = forms->op; in emit_commutative()
1337 ins12 = forms->op; in emit_non_commutative()
1528 switch (op) { in sljit_generate_code()
1695 op = GET_OPCODE(op) | (op & SLJIT_I32_OP); in sljit_emit_op0()
1696 switch (op) { in sljit_emit_op0()
2345 if (HAS_FLAGS(op)) { in sljit_emit_multiply()
2471 if (op & SLJIT_I32_OP) in sljit_emit_bitwise()
2604 if (GET_OPCODE(op) >= SLJIT_ADD || GET_OPCODE(op) <= SLJIT_SUBC) in sljit_emit_op2()
[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.c1114 if (op >= SLJIT_MOV && op <= SLJIT_MOV_P) in emit_op()
1168 if (!(flags & REG_DEST) && op >= SLJIT_MOV && op <= SLJIT_MOV_P) in emit_op()
1179 if ((op >= SLJIT_MOV && op <= SLJIT_MOV_P) && (dst & SLJIT_MEM)) in emit_op()
1230 op = GET_OPCODE(op); in sljit_emit_op0()
1231 switch (op) { in sljit_emit_op0()
1341 if ((op & SLJIT_I32_OP) && GET_OPCODE(op) >= SLJIT_NOT) in sljit_emit_op1()
1477 switch (op) { in sljit_emit_op_src()
1527 #define FLOAT_DATA(op) (DOUBLE_DATA | ((op & SLJIT_F32_OP) >> 7)) argument
1528 #define FMT(op) (((op & SLJIT_F32_OP) ^ SLJIT_F32_OP) << (21 - 8)) argument
1647 op ^= SLJIT_F32_OP; in sljit_emit_fop1()
[all …]
/PHP-8.1/Zend/Optimizer/
H A Descape_analysis.c106 if (op->op1_def >= 0) { in zend_build_equi_escape_sets()
107 if (op->op1_use >= 0) { in zend_build_equi_escape_sets()
109 union_find_unite(parent, size, op->op1_def, op->op1_use); in zend_build_equi_escape_sets()
113 union_find_unite(parent, size, op->op1_def, op->op2_use); in zend_build_equi_escape_sets()
116 if (op->op2_def >= 0) { in zend_build_equi_escape_sets()
117 if (op->op2_use >= 0) { in zend_build_equi_escape_sets()
118 union_find_unite(parent, size, op->op2_def, op->op2_use); in zend_build_equi_escape_sets()
124 union_find_unite(parent, size, op->result_def, op->result_use); in zend_build_equi_escape_sets()
128 union_find_unite(parent, size, op->result_def, op->op1_use); in zend_build_equi_escape_sets()
131 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.1/ext/standard/tests/versioning/
H A Dversion_compare_op_abbrev.phpt6 foreach ($abbrevs as $op) {
8 version_compare('1', '2', $op);
9 echo "'$op' succeeded\n";
11 echo "'$op' failed\n";
/PHP-8.1/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]++;

Completed in 100 milliseconds

123456