History log of /PHP-7.3/ext/opcache/Optimizer/pass1_5.c (Results 51 – 75 of 105)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: POST_PHP7_REMOVALS, PRE_PHP7_REMOVALS, php-5.6.6RC1, php-5.5.22RC1, php-5.5.21, php-5.6.5, php-5.4.37
# fc33f52d 15-Jan-2015 Xinchen Hui

bump year


Revision tags: php-5.5.21RC1, php-5.6.5RC1
# b7a7b1a6 03-Jan-2015 Stanislav Malyshev

trailing whitespace removal


# e0ca75a4 24-Dec-2014 Xinchen Hui

No need to do this check for master, ZEND_COMPILE_NO_BUILTIN_STRLEN already cover it


# c42ac095 24-Dec-2014 Dmitry Stogov

Added new API function 'zend_string* zend_string_tolower(zend_string*)'.
It simplifies code and avoids unnecessary allocation and copying if string is already in lower case.


# bba4a8aa 24-Dec-2014 Xinchen Hui

Fixed bug #68644 (strlen incorrect : mbstring + func_overload=2 +UTF-8 + Opcache)


# b5b61767 22-Dec-2014 Xinchen Hui

Micro optimaztion (yeah, I know compiler supposed to do that)


Revision tags: POST_NATIVE_TLS_MERGE, PRE_NATIVE_TLS_MERGE, php-5.5.20, php-5.4.36, php-5.6.4
# bdeb220f 13-Dec-2014 Anatol Belski

first shot remove TSRMLS_* things


# 14e29f51 12-Dec-2014 Dmitry Stogov

Reduced size of zend_op on 64-bit systems.

the main idea - the smaller the zend_op structure, the lees memory traffic is required to load VM instructions during execution. The patch reduces

Reduced size of zend_op on 64-bit systems.

the main idea - the smaller the zend_op structure, the lees memory traffic is required to load VM instructions during execution. The patch reduces the size of each opcode from 48 to 32 bytes (saves 16 bytes for each opcode, and applications use thousands of opoceds). This reduced the number of CPU cache misses by 12% and improved performance of real-life apps by 1-2%.

The patch affects how constants and jump targets are represented in VM during execution. Previously they were implemented as absolute 64-bit pointers. Now they are relative 32-bit offsets.

In run-time constant now should be accessed as:
RT_CONSTANT(op_array, opine->op1) instead of opline->op1.zv
EX_CONSTANT(opline->op1) instead of opline->op1.zv

Jump targets:
OP_JMP_ADDR(opline, opline->op2) instead of opline->op2.jmp_addr

The patch doesn't change zend_op representation for 32-bit systems. They still use absolute addresses. The compile-time representation is also kept the same.

show more ...


Revision tags: php-5.6.4RC1, php-5.5.20RC1, php-5.6.3, php-5.5.19, php-5.4.35
# 10107db6 30-Oct-2014 Dmitry Stogov

Use DECLARE_CONST instruction instead of call to internal define() function when possible


# 1551db8f 30-Oct-2014 Dmitry Stogov

Added constant expression evaluation for "dirname(__FILE__)".
Improved constant expression evaluation for function calls


Revision tags: php-5.6.3RC1, php-5.5.19RC1, php-5.5.18, php-5.4.34
# 7acba332 13-Oct-2014 Dmitry Stogov

We can't eliminate FETCH_CONSTANT opcodes for constants represented by AST.


Revision tags: php-5.5.18RC1, php-5.6.1
# 5bd34be6 28-Sep-2014 Nikita Popov

Opcache compatibility for coalesce operator


Revision tags: php-5.6.2
# 58a41cf7 23-Sep-2014 Dmitry Stogov

Make QM_ASSIGN, JMP_SET and CAST return IS_TMP_VAR.


Revision tags: php-5.4.33, php-5.5.17, php-5.6.1RC1
# 82096dc1 11-Sep-2014 Dmitry Stogov

Removed ZEND_QM_ASSIGN_VAR and ZEND_JMP_SET_VAR opcodes (in PHPNG they did exacly the same as ZEND_QM_ASSIGN and ZEND_JMP_SET)


Revision tags: php-5.5.17RC1, php-5.4.33RC1
# 234af84c 28-Aug-2014 Dmitry Stogov

Refactored optimizer (compile different opimizer passes separately, instead of including *.c file)


Revision tags: php-5.6.0
# 055b632e 26-Aug-2014 Dmitry Stogov

Fixed return operand type (Use IS_TMP_VAR instead of IS_VAR in the same way as it was before AST patch)


Revision tags: POST_AST_MERGE, PRE_AST_MERGE
# af59e92b 25-Aug-2014 Anatol Belski

master renames phase 7


# 6f9f0bf2 25-Aug-2014 Anatol Belski

master renames phase 2


# c3e3c98e 25-Aug-2014 Anatol Belski

master renames phase 1


Revision tags: POST_64BIT_BRANCH_MERGE, PRE_64BIT_BRANCH_MERGE, php-5.5.16, php-5.4.32
# 63d3f0b8 19-Aug-2014 Anatol Belski

basic macro replacements, all at once


# 99878ced 15-Aug-2014 Nikita Popov

ZEND_STRLEN and ZEND_DEFINED have IS_VAR results for now

This avoids issues with calls being expected to have an IS_VAR
result


# 101c0553 15-Aug-2014 Xinchen Hui

Add copyright header


# e2522b4f 15-Aug-2014 Xinchen Hui

Remove old version PHP supports


Revision tags: POST_PHPNG_MERGE, PRE_PHPNG_MERGE, php-5.6.0RC4, php-5.3.29, php-5.5.16RC1, php-5.4.32RC1, php-5.3.29RC1, php-5.6.0RC3, php-5.5.15, php-5.4.31
# af7cb169 14-Jul-2014 Dmitry Stogov

Implemented builtin instruction for strlen()


# 6c8db864 11-Jul-2014 Dmitry Stogov

Implemented builtin instruction for strlen()


12345