[pypy-svn] r50781 - pypy/dist/pypy/doc/discussion

cfbolz at codespeak.net cfbolz at codespeak.net
Sat Jan 19 17:03:07 CET 2008


Author: cfbolz
Date: Sat Jan 19 17:03:06 2008
New Revision: 50781

Added:
   pypy/dist/pypy/doc/discussion/jit-refactoring-plan.txt   (contents, props changed)
Log:
(arigo, antocuni, cfbolz): some notes about the upcoming JIT refactoring


Added: pypy/dist/pypy/doc/discussion/jit-refactoring-plan.txt
==============================================================================
--- (empty file)
+++ pypy/dist/pypy/doc/discussion/jit-refactoring-plan.txt	Sat Jan 19 17:03:06 2008
@@ -0,0 +1,26 @@
+Rainbow Interpreter
+===================
+
+    - bytecode: linearize hintannotated low-level exceptionstransformed graphs
+      into strings
+ 
+    - opcodes:
+
+        - all basics operations in red and green variants
+
+        - additional operations for JIT housekeeping like split, merge,
+          promote, calls?, return
+
+        - special ops: box green, clear vars
+
+    - special care needed (later) for implicit promotes (e.g. for exception
+      paths and virtualizables)
+
+    - red variables are boxes, already stored on the VirtualFrame
+    
+    - green variables are GenConsts, should be stored on the VirtualFrame as
+      well
+    
+    - interpreter is manually written in a stackless style: jitstates have
+      linked lists of frames anyway already
+



More information about the Pypy-commit mailing list