Lines Matching refs:op2
54 ZEND_API zend_result ZEND_FASTCALL add_function(zval *result, zval *op1, zval *op2);
55 ZEND_API zend_result ZEND_FASTCALL sub_function(zval *result, zval *op1, zval *op2);
56 ZEND_API zend_result ZEND_FASTCALL mul_function(zval *result, zval *op1, zval *op2);
57 ZEND_API zend_result ZEND_FASTCALL pow_function(zval *result, zval *op1, zval *op2);
58 ZEND_API zend_result ZEND_FASTCALL div_function(zval *result, zval *op1, zval *op2);
59 ZEND_API zend_result ZEND_FASTCALL mod_function(zval *result, zval *op1, zval *op2);
60 ZEND_API zend_result ZEND_FASTCALL boolean_xor_function(zval *result, zval *op1, zval *op2);
63 ZEND_API zend_result ZEND_FASTCALL bitwise_or_function(zval *result, zval *op1, zval *op2);
64 ZEND_API zend_result ZEND_FASTCALL bitwise_and_function(zval *result, zval *op1, zval *op2);
65 ZEND_API zend_result ZEND_FASTCALL bitwise_xor_function(zval *result, zval *op1, zval *op2);
66 ZEND_API zend_result ZEND_FASTCALL shift_left_function(zval *result, zval *op1, zval *op2);
67 ZEND_API zend_result ZEND_FASTCALL shift_right_function(zval *result, zval *op1, zval *op2);
68 ZEND_API zend_result ZEND_FASTCALL concat_function(zval *result, zval *op1, zval *op2);
70 ZEND_API bool ZEND_FASTCALL zend_is_identical(zval *op1, zval *op2);
72 ZEND_API zend_result ZEND_FASTCALL is_equal_function(zval *result, zval *op1, zval *op2);
73 ZEND_API zend_result ZEND_FASTCALL is_identical_function(zval *result, zval *op1, zval *op2);
74 ZEND_API zend_result ZEND_FASTCALL is_not_identical_function(zval *result, zval *op1, zval *op2);
75 ZEND_API zend_result ZEND_FASTCALL is_not_equal_function(zval *result, zval *op1, zval *op2);
76 ZEND_API zend_result ZEND_FASTCALL is_smaller_function(zval *result, zval *op1, zval *op2);
77 ZEND_API zend_result ZEND_FASTCALL is_smaller_or_equal_function(zval *result, zval *op1, zval *op2);
278 ZEND_API zend_result ZEND_FASTCALL decrement_function(zval *op2);
428 ZEND_API int ZEND_FASTCALL zend_compare(zval *op1, zval *op2);
430 ZEND_API zend_result ZEND_FASTCALL compare_function(zval *result, zval *op1, zval *op2);
432 ZEND_API int ZEND_FASTCALL numeric_compare_function(zval *op1, zval *op2);
433 ZEND_API int ZEND_FASTCALL string_compare_function_ex(zval *op1, zval *op2, bool case_insensitive);
434 ZEND_API int ZEND_FASTCALL string_compare_function(zval *op1, zval *op2);
435 ZEND_API int ZEND_FASTCALL string_case_compare_function(zval *op1, zval *op2);
436 ZEND_API int ZEND_FASTCALL string_locale_compare_function(zval *op1, zval *op2);
632 static zend_always_inline void fast_long_add_function(zval *result, zval *op1, zval *op2) in fast_long_add_function() argument
644 "r"(&op2->value), in fast_long_add_function()
651 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) + (double) Z_LVAL_P(op2)); in fast_long_add_function()
662 "r"(&op2->value), in fast_long_add_function()
669 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) + (double) Z_LVAL_P(op2)); in fast_long_add_function()
682 "r"(&op2->value), in fast_long_add_function()
689 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) + (double) Z_LVAL_P(op2)); in fast_long_add_function()
692 if (UNEXPECTED(__builtin_saddl_overflow(Z_LVAL_P(op1), Z_LVAL_P(op2), &lresult))) { in fast_long_add_function()
693 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) + (double) Z_LVAL_P(op2)); in fast_long_add_function()
699 if (UNEXPECTED(__builtin_saddll_overflow(Z_LVAL_P(op1), Z_LVAL_P(op2), &llresult))) { in fast_long_add_function()
700 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) + (double) Z_LVAL_P(op2)); in fast_long_add_function()
711 if (UNEXPECTED((Z_LVAL_P(op1) & LONG_SIGN_MASK) == (Z_LVAL_P(op2) & LONG_SIGN_MASK) in fast_long_add_function()
712 && (Z_LVAL_P(op1) & LONG_SIGN_MASK) != ((Z_LVAL_P(op1) + Z_LVAL_P(op2)) & LONG_SIGN_MASK))) { in fast_long_add_function()
713 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) + (double) Z_LVAL_P(op2)); in fast_long_add_function()
715 ZVAL_LONG(result, Z_LVAL_P(op1) + Z_LVAL_P(op2)); in fast_long_add_function()
720 static zend_always_inline zend_result fast_add_function(zval *result, zval *op1, zval *op2) in fast_add_function() argument
723 if (EXPECTED(Z_TYPE_P(op2) == IS_LONG)) { in fast_add_function()
724 fast_long_add_function(result, op1, op2); in fast_add_function()
726 } else if (EXPECTED(Z_TYPE_P(op2) == IS_DOUBLE)) { in fast_add_function()
727 ZVAL_DOUBLE(result, ((double)Z_LVAL_P(op1)) + Z_DVAL_P(op2)); in fast_add_function()
731 if (EXPECTED(Z_TYPE_P(op2) == IS_DOUBLE)) { in fast_add_function()
732 ZVAL_DOUBLE(result, Z_DVAL_P(op1) + Z_DVAL_P(op2)); in fast_add_function()
734 } else if (EXPECTED(Z_TYPE_P(op2) == IS_LONG)) { in fast_add_function()
735 ZVAL_DOUBLE(result, Z_DVAL_P(op1) + ((double)Z_LVAL_P(op2))); in fast_add_function()
739 return add_function(result, op1, op2); in fast_add_function()
742 static zend_always_inline void fast_long_sub_function(zval *result, zval *op1, zval *op2) in fast_long_sub_function() argument
754 "r"(&op2->value), in fast_long_sub_function()
761 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) - (double) Z_LVAL_P(op2)); in fast_long_sub_function()
772 "r"(&op2->value), in fast_long_sub_function()
779 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) - (double) Z_LVAL_P(op2)); in fast_long_sub_function()
792 "r"(&op2->value), in fast_long_sub_function()
799 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) - (double) Z_LVAL_P(op2)); in fast_long_sub_function()
802 if (UNEXPECTED(__builtin_ssubl_overflow(Z_LVAL_P(op1), Z_LVAL_P(op2), &lresult))) { in fast_long_sub_function()
803 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) - (double) Z_LVAL_P(op2)); in fast_long_sub_function()
809 if (UNEXPECTED(__builtin_ssubll_overflow(Z_LVAL_P(op1), Z_LVAL_P(op2), &llresult))) { in fast_long_sub_function()
810 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) - (double) Z_LVAL_P(op2)); in fast_long_sub_function()
815 ZVAL_LONG(result, Z_LVAL_P(op1) - Z_LVAL_P(op2)); in fast_long_sub_function()
817 if (UNEXPECTED((Z_LVAL_P(op1) & LONG_SIGN_MASK) != (Z_LVAL_P(op2) & LONG_SIGN_MASK) in fast_long_sub_function()
819 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) - (double) Z_LVAL_P(op2)); in fast_long_sub_function()
835 static zend_always_inline bool fast_equal_check_function(zval *op1, zval *op2) in fast_equal_check_function() argument
838 if (EXPECTED(Z_TYPE_P(op2) == IS_LONG)) { in fast_equal_check_function()
839 return Z_LVAL_P(op1) == Z_LVAL_P(op2); in fast_equal_check_function()
840 } else if (EXPECTED(Z_TYPE_P(op2) == IS_DOUBLE)) { in fast_equal_check_function()
841 return ((double)Z_LVAL_P(op1)) == Z_DVAL_P(op2); in fast_equal_check_function()
844 if (EXPECTED(Z_TYPE_P(op2) == IS_DOUBLE)) { in fast_equal_check_function()
845 return Z_DVAL_P(op1) == Z_DVAL_P(op2); in fast_equal_check_function()
846 } else if (EXPECTED(Z_TYPE_P(op2) == IS_LONG)) { in fast_equal_check_function()
847 return Z_DVAL_P(op1) == ((double)Z_LVAL_P(op2)); in fast_equal_check_function()
850 if (EXPECTED(Z_TYPE_P(op2) == IS_STRING)) { in fast_equal_check_function()
851 return zend_fast_equal_strings(Z_STR_P(op1), Z_STR_P(op2)); in fast_equal_check_function()
854 return zend_compare(op1, op2) == 0; in fast_equal_check_function()
857 static zend_always_inline bool fast_equal_check_long(zval *op1, zval *op2) in fast_equal_check_long() argument
859 if (EXPECTED(Z_TYPE_P(op2) == IS_LONG)) { in fast_equal_check_long()
860 return Z_LVAL_P(op1) == Z_LVAL_P(op2); in fast_equal_check_long()
862 return zend_compare(op1, op2) == 0; in fast_equal_check_long()
865 static zend_always_inline bool fast_equal_check_string(zval *op1, zval *op2) in fast_equal_check_string() argument
867 if (EXPECTED(Z_TYPE_P(op2) == IS_STRING)) { in fast_equal_check_string()
868 return zend_fast_equal_strings(Z_STR_P(op1), Z_STR_P(op2)); in fast_equal_check_string()
870 return zend_compare(op1, op2) == 0; in fast_equal_check_string()
873 static zend_always_inline bool fast_is_identical_function(zval *op1, zval *op2) in fast_is_identical_function() argument
875 if (Z_TYPE_P(op1) != Z_TYPE_P(op2)) { in fast_is_identical_function()
880 return zend_is_identical(op1, op2); in fast_is_identical_function()
883 static zend_always_inline bool fast_is_not_identical_function(zval *op1, zval *op2) in fast_is_not_identical_function() argument
885 if (Z_TYPE_P(op1) != Z_TYPE_P(op2)) { in fast_is_not_identical_function()
890 return !zend_is_identical(op1, op2); in fast_is_not_identical_function()