[pypy-dev] how do you parse jit log containing binary dump ?

2016-12-08 Thread Shubha Ramani via pypy-dev
I successfully created a file containing binary data, but don't know what to do with it.I produced it using test  /opt/pypy/rpython/jit/backend/x86/test/test_jitlog.py___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/

[pypy-dev] int_py_mod_nonnegargs(): one arg is negative LLAssertFailure

2016-12-08 Thread Shubha Ramani via pypy-dev
Why am I getting this error ?pidigits.py runs fine outside of the pytest environment. Please see attached files PIDIGITS_LEN = 1000 def pidigits(length): i = k = ns = 0 k1 = 1 n,a,d,t,u = 1,0,1,0,0 while(True): k += 1 t = n<<1 n *= k a += t

Re: [pypy-dev] why doesn't this code dump jit debug info ?

2016-12-08 Thread Shubha Ramani via pypy-dev
Yes I finally figured it out (what you are saying David).  I did get a binary jit log dump intoa file finally. How do you parse it ? On Thursday, December 8, 2016 2:12 PM, David Malcolm wrote: On Thu, 2016-12-08 at 21:49 +, Shubha Ramani via pypy-dev wrote: > import py             

Re: [pypy-dev] why doesn't this code dump jit debug info ?

2016-12-08 Thread David Malcolm
On Thu, 2016-12-08 at 21:49 +, Shubha Ramani via pypy-dev wrote: > import py > > import binary_trees > > import os

[pypy-dev] why doesn't this code dump jit debug info ?

2016-12-08 Thread Shubha Ramani via pypy-dev
import py                                                                                             import binary_trees                                                                                   import os