[pypy-dev] jit.backend.test.test_random

2011-04-10 Thread Matthew Woodcraft
I found that pypy.jit.backend.test.test_random is failing if I pass --backend=x86 The following patch fixes it for me: --- a/pypy/jit/backend/test/test_random.py +++ b/pypy/jit/backend/test/test_random.py @@ -717,6 +717,7 @@ def test_random_function(BuilderClass=OperationBuilder): r =

[pypy-dev] Ignore 'pinsrb/w/d' instructions in trackgcroot

2011-04-17 Thread Matthew Woodcraft
I found I needed the following patch in order to run translation with gcc 4.6 and -march=corei7. -M- --- a/pypy/translator/c/gcc/trackgcroot.py +++ b/pypy/translator/c/gcc/trackgcroot.py @@ -456,7 +456,7 @@ class FunctionGcRootTracker(object): 'inc', 'dec', 'not', 'neg', 'or', 'and',