[pypy-dev] jitted region start address and size

2017-03-10 Thread Shubha Ramani via pypy-dev
1) in assemble_loop:Is this correct and if not, what is the correct answer ?starting address of jitted region: looppos + rawstartsize of jitted region:: size_excluding_failure_stuff - looppos 2) in assemble_bridge, Is this correct and if not, what is the correct answer ?starting address of jitt

[pypy-dev] looptoken.number of bridge

2017-03-10 Thread Shubha Ramani via pypy-dev
1) Is it a true statement to say that the looptoken.number between an original loop and a bridge stays the same ? 2) Is it a true statement to say "loopname" as passed into assemble_loop will apply to a bridge if indeed statement 1)above is true - if a loop and bridge share the same original loo

Re: [pypy-dev] Somebody has already provided code objects in assemble_loop of x86/ assembler.py !

2017-01-08 Thread Shubha Ramani via pypy-dev
op up in vmprof profile.py. Any suggestions ? Shubha > On Jan 8, 2017, at 9:01 AM, Armin Rigo wrote: > > Hi Shubha, > > On 8 January 2017 at 16:41, Shubha Ramani via pypy-dev > wrote: >> I just downloaded the pypy code. Please inspect the following log and search >&

[pypy-dev] Somebody has already provided code objects in assemble_loop of x86/ assembler.py !

2017-01-08 Thread Shubha Ramani via pypy-dev
I just downloaded the pypy code. Please inspect the following log and search for 'code object'. This is the  exact data which vtune needs ! How did this happen ? Was it there all along ? Did someone justadd this (perhaps Armin himself) ? The signature for 'assemble_loop' has not changed between

[pypy-dev] jitlog.MARK_TRACE_OPT in do_compile_bridge and do_compile_loop of compile.py

2017-01-06 Thread Shubha Ramani via pypy-dev
I'm thinking that jitlog.MARK_TRACE_OPT is the only marker I need to keep track of as I'm dumping pycode (overloading execute_frame as vmprof does). When I see a MARK_TRACE_OPT, I just walk backward to find the closest pycode dump. This will give me the actual source code lines that was JITTED.

[pypy-dev] how do we jump from pypy/interpreter to rpython ?

2017-01-04 Thread Shubha Ramani via pypy-dev
I see space.call_function() but how exactly do we end up in the rpython directory of code ?___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] who calls handle_builtin_call of jtransform.py ?

2017-01-04 Thread Shubha Ramani via pypy-dev
Indeed. Shubha On Wednesday, January 4, 2017 2:00 PM, Armin Rigo wrote: Hi Shubha, Standard Python answer: add this line in the function:     import pdb; pdb.set_trace() Then run the tests (pytest.py rpython/jit/codewriter/). A bientôt, Armin. _

Re: [pypy-dev] How do you pass in data from pypy interpreter to backend ?

2017-01-04 Thread Shubha Ramani via pypy-dev
I figured this out - thanks to something Manuel Jacob said -"You should be able to fix the error by moving the line to the module toplevel." You can add a global variable to a module top level easily and pass it along to the backend. Thank You Manuel ! Shubha On Monday, January 2, 2017 6:48

Re: [pypy-dev] cannot use "id" in Rpython

2017-01-04 Thread Shubha Ramani via pypy-dev
at in his vtune branch.  Shubha On Monday, January 2, 2017 6:45 AM, Shubha Ramani via pypy-dev wrote: Thank you Manuel. Sent from Shubha Ramani's iPhone 7 > On Jan 1, 2017, at 8:06 PM, Manuel Jacob wrote: > > Hi Shubha, > > I forgot to mention that the code line

[pypy-dev] who calls handle_builtin_call of jtransform.py ?

2017-01-04 Thread Shubha Ramani via pypy-dev
___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] How do you pass in data from pypy interpreter to backend ?

2017-01-02 Thread Shubha Ramani via pypy-dev
Not "all the way to the Background. Typo. Meant to say all the way to the backend". How do I pass pyframe pycode bits to the backend at runtime ? Sent from Shubha Ramani's iPhone 7 > On Jan 2, 2017, at 6:47 AM, Shubha Ramani wrote: > > I've really been struggling with this. For instance pycod

[pypy-dev] How do you pass in data from pypy interpreter to backend ?

2017-01-02 Thread Shubha Ramani via pypy-dev
I've really been struggling with this. For instance pycode from pyframe. I would like to pass along a data structure containing pycode tidbits all the way to the background but cannot figure out a way. Any clues would be appreciated ! Shubha ___ pypy-

Re: [pypy-dev] cannot use "id" in Rpython

2017-01-02 Thread Shubha Ramani via pypy-dev
;> In RPython, you can convert a function to a low-level function pointer with >>> llhelper() from rpython.rtyper.annlowlevel. You can call it like this: >>> fptr_type = lltype.Ptr(lltype.FuncType([], lltype.Void)) >>> fptr = llhelper(fptr_type, func) >>> Depe

[pypy-dev] [translation:ERROR] AnnotatorError: when I try to pass a variable down to x86/assembler.py

2016-12-31 Thread Shubha Ramani via pypy-dev
Trying to pass a dummy variable called "shubha" to the X86 Assembler. Made the following changes to code, am getting the following errors. Please help:rpython/jit/backend/llsupport/llmodel.py class AbstractLLCPU(AbstractCPU): def __init__(self, rtyper, stats, opts, shubha, translate_support_cod

Re: [pypy-dev] cannot use "id" in Rpython

2016-12-30 Thread Shubha Ramani via pypy-dev
ype = lltype.Ptr(lltype.FuncType([], lltype.Void)) > fptr = llhelper(fptr_type, func) > > Depending on what you want to do with the function address exactly, you might > need to cast the function pointer to a RPython "Address" with > cast_ptr_to_adr() from rpython.rtyper.llt

Re: [pypy-dev] cannot use "id" in Rpython

2016-12-30 Thread Shubha Ramani via pypy-dev
actly, you might > need to cast the function pointer to a RPython "Address" with > cast_ptr_to_adr() from rpython.rtyper.lltypesystem.llmemory. > >> On 2016-12-30 14:42, Shubha Ramani via pypy-dev wrote: >> It's not a bad idea for me. I'm hooking up to a tool ma

Re: [pypy-dev] cannot use "id" in Rpython

2016-12-30 Thread Shubha Ramani via pypy-dev
p://kirbyfan64.github.io/ > >> On Dec 29, 2016 1:19 PM, "Shubha Ramani via pypy-dev" >> wrote: >> >> What can I use then ? I need the address of the function ? >> >> [translation:ERROR] Exception: cannot use id() in RPython; see >> objec

Re: [pypy-dev] Debug build to analyze core dumps ?

2016-12-29 Thread Shubha Ramani via pypy-dev
Though I'm still curious about how to get debug builds so far the core dumps I've experienced are prettyeasy to root-cause. Attaching gdb seems overkill. On Thursday, December 29, 2016 9:14 AM, Shubha Ramani wrote: How do I build with debug symbols (i.e. -g) so that I can inspect core

[pypy-dev] cannot use "id" in Rpython

2016-12-29 Thread Shubha Ramani via pypy-dev
What can I use then ? I need the address of the function ? [translation:ERROR] Exception: cannot use id() in RPython; see objectmodel.compute_xxx()Processing block: block@19 is a   in (pypy.module._vtune.interp_vtune:28)_get_full_name  containing the following operations:        buf_0 = simple_

[pypy-dev] Debug build to analyze core dumps ?

2016-12-29 Thread Shubha Ramani via pypy-dev
How do I build with debug symbols (i.e. -g) so that I can inspect core dumps when you get a traceback like this ?Do you always recompile with  pypy ../../rpython/bin/rpython --opt=jit ? RPython traceback:  File "implement_11.c", line 5310, in fastfunc_enable_1  File "rpython_rlib_rvtune.c", line

Re: [pypy-dev] [translation:ERROR] Exception: 'no_release_gil' function can release the GIL

2016-12-22 Thread Shubha Ramani via pypy-dev
Same error with this version :def open_vtune_file(self):                                                                 from rpython.rlib.streamio import open_file_as_stream                                  self.vtune_file = open_file_as_stream('.\vtune.log', 'w')  On Thursday, December 2

[pypy-dev] [translation:ERROR] Exception: 'no_release_gil' function can release the GIL

2016-12-22 Thread Shubha Ramani via pypy-dev
Why ? I cannot seem to open a file anywhere within assembly.py. When I use "NOT_RPYTHON"in method open_file then I cannot use it in functions like assemble_loop because it's NOT_RPYTHON. Happens when I call the following function in x86/assembly.py:  def open_file(self):                          

Re: [pypy-dev] access to PyFrame within x86 backend

2016-12-21 Thread Shubha Ramani via pypy-dev
Sorry that code snippet came out screwed up: _get_code = lambda frame, w_inputvalue, operr: frame.pycode                     _decorator = rvmprof.vmprof_execute_code("pypy", _get_code, W_Root)             my_execute_frame = _decorator(PyFrame.execute_frame)                                        

Re: [pypy-dev] access to PyFrame within x86 backend

2016-12-20 Thread Shubha Ramani via pypy-dev
Is using /opt/pypy_latest/rpython/rlib/rvmprof/ traceback.py (with a callback option, as shown in test/test_traceback.py)a good idea - to be called within x86/assembler.py ? That's the direction I'm heading unless there are other suggestions. eating humble pie Shubha On Tuesday, December 2

[pypy-dev] access to PyFrame within x86 backend

2016-12-20 Thread Shubha Ramani via pypy-dev
First of all let me say that all I've done for the past several days is read, read read.I have read the rpython and pypy documentation. I've read  bolz-tracing-jit-final.pdf as well as antocuni-phd-thesis.pdf. I also feel that I comprehended most of what I read. In studying the vmprof implementat

Re: [pypy-dev] which API returns Python stack in codemap.c given pc ?

2016-12-20 Thread Shubha Ramani via pypy-dev
6 at 20:32, Shubha Ramani via pypy-dev wrote: I have studied rpython/jit/backend/llsupport/src/codemap.c. I am nt finding the API which returns the Python stack in codemap.c. There is no such knowledge as the "Python stack" inside the JIT.  Keep in mind that the JIT is generic.  Y

Re: [pypy-dev] which API returns Python stack in codemap.c given pc ?

2016-12-18 Thread Shubha Ramani via pypy-dev
ml Thanks Shubharamani > On Dec 18, 2016, at 2:33 AM, Armin Rigo wrote: > > Hi Shubha, > > On 17 December 2016 at 20:32, Shubha Ramani via pypy-dev > wrote: >> I have studied rpython/jit/backend/llsupport/src/codemap.c. >> I am nt finding the API which returns the Pyt

[pypy-dev] Fw: no module named 'backports' error when vmprof executed with pypy

2016-12-17 Thread Shubha Ramani via pypy-dev
Never mind.  Easily solved by:pip install backports.ssl-match-hostname AND pip install backports.shutil_which On Saturday, December 17, 2016 3:52 PM, Shubha Ramani via pypy-dev wrote: shubha@shubha-Z170X-UD5:/opt/vtune_pypy$ pypy-v -m vmprof fib.py/usr/bin/pypy-v: No module named

[pypy-dev] no module named 'backports' error when vmprof executed with pypy

2016-12-17 Thread Shubha Ramani via pypy-dev
shubha@shubha-Z170X-UD5:/opt/vtune_pypy$ pypy-v -m vmprof fib.py/usr/bin/pypy-v: No module named backports; 'vmprof' is a package and cannot be directly executed However when I do python -m vmprof fib.py it works.  Based on a quick Google search there doesn't seem to be a package called 'backpor

[pypy-dev] which API returns Python stack in codemap.c given pc ?

2016-12-17 Thread Shubha Ramani via pypy-dev
I have studied rpython/jit/backend/llsupport/src/codemap.c.I am nt finding the API which returns the Python stack in codemap.c. ___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] Where should I look then !

2016-12-12 Thread Shubha Ramani via pypy-dev
Armin I don't blame you for being upset with me. I'm sorry...I will lay low and dive deep into the pointers you've just nowmentioned in this email. I'm sorry, I didn't know about the August Vtune thread.Please accept my apologies. Shubha On Monday, December 12, 2016 11:11 AM, Armin Rigo w

[pypy-dev] Where should I look then !

2016-12-12 Thread Shubha Ramani via pypy-dev
To do this: > On Dec 9, 2016, at 9:34 AM, Shubha Ramani via pypy-dev > wrote: > > Armin you articulated exactly what I want. Please tell me the right place to > look then ? > > Shubha > > Sent from Shubha Ramani's iPhone 7 > >> On Dec 9, 2016,

Re: [pypy-dev] PYPYLOG - get two at once jit-backend-dump+jit-backend-addr

2016-12-11 Thread Shubha Ramani via pypy-dev
A search on "debug_start" in the pypy source code base reveals many other log options.So how do you include multiple in one file ?     On Sunday, December 11, 2016 7:33 PM, Shubha Ramani wrote: I can do  export PYPYLOG=jit-backend-dump:shubha.log and I can do  export PYPYLOG=ji

[pypy-dev] PYPYLOG - get two at once jit-backend-dump+jit-backend-addr

2016-12-11 Thread Shubha Ramani via pypy-dev
I can do  export PYPYLOG=jit-backend-dump:shubha.log and I can do  export PYPYLOG=jit-backend-addr:shubha.logwhile running the attached file which computes Fibonacci numbers. I run the script just by pypy fib.py and I did addthe requisite jitdriver and merge_point stuff. My question is, is there

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

2016-12-09 Thread Shubha Ramani via pypy-dev
a Ramani wrote: I assume it's backend/x86? Why is what I'm doing a waste of time though ? Sent from Shubha Ramani's iPhone 7 > On Dec 9, 2016, at 9:34 AM, Shubha Ramani via pypy-dev > wrote: > > Armin you articulated exactly what I want. Please tell me the ri

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

2016-12-09 Thread Shubha Ramani via pypy-dev
I assume it's backend/x86? Why is what I'm doing a waste of time though ? Sent from Shubha Ramani's iPhone 7 > On Dec 9, 2016, at 9:34 AM, Shubha Ramani via pypy-dev > wrote: > > Armin you articulated exactly what I want. Please tell me the right place to > look

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

2016-12-09 Thread Shubha Ramani via pypy-dev
Armin you articulated exactly what I want. Please tell me the right place to look then ? Shubha Sent from Shubha Ramani's iPhone 7 > On Dec 9, 2016, at 8:29 AM, Armin Rigo wrote: > > Hi, > > On 9 December 2016 at 15:55, Shubha Ramani via pypy-dev > wrote: >>

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

2016-12-09 Thread Shubha Ramani via pypy-dev
IT compiler. Without a jitdriver, it will not be able to JIT compile any code, thus you cannot obtain that file. If you do not have a rpython program, you cannot really generate the jitlog easily." On Friday, December 9, 2016 6:50 AM, Yury V. Zaytsev wrote: On Fri, 9 Dec 201

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

2016-12-09 Thread Shubha Ramani via pypy-dev
Hi Yury. You're right that is close to what I want. Just reading that link, it seems that no specialinstrumentation needs to be added to the Python code in order for any old python code out in the wild tobe able to dump JIT compiler logs. JIT Compiler Logs — vmprof 0.3 documentation | |

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

2016-12-09 Thread Shubha Ramani via pypy-dev
the following to get a log out of pypy for your program: >> >> (pypy-env) $ pip install vmprof >> (pypy-env) $ pypy -m vmprof --jitlog yourpythonprogram.py >> >> Cheers, >> Richard >> >>> On 12/09/2016 02:03 AM, Shubha Ramani via pypy-dev wrot

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

2016-12-09 Thread Shubha Ramani via pypy-dev
f pypy for your program: >> >> (pypy-env) $ pip install vmprof >> (pypy-env) $ pypy -m vmprof --jitlog yourpythonprogram.py >> >> Cheers, >> Richard >> >>> On 12/09/2016 02:03 AM, Shubha Ramani via pypy-dev wrote: >>> I successfully created

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

2016-12-09 Thread Shubha Ramani via pypy-dev
the following to get a log out of pypy for your program: > > (pypy-env) $ pip install vmprof > (pypy-env) $ pypy -m vmprof --jitlog yourpythonprogram.py > > Cheers, > Richard > >> On 12/09/2016 02:03 AM, Shubha Ramani via pypy-dev wrote: >> I successfully created a fil

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

2016-12-09 Thread Shubha Ramani via pypy-dev
Interesting. Thank You ! > On Dec 9, 2016, at 12:45 AM, Armin Rigo wrote: > > Hi, > > On 9 December 2016 at 02:00, Shubha Ramani via pypy-dev > wrote: >> Why am I getting this error ? >> pidigits.py runs fine outside of the pytest environment.

[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

[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                                                                                  

Re: [pypy-dev] How to run the tests under /opt/pypy/rpython/jit/metainterp/test ?

2016-12-05 Thread Shubha Ramani via pypy-dev
Yes that worked.pytest.py rpython/jit/metainterp/test/test_ajit.py Shubha On Monday, December 5, 2016 12:31 PM, Armin Rigo wrote: Hi, pytest.py rpython/jit/metainterp/test/test_ajit.py Also, can you please send plain-text e-mails without these huge signatures?  Thanks! A bientôt,

Re: [pypy-dev] please help. Why can't I do a pdb.set_trace() in llmodel.py at said line ?

2016-12-05 Thread Shubha Ramani via pypy-dev
Even if Jit is invoked during rpython translation ? Why not Armin ?I do see an assembler.py under rpython/jit/backend/x86 On Monday, December 5, 2016 12:35 PM, Armin Rigo wrote: Hi, On 5 December 2016 at 21:33, Shubha Ramani wrote: > But in the process of turning RPython code into C

Re: [pypy-dev] please help. Why can't I do a pdb.set_trace() in llmodel.py at said line ?

2016-12-05 Thread Shubha Ramani via pypy-dev
But in the process of turning RPython code into C code, there is a byte-code generationstep correct ? Shubha On Monday, December 5, 2016 12:32 PM, Armin Rigo wrote: Hi, On 5 December 2016 at 20:40, Shubha Ramani wrote: > What I want to do is debug the translation to byte code process

Re: [pypy-dev] How to run the tests under /opt/pypy/rpython/jit/metainterp/test ?

2016-12-05 Thread Shubha Ramani via pypy-dev
for instance,rpython/bin/rpython rpython/jit/metainterp/test/test_ajit.py results in :  Shubha D. ramanishubharam...@gmail.com shubharam...@yahoo.com On Monday, December 5, 2016 11:57 AM, Shubha Ramani wrote:  Shubha D. ramanishubharam...@gmail.com shubharam...@yahoo.com _

[pypy-dev] How to run the tests under /opt/pypy/rpython/jit/metainterp/test ?

2016-12-05 Thread Shubha Ramani via pypy-dev
 Shubha D. ramanishubharam...@gmail.com shubharam...@yahoo.com___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] please help. Why can't I do a pdb.set_trace() in llmodel.py at said line ?

2016-12-05 Thread Shubha Ramani via pypy-dev
OK. Please kindly give me a helpful nudge here. I have read this :https://morepypy.blogspot.com/2011/04/tutorial-part-2-adding-jit.html What I want to do is debug the translation to byte code process. How best to do that ? Use python print ?Since pdb is not going to work, I need some other way

[pypy-dev] please help. Why can't I do a pdb.set_trace() in llmodel.py at said line ?

2016-12-05 Thread Shubha Ramani via pypy-dev
 Shubha D. ramanishubharam...@gmail.com shubharam...@yahoo.com___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] with rpython is there a way to not write out the "c" files ?

2016-12-05 Thread Shubha Ramani via pypy-dev
wrote: Should be --no-source, but I have to wonder...what exactly are you trying to do? On Mon, Dec 5, 2016 at 12:36 PM, Shubha Ramani via pypy-dev wrote: It takes a long time and I don't really care about the backend c implementation at the moment.Do I just do a -s as shown below ? Command I

[pypy-dev] with rpython is there a way to not write out the "c" files ?

2016-12-05 Thread Shubha Ramani via pypy-dev
It takes a long time and I don't really care about the backend c implementation at the moment.Do I just do a -s as shown below ? Command I'm running: /opt/pypy/rpython$ ./bin/rpython -Ojit --jit-backend=auto   ./translator/goal/targetsimpleread.py   --annotate, -a          Do type inference--no-an

Re: [pypy-dev] Can you compile pypy from source using Visual Studio no-cygwin ?

2016-12-02 Thread Shubha Ramani via pypy-dev
I give up on using SSL, pre-compiled or built from scratch [ IT JUST DOESN'T WORK]. I'm going to try what Wim suggested - remove SSLfrom the list of modules. With all due respect has anyone tried building with the latest SSL binaries lately ? I used pre-built binaries from here:https://slproweb.

Re: [pypy-dev] Can you compile pypy from source using Visual Studio no-cygwin ?

2016-12-01 Thread Shubha Ramani via pypy-dev
issue > > Openssl in windows issue > While I try to create lib files for windows.The following error came. Please > help on this issue. CODE Explanati... > > > Shubha D. Ramani > shubharam...@gmail.com > shubharam...@yahoo.com > > > On Thursday, Dece

Re: [pypy-dev] Can you compile pypy from source using Visual Studio no-cygwin ?

2016-12-01 Thread Shubha Ramani via pypy-dev
. ramanishubharam...@gmail.com shubharam...@yahoo.com On Thursday, December 1, 2016 1:08 PM, Shubha Ramani via pypy-dev wrote: Thank you for pointing me to the instructions. Does anyone know how to overcome this error ? [translation:ERROR] CompilationError: CompilationError(err

Re: [pypy-dev] Can you compile pypy from source using Visual Studio no-cygwin ?

2016-12-01 Thread Shubha Ramani via pypy-dev
On Thursday, December 1, 2016 11:48 AM, Yury V. Zaytsev wrote: On Thu, 1 Dec 2016, Shubha Ramani via pypy-dev wrote: > The documentation doesn't say much about compiling from source using > Visual Studio and NO Cygwin. What piece of documentation you are looking at more speci

[pypy-dev] Can you compile pypy from source using Visual Studio no-cygwin ?

2016-12-01 Thread Shubha Ramani via pypy-dev
The documentation doesn't say much about compiling from source using Visual Studio and NO Cygwin.  Shubha D. ramanishubharam...@gmail.com shubharam...@yahoo.com___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-de

Re: [pypy-dev] assert error assert sys.maxint == (2**31 - 1)

2016-11-29 Thread Shubha Ramani via pypy-dev
thanks WLavrijsen, your tips worked. Shubha Shubha D. ramanishubharam...@gmail.com shubharam...@yahoo.com On Tuesday, November 29, 2016 4:06 PM, "wlavrij...@lbl.gov" wrote: Shubha, On Tuesday 2016-11-29 22:52, Shubha Ramani via pypy-dev wrote: > When I change backend

Re: [pypy-dev] assert error assert sys.maxint == (2**31 - 1)

2016-11-29 Thread Shubha Ramani via pypy-dev
When I change backend to auto:./bin/rpython -Ojit  --jit-backend=auto --cc=gcc   ./translator/goal/targetpushpop.py I get...translation:ERROR] Exception: no jit_merge_point found![translation] start debugger...> /opt/pypy/rpython/jit/metainterp/warmspot.py(169)find_jit_merge_points()-> raise Exc

[pypy-dev] assert error assert sys.maxint == (2**31 - 1)

2016-11-29 Thread Shubha Ramani via pypy-dev
Why ? When I run rpython:/opt/pypy/rpython$ ./bin/rpython -Ojit  --jit-backend=x86 ./translator/goal/targettestdicts.py  [translation:info] Error:   File "/opt/pypy/rpython/translator/goal/translate.py", line 318, in main    drv.proceed(goals)   File "/opt/pypy/rpython/translator/driver.py", lin

Re: [pypy-dev] Sample benchmarks to run through pypy JIT ?

2016-11-28 Thread Shubha Ramani via pypy-dev
I found this website which has a lot of good benchmarks:pypy / benchmarks / Downloads — Bitbucket | | | | || | | | | | pypy / benchmarks / Downloads — Bitbucket | | | |  Shubha D. ramanishubharam...@gmail.com shubharam...@yahoo.com On Monday, Nove

[pypy-dev] Sample benchmarks to run through pypy JIT ?

2016-11-28 Thread Shubha Ramani via pypy-dev
Hello. I'm taking over development of the vtune branch. I do work for Intelbut it's easier to use my personal account. Question, as I develop this branch can someone recommend some good Python benchmarks out there which have been tested with PyPy and have seen performance improvements ? pypy / p

Re: [pypy-dev] Can't run any puppy tests, get --assert: invalid choice etc...

2016-11-27 Thread Shubha Ramani via pypy-dev
Wow. Thanks for the tip Armin. Shubha > On Nov 27, 2016, at 12:44 AM, Armin Rigo wrote: > > Hi Shubha, > > On 26 November 2016 at 17:58, Shubha Ramani via pypy-dev > wrote: >> change assert=reinterp to assert=rewrite. It turns out in the latest version >> o

Re: [pypy-dev] Can't run any puppy tests, get --assert: invalid choice etc...

2016-11-26 Thread Shubha Ramani via pypy-dev
(spell-check woes) Shubha D. ramanishubharam...@gmail.com shubharam...@yahoo.com On Saturday, November 26, 2016 8:03 AM, Shubha Ramani via pypy-dev wrote: For instance this command :usage: py.test [options] [file_or_dir] [file_or_dir] [...]py.test: error: argument --assert: invalid choice

Re: [pypy-dev] Can't run any puppy tests, get --assert: invalid choice etc...

2016-11-26 Thread Shubha Ramani via pypy-dev
pypy not puppy (spell-check woes) Shubha D. ramanishubharam...@gmail.com shubharam...@yahoo.com On Saturday, November 26, 2016 8:03 AM, Shubha Ramani via pypy-dev wrote: For instance this command :usage: py.test [options] [file_or_dir] [file_or_dir] [...]py.test: error: argument

[pypy-dev] Can't run any puppy tests, get --assert: invalid choice etc...

2016-11-26 Thread Shubha Ramani via pypy-dev
For instance this command :usage: py.test [options] [file_or_dir] [file_or_dir] [...]py.test: error: argument --assert: invalid choice: 'reinterp' (choose from 'rewrite', 'plain') Shubha D. ramanishubharam...@gmail.com shubharam...@yahoo.com___ pypy-dev