[pypy-svn] r35516 - pypy/branch/temp/pypy/config

arigo at codespeak.net arigo at codespeak.net
Sat Dec 9 02:31:18 CET 2006


Author: arigo
Date: Sat Dec  9 02:31:15 2006
New Revision: 35516

Modified:
   pypy/branch/temp/pypy/config/pypyoption.py
Log:
merging of http://codespeak.net/svn/pypy/branch/jit-real-world/pypy/config/pypyoption.py
revisions 35112 to 35513:

    ------------------------------------------------------------------------
    r35184 | arigo | 2006-12-01 03:43:34 +0100 (Fri, 01 Dec 2006) | 16 lines
    
    (pedronis, arigo)
    
    Intermediate check-in #2.
    
    More seriously, we rewrote the interpreter main loop in a style that
    should be easier for the JIT to grasp, but also -- possibly -- easier
    for human beings to grasp.  A bit.  Many levels of wrapping of stuff
    into other stuff are avoided now, and the PyFrame class hierarchy was
    completely removed.  There is a possibly nice way to add opcodes from
    outside, with config options to enable them.  The drawback is that the
    core main loop uses modern RPython magic.
    
    Translation not tested.  It makes py.py slower by 30% but we hope that
    pypy-c will be faster.
    
    
    ------------------------------------------------------------------------
    r35133 | arigo | 2006-11-29 19:13:19 +0100 (Wed, 29 Nov 2006) | 3 lines
    
    (pedronis, arre, arigo)
    Intermediate check-in.
    
    ------------------------------------------------------------------------
    r35118 | arigo | 2006-11-29 13:45:27 +0100 (Wed, 29 Nov 2006) | 7 lines
    
    (arre, pedronis, arigo)
    
    Be afraid.  Very afraid.  (pedronis)
    
    A branch to experiment with throwing PyPy at the JIT.  (arigo)
    
    
    ------------------------------------------------------------------------


Modified: pypy/branch/temp/pypy/config/pypyoption.py
==============================================================================
--- pypy/branch/temp/pypy/config/pypyoption.py	(original)
+++ pypy/branch/temp/pypy/config/pypyoption.py	Sat Dec  9 02:31:15 2006
@@ -36,6 +36,9 @@
                  ["cpython", "ast"], "ast",
                  cmdline='--compiler'),
 
+    OptionDescription("opcodes", "opcodes to enable in the interpreter", [
+        ]),
+
     BoolOption("nofaking", "disallow faking in the object space",
                default=False,
                requires=[



More information about the Pypy-commit mailing list