[pypy-svn] r35706 - pypy/dist/pypy/doc
arigo at codespeak.net
arigo at codespeak.net
Wed Dec 13 21:55:36 CET 2006
Author: arigo
Date: Wed Dec 13 21:55:35 2006
New Revision: 35706
Modified:
pypy/dist/pypy/doc/draft-jit-outline.txt
Log:
rerewording
Modified: pypy/dist/pypy/doc/draft-jit-outline.txt
==============================================================================
--- pypy/dist/pypy/doc/draft-jit-outline.txt (original)
+++ pypy/dist/pypy/doc/draft-jit-outline.txt Wed Dec 13 21:55:35 2006
@@ -269,11 +269,12 @@
The result ``op`` compared to the possible "instructions" will also be
green. Because ``s`` is green also ``len(s)`` will be.
-Using this information the *timeshifting* of the ``ll_plus_minus``,
-should be able to produce code that unfolds the loop and respectively
-folds instruction dispatching (the ifs) at compile-time, because the
-while condition, the ``pc`` increment, and the dispatching are
-operations between greens only (constants are green by default).
+As we will see later, the timeshifter_ can use this information to
+generate code that unfolds the loop (because the ``while`` condition is
+green) and folds instruction dispatching (because the ``if`` conditions
+are green) at compile-time. In other words, the only operations left
+involving red variables are ``acc += y`` and ``acc -= y``, so only these
+operations will eventually appear in the residual graph.
Calls
----------------------------------
@@ -358,6 +359,7 @@
+.. _timeshifter:
.. _timeshifting:
Timeshifting: transforming interpreter into compilers
More information about the Pypy-commit
mailing list