1. Pypy
  2. Untitled project
  3. pypy


Armin Rigo  committed 8ca71df Merge

merge heads

  • Participants
  • Parent commits 95c7ec0, 33015de
  • Branches default

Comments (0)

Files changed (4)

File pypy/doc/release-2.0.0-beta2.rst

View file
  • Ignore whitespace
 * we now have special strategies for ``dict``/``set``/``list`` which contain
   unicode strings, which means that now such collections will be both faster
   and more compact.
+.. _`eventlet`: http://eventlet.net/
+.. _`gevent`: http://www.gevent.org/
+.. _`cffi`: http://cffi.readthedocs.org/en/release-0.6/
+.. _`JIT hooks`: http://doc.pypy.org/en/latest/jit-hooks.html
+.. _`pypycore`: https://github.com/gevent-on-pypy/pypycore
+.. _`pypy-hacks`: https://github.com/schmir/gevent/tree/pypy-hacks
+.. _`_curses.py`: https://bitbucket.org/pypy/pypy/src/aefddd47f224e3c12e2ea74f5c796d76f4355bdb/lib_pypy/_curses.py?at=default
+.. _`_sqlite3.py`: https://bitbucket.org/pypy/pypy/src/aefddd47f224e3c12e2ea74f5c796d76f4355bdb/lib_pypy/_sqlite3.py?at=default

File rpython/config/translationoption.py

View file
  • Ignore whitespace
                          ("translation.gcrootfinder", DEFL_ROOTFINDER_WITHJIT),
                          ("translation.list_comprehension_operations", True)]),
     ChoiceOption("jit_backend", "choose the backend for the JIT",
-                 ["auto", "x86", "x86-without-sse2", 'armv7'],
+                 ["auto", "x86", "x86-without-sse2", 'armv7', 'armv7hf', 'armv6hf'],
                  default="auto", cmdline="--jit-backend"),
     ChoiceOption("jit_profiler", "integrate profiler support into the JIT",
                  ["off", "oprofile"],

File rpython/translator/c/gcc/test/elf64/track_basic_argument_registers.s

View file
  • Ignore whitespace
 	/* GCROOT -48(%rbp) */
 	movq	-24(%rbp), %rax
-	ret
+	; try out a "rep ret" instead of just a "ret", for bad reasons
+	rep ret
 	.size	foobar, .-foobar

File rpython/translator/c/gcc/trackgcroot.py

View file
  • Ignore whitespace
     def visit_ret(self, line):
         return InsnRet(self.CALLEE_SAVE_REGISTERS)
+    def visit_rep(self, line):
+        # 'rep ret': bad reasons for this bogus 'rep' here
+        if line.split()[:2] == ['rep', 'ret']:
+            return self.visit_ret(line)
+        return []
     def visit_jmp(self, line):
         tablelabels = []
         match = self.r_jmp_switch.match(line)