A new JIT engine for PHP-8.4/9
| From: | Dmitry Stogov | Date: | Mon, 11 Sep 2023 09:28:29 +0000 |
| Subject: | A new JIT engine for PHP-8.4/9 | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-121038@lists.php.net to get a copy of this message | ||
Hi internals,
I'm glad to present a new JIT engine that is going to be used in the next
major PHP version. Now it's a real optimizing compiler with Intermediate
Representation similar to Java HotSpot server compiler.
It makes a base for future improvements and eliminates many low-level
details of the existing PHP JIT. Instead of supporting assembler code for
different CPUs, now PHP generates a single IR and passes it to a
PHP-independent JIT engine.
The old JIT implementation is going to be kept for a while.
Everybody are welcome to take a look over tne code
https://github.com/php/php-src/pull/12079
Thanks. Dmitry.