Shubha,

On Tuesday 2016-11-29 22:52, Shubha Ramani via pypy-dev wrote:
When I change backend to auto:./bin/rpython -Ojit --jit-backend=auto --cc=gcc 
./translator/goal/targetpushpop.py

those small translator exampled do not use a jit driver and thus have no
jit_merge_point. You can add one:

 from rpython.rlib import jit
 driver = jit.JitDriver(greens = [], reds = 'auto')

and then for example at the opening of entry_point():

 driver.jit_merge_point()

See here for details:

 http://rpython.readthedocs.io/en/latest/jit/pyjitpl5.html

When I run rpython:/opt/pypy/rpython$ ./bin/rpython -Ojit --jit-backend=x86 
./translator/goal/targettestdicts.py

Is probably b/c you want the x86_64 backend. That seems to be missing from
the set of options in config/translationoption.py+121, but 'auto' (default)
will select it for your machine.

Best regards,
           Wim
--
wlavrij...@lbl.gov    --    +1 (510) 486 6411    --    www.lavrijsen.net
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to