History log of /PHP-8.2/ext/opcache/jit/zend_jit_ir.c (Results 1 – 25 of 43)
Revision Date Author Comments
# 631bc816 06-Feb-2024 Ilija Tovilo

Implement stackless internal function calls

Co-authored-by: Dmitry Stogov <dmitry@zend.com>

Closes GH-12461


# 2bf9f7eb 01-Feb-2024 Dmitry Stogov

Fix compilation warning


# fe064d7f 19-Jan-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-13142: Undefined variable name is shortened when contains \0

Uses the new %S formatter and introduces the necessary changes and
helpers.


# b6a0e3d4 19-Dec-2023 Dmitry Stogov

Manually optimize DIV to SHR


# a8eecec9 11-Dec-2023 Dmitry Stogov

Fixed AAech64 build


# 7714f1fc 11-Dec-2023 Dmitry Stogov

Support for IR API changes


# b2483a18 07-Dec-2023 Dmitry Stogov

Fix GH-12879: Function name is missing in error message on MacOS with function JIT


# c779bdc9 01-Dec-2023 Dmitry Stogov

Fix Windoes build


# bf6b66fe 01-Dec-2023 Dmitry Stogov

Restored support for CPU cache demotion


# 4d51d588 30-Nov-2023 Dmitry Stogov

JIT: Specify fastcall calling convenrion through dummy function prototype


# d41ee53a 28-Nov-2023 Dmitry Stogov

Fixed GH-12809: Segmentation fault in exception handler with CALL VM on AArch64


# fde41bc7 16-Nov-2023 Daniil Gentili

Report fatal error if JIT cannot be enabled

Closes GH-12403


# d20c8496 22-Nov-2023 Dmitry Stogov

Update according to IR changes


# f2706a8f 16-Nov-2023 Pengfei Li <45187772+pfustc@users.noreply.github.com>

JIT/AArch64: Fix an undefined symbol issue (#12687)

In AArch64 function `zend_jit_set_veneer()`, some debug code calls two
other functions `ir_disasm_find_symbol()` and `ir_disasm_add_sy

JIT/AArch64: Fix an undefined symbol issue (#12687)

In AArch64 function `zend_jit_set_veneer()`, some debug code calls two
other functions `ir_disasm_find_symbol()` and `ir_disasm_add_symbol()`
defined in `ir_disasm.c`. However, `ir_disasm.c` is compiled under the
condition that capstone is available. This causes an undefined symbol
issue while loading `opcache.so` when JIT is triggered if PHP is built
without `--with-capstone`.

We find this issue on MacOS 12.5 if we build PHP with Clang 14. It does
not appear immediately when using other versions of toolchains because
of lazy binding. To reproduce this with Linux/GCC, we can disable lazy
binding by `export LD_BIND_NOW=1` before building PHP.

This fixes the issue by making the debug code conditionally compile.

show more ...


# 94f32df8 14-Nov-2023 Dmitry Stogov

Fixed compilation warning


# cc2bf119 13-Nov-2023 David CARLIER

zend: introducing ZEND_ELEMENT_COUNT for struct's dynamic arrays. (#12650)

zend: introducing ZEND_ELEMENT_COUNT for struct's dynamic and flexible arrays.

It is mostly for ubsan and

zend: introducing ZEND_ELEMENT_COUNT for struct's dynamic arrays. (#12650)

zend: introducing ZEND_ELEMENT_COUNT for struct's dynamic and flexible arrays.

It is mostly for ubsan and helping array bound checking.

show more ...


# 524b1346 08-Nov-2023 Dmitry Stogov

Fixed failure in generator related tests on Mac introduced by 8ef695795c2489070558a3c8ed7024ac038728e5


# 8ef69579 07-Nov-2023 Dmitry Stogov

Fixed GH-12623: Segmentation fault in ZEND_DO_UCALL_SPEC_RETVAL_USED_HANDLER


# 3a3d8362 07-Nov-2023 Dmitry Stogov

Fixed IR construction

Fixes oss-fuzz #63857


# a30d8092 07-Nov-2023 Dmitry Stogov

Fixed incorrect dead edge elimination during IR construction

Fixes oss-fuzz #63931


# 77312d8e 02-Nov-2023 Dmitry Stogov

Fixed assertion


# 7aa9ef7d 02-Nov-2023 Dmitry Stogov

Fixed incorrect type assumption

Fixes oss-fuzz #63809


# 1226fe02 02-Nov-2023 Dmitry Stogov

Fixed codegeneration for ISSET_ISEMPTY_DIM

Fixes oss-fuzz #63805


# 1b846f89 01-Nov-2023 Dmitry Stogov

Fixed GH-12584: Assertion `ctx->control' failed with new JIT and CALL
VM`


# ed37ab9d 31-Oct-2023 Dmitry Stogov

Fixed codegeneration for NOT

Fixes oss-fuzz #63749


12