[pypy-svn] r62249 - pypy/branch/pyjitpl5/pypy/jit/tl

arigo at codespeak.net arigo at codespeak.net
Fri Feb 27 19:39:38 CET 2009


Author: arigo
Date: Fri Feb 27 19:39:38 2009
New Revision: 62249

Modified:
   pypy/branch/pyjitpl5/pypy/jit/tl/pypyjit_child.py
Log:
Document the current output and the missing optimizations.


Modified: pypy/branch/pyjitpl5/pypy/jit/tl/pypyjit_child.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/tl/pypyjit_child.py	(original)
+++ pypy/branch/pyjitpl5/pypy/jit/tl/pypyjit_child.py	Fri Feb 27 19:39:38 2009
@@ -4,6 +4,28 @@
 from pypy.module.pypyjit.portal import PyPyJitPolicy
 
 
+# Current output: http://paste.pocoo.org/show/105784/
+#
+# Some optimizations missing:
+#
+#   - improve the optimization: e.g. ooisnull followed by oononnull
+#     on the same variable
+#
+#   - reintroduce some delayed list optimizations to remove this
+#     mess of push/pop on the stack
+#
+#   - remove the useless 'ec' argument (p1 and p115 in the trace)
+#
+#   - figure out who calls W_TypeObject.is_heaptype(), leading to
+#     the "int_and 512" (lines 48, 147, 154)
+#
+#   - the guards have very long 'liveboxes' lists containing mostly
+#     Consts -- make sure that these Consts are not stored, or else
+#     remove them entirely
+#
+#   - dead operation removal: e.g. line 158
+
+
 def run_child(glob, loc):
     interp = loc['interp']
     graph = loc['graph']



More information about the Pypy-commit mailing list