]> granicus.if.org Git - php/commit
Tracing JIT (it doesn't support register allocation yet)
authorDmitry Stogov <dmitry@zend.com>
Fri, 13 Mar 2020 19:11:07 +0000 (22:11 +0300)
committerDmitry Stogov <dmitry@zend.com>
Fri, 13 Mar 2020 19:11:07 +0000 (22:11 +0300)
commit4bf2d09edeb14467ba79551a08d84efdff314899
tree87215edd7d7be61c95f8560c9d5a9a4e4eff0aa9
parentd15012d5e851b7dcc3dac69393f932c9cd5ebc49
Tracing JIT (it doesn't support register allocation yet)

Use opcache.jit=1255 to swith it on (the third digit 5 really matters)
Use opcache.jit_debug=0xff001 to see how it works and what code it generates
17 files changed:
ext/opcache/Optimizer/zend_dfg.c
ext/opcache/Optimizer/zend_dfg.h
ext/opcache/Optimizer/zend_dump.c
ext/opcache/Optimizer/zend_dump.h
ext/opcache/Optimizer/zend_inference.c
ext/opcache/Optimizer/zend_inference.h
ext/opcache/Optimizer/zend_ssa.c
ext/opcache/Optimizer/zend_ssa.h
ext/opcache/jit/Makefile.frag
ext/opcache/jit/Makefile.frag.w32
ext/opcache/jit/zend_jit.c
ext/opcache/jit/zend_jit.h
ext/opcache/jit/zend_jit_disasm_x86.c
ext/opcache/jit/zend_jit_internal.h
ext/opcache/jit/zend_jit_trace.c [new file with mode: 0644]
ext/opcache/jit/zend_jit_vm_helpers.c
ext/opcache/jit/zend_jit_x86.dasc