@@ -1428,7 +1428,6 @@ end users running Python do not need LLVM installed. Instructions for
14281428installing LLVM can be found in the `JIT compiler documentation
14291429<https://github.com/python/cpython/blob/main/Tools/jit/README.md> `__
14301430for all supported platforms.
1431-
14321431(Contributed by Savannah Ostrowski in :gh: `140973 `.)
14331432
14341433.. rubric :: A new tracing frontend
@@ -1440,7 +1439,6 @@ code. For example, simple Python object creation is now understood by the
14401439supported. This was made possible by an overhauled JIT tracing frontend
14411440that records actual execution paths through code, rather than estimating
14421441them as the previous implementation did.
1443-
14441442(Contributed by Ken Jin in :gh: `139109 `. Support for Windows added by
14451443Mark Shannon in :gh: `141703 `.)
14461444
@@ -1450,35 +1448,40 @@ A basic form of register allocation has been added to the JIT compiler's
14501448optimizer. This allows the JIT compiler to avoid certain stack operations
14511449altogether and instead operate on registers. This allows the JIT to produce
14521450more efficient traces by avoiding reads and writes to memory.
1453-
14541451(Contributed by Mark Shannon in :gh: `135379 `.)
14551452
14561453.. rubric :: More JIT optimizations
14571454
14581455More `constant-propagation <https://en.wikipedia.org/wiki/Constant_folding >`__
14591456is now performed. This means when the JIT compiler detects that certain user
14601457code results in constants, the code can be simplified by the JIT.
1461-
14621458(Contributed by Ken Jin and Savannah Ostrowski in :gh: `132732 `.)
14631459
1464- The JIT avoids :term: `reference count `\ s where possible . This generally
1460+ :term: `Reference count `\ s are avoided whenever it is safe to do so . This generally
14651461reduces the cost of most operations in Python.
1466-
14671462(Contributed by Ken Jin, Donghee Na, Zheao Li, Hai Zhu, Savannah Ostrowski,
14681463Reiden Ong, Noam Cohen, Tomas Roun, PuQing, Cajetan Rodrigues, and Sacul in :gh: `134584 `.)
14691464
1465+ The JIT optimizer now supports significantly more operations than in 3.14.
1466+ (Contributed by Kumar Aditya, Ken Jin, and Sacul in :gh: `131798 `.)
1467+
14701468.. rubric :: Better machine code generation
14711469
14721470The JIT compiler's machine code generator now produces better machine code
14731471for x86-64 and AArch64 macOS and Linux targets. In general, users should
14741472experience lower memory usage for generated machine code and more efficient
1475- machine code versus the old JIT.
1476-
1473+ machine code versus 3.14.
14771474(Contributed by Brandt Bucher in :gh: `136528 ` and :gh: `136528 `.
14781475Implementation for AArch64 contributed by Mark Shannon in :gh: `139855 `.
14791476Additional optimizations for AArch64 contributed by Mark Shannon and
14801477Diego Russo in :gh: `140683 ` and :gh: `142305 `.)
14811478
1479+ .. rubric :: Maintainability
1480+
1481+ The JIT optimizer's operations have been simplified.
1482+ This was made possible by a refactoring of JIT data structures.
1483+ (Contributed by Zhongtian Zheng in :gh: `148211 ` and Hai Zhu in :gh: `143421 `.)
1484+
14821485
14831486Removed
14841487========
0 commit comments