[pypy-commit] pypy default: dummy implementation to make cython happier

2017-08-22 Thread mattip
Author: Matti Picus Branch: Changeset: r92219:bd4073222df1 Date: 2017-08-23 09:55 +0300 http://bitbucket.org/pypy/pypy/changeset/bd4073222df1/ Log:dummy implementation to make cython happier diff --git a/pypy/module/cpyext/object.py b/pypy/module/cpyext/object.py --- a/pypy/module/cpyext/ob

[pypy-commit] pypy regalloc-playground: a test about the remaining case, and a comment

2017-08-22 Thread cfbolz
Author: Carl Friedrich Bolz Branch: regalloc-playground Changeset: r92215:358d42ebcdea Date: 2017-08-23 07:04 +0200 http://bitbucket.org/pypy/pypy/changeset/358d42ebcdea/ Log:a test about the remaining case, and a comment diff --git a/rpython/jit/backend/llsupport/regalloc.py b/rpython/jit/

[pypy-commit] pypy regalloc-playground: first stab at coalescing support

2017-08-22 Thread cfbolz
Author: Carl Friedrich Bolz-Tereick Branch: regalloc-playground Changeset: r92216:5c8cbd8502e7 Date: 2017-08-23 07:41 +0200 http://bitbucket.org/pypy/pypy/changeset/5c8cbd8502e7/ Log:first stab at coalescing support diff --git a/rpython/jit/backend/llsupport/regalloc.py b/rpython/jit/backen

[pypy-commit] pypy regalloc-playground: implement chained coalescing. fix a bug in free_reg_whole_lifetime

2017-08-22 Thread cfbolz
Author: Carl Friedrich Bolz-Tereick Branch: regalloc-playground Changeset: r92218:0c3b2571af1c Date: 2017-08-23 08:41 +0200 http://bitbucket.org/pypy/pypy/changeset/0c3b2571af1c/ Log:implement chained coalescing. fix a bug in free_reg_whole_lifetime diff --git a/rpython/jit/backend/llsupport

[pypy-commit] pypy regalloc-playground: block the fixed register earlier after coalescing

2017-08-22 Thread cfbolz
Author: Carl Friedrich Bolz-Tereick Branch: regalloc-playground Changeset: r92217:666fb2557e24 Date: 2017-08-23 07:52 +0200 http://bitbucket.org/pypy/pypy/changeset/666fb2557e24/ Log:block the fixed register earlier after coalescing diff --git a/rpython/jit/backend/llsupport/regalloc.py b/r

[pypy-commit] pypy regalloc-playground: harder test for later

2017-08-22 Thread cfbolz
Author: Carl Friedrich Bolz Branch: regalloc-playground Changeset: r92214:f6f7d81e72e9 Date: 2017-08-22 22:55 +0200 http://bitbucket.org/pypy/pypy/changeset/f6f7d81e72e9/ Log:harder test for later diff --git a/rpython/jit/backend/llsupport/test/test_regalloc.py b/rpython/jit/backend/llsuppo

[pypy-commit] pypy regalloc-playground: another heuristic: if there's a fixed register around and the current

2017-08-22 Thread cfbolz
Author: Carl Friedrich Bolz Branch: regalloc-playground Changeset: r92213:e8eede93629e Date: 2017-08-22 22:54 +0200 http://bitbucket.org/pypy/pypy/changeset/e8eede93629e/ Log:another heuristic: if there's a fixed register around and the current to-be-allocated one fits before the next

[pypy-commit] pypy regalloc-playground: a variable that survives a call gets put into a callee-saved register

2017-08-22 Thread cfbolz
Author: Carl Friedrich Bolz Branch: regalloc-playground Changeset: r92212:ce386eba1dfa Date: 2017-08-22 21:20 +0200 http://bitbucket.org/pypy/pypy/changeset/ce386eba1dfa/ Log:a variable that survives a call gets put into a callee-saved register diff --git a/rpython/jit/backend/llsupp

[pypy-commit] pypy regalloc-playground: chose the fixed register if it is available

2017-08-22 Thread cfbolz
Author: Carl Friedrich Bolz Branch: regalloc-playground Changeset: r92211:bb3d99077725 Date: 2017-08-22 21:07 +0200 http://bitbucket.org/pypy/pypy/changeset/bb3d99077725/ Log:chose the fixed register if it is available diff --git a/rpython/jit/backend/llsupport/regalloc.py b/rpython/jit/bac

[pypy-commit] pypy default: cextension types should have the short names and long module for pickling

2017-08-22 Thread mattip
Author: Matti Picus Branch: Changeset: r92210:0087987731d8 Date: 2017-08-22 20:27 +0300 http://bitbucket.org/pypy/pypy/changeset/0087987731d8/ Log:cextension types should have the short names and long module for pickling diff --git a/pypy/objspace/std/typeobject.py b/pypy/objspace/s

[pypy-commit] pypy regalloc-playground: a special case for repeated uses of the same fixed register (with different vars). a test for longest_free_reg

2017-08-22 Thread cfbolz
Author: Carl Friedrich Bolz Branch: regalloc-playground Changeset: r92208:ffb5755ee817 Date: 2017-08-22 15:41 +0200 http://bitbucket.org/pypy/pypy/changeset/ffb5755ee817/ Log:a special case for repeated uses of the same fixed register (with different vars). a test for longest_free_reg

[pypy-commit] pypy regalloc-playground: refactoring

2017-08-22 Thread cfbolz
Author: Carl Friedrich Bolz Branch: regalloc-playground Changeset: r92204:b4a1f3830c25 Date: 2017-08-22 13:55 +0200 http://bitbucket.org/pypy/pypy/changeset/b4a1f3830c25/ Log:refactoring diff --git a/rpython/jit/backend/llsupport/test/test_regalloc.py b/rpython/jit/backend/llsupport/test/te

[pypy-commit] pypy regalloc-playground: enough mocking for a simple call test (but with wrong results!)

2017-08-22 Thread cfbolz
Author: Carl Friedrich Bolz Branch: regalloc-playground Changeset: r92209:84209398e70f Date: 2017-08-22 17:04 +0200 http://bitbucket.org/pypy/pypy/changeset/84209398e70f/ Log:enough mocking for a simple call test (but with wrong results!) diff --git a/rpython/jit/backend/llsupport/regalloc.p

[pypy-commit] pypy regalloc-playground: simplify

2017-08-22 Thread cfbolz
Author: Carl Friedrich Bolz Branch: regalloc-playground Changeset: r92207:50dd22a26d67 Date: 2017-08-22 15:10 +0200 http://bitbucket.org/pypy/pypy/changeset/50dd22a26d67/ Log:simplify diff --git a/rpython/jit/backend/llsupport/regalloc.py b/rpython/jit/backend/llsupport/regalloc.py --- a/rp

[pypy-commit] pypy regalloc-playground: support not specifying a variable (eg for caller-saved regs)

2017-08-22 Thread cfbolz
Author: Carl Friedrich Bolz Branch: regalloc-playground Changeset: r92206:85eb224c8d6c Date: 2017-08-22 15:06 +0200 http://bitbucket.org/pypy/pypy/changeset/85eb224c8d6c/ Log:support not specifying a variable (eg for caller-saved regs) diff --git a/rpython/jit/backend/llsupport/regalloc.py

[pypy-commit] pypy regalloc-playground: a kludgy and lengthy explicit way to test the register allocator with a fake

2017-08-22 Thread cfbolz
Author: Carl Friedrich Bolz Branch: regalloc-playground Changeset: r92202:7ffc9b6f6e75 Date: 2017-08-22 12:14 +0200 http://bitbucket.org/pypy/pypy/changeset/7ffc9b6f6e75/ Log:a kludgy and lengthy explicit way to test the register allocator with a fake set or registers diff --git a/rp

[pypy-commit] pypy regalloc-playground: - implement __contains__ support in rpython

2017-08-22 Thread cfbolz
Author: Carl Friedrich Bolz Branch: regalloc-playground Changeset: r92203:d8e2a043e8eb Date: 2017-08-22 12:43 +0200 http://bitbucket.org/pypy/pypy/changeset/d8e2a043e8eb/ Log:- implement __contains__ support in rpython - wrap a class around the Lifetime dict diff --git a/rpython/anno

[pypy-commit] pypy regalloc-playground: some fundamental data structures for supporting putting boxes into fixed

2017-08-22 Thread cfbolz
Author: Carl Friedrich Bolz Branch: regalloc-playground Changeset: r92205:f6baf7f14279 Date: 2017-08-22 15:01 +0200 http://bitbucket.org/pypy/pypy/changeset/f6baf7f14279/ Log:some fundamental data structures for supporting putting boxes into fixed registers diff --git a/rpython/jit/b