A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/attachments/20090210/158f9b7b/attachment.htm below:

<br><br><div class="gmail_quote">On Tue, Feb 10, 2009 at 18:45, Benjamin Schwartz <span dir="ltr">&lt;<a href="mailto:bmschwar@fas.harvard.edu">bmschwar@fas.harvard.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Dear Python developers,<br>
<br>
Introduction:<br>
I am writing from the perspective of Sugar Labs [1], which produces Sugar, a<br>
free software project written almost entirely in Python. &nbsp;Sugar is designed<br>
to run on small, resource-constrained computers. &nbsp;So far those computers<br>
have been mostly x86, but it seems likely to me that we will soon want to<br>
run on ARM as well, with the new wave of small ARM laptops [2]. &nbsp;These<br>
laptops are likely to run on some variant of the ARM Cortex-A8 CPU core.<br>
<br>
The Cortex-A8 chips all contain a set of commands known as ThumbEE or<br>
Jazelle RCT (Runtime Compilation Target) [3]. &nbsp;According to ARM [4]:<br>
<br>
&quot;&quot;&quot;Jazelle RCT can be used to significantly reduce the code bloat associated<br>
with AOT and JIT compilation, making AOT technology viable on mass-market<br>
devices. It can also be used to support execution environments beyond Java,<br>
such as Microsoft .NET Compact Framework, Python and others.&quot;&quot;&quot;<br>
<br>
&quot;&quot;&quot;Jazelle RCT provides an excellent target for any run-time compilation<br>
technology, including JIT and AOT for .NET MSIL, Python and Perl as well as<br>
Java. ARM is working with leading software providers to enable solutions<br>
ready for market with Jazelle RCT.&quot;&quot;&quot;<br>
<br>
The Jazelle RCT system consists of 12 assembly instructions, documented at<br>
[5] and [6].<br>
<br>
Question:<br>
ARM is specifically claiming that these instructions can be used to<br>
accelerate Python interpretation.</blockquote><div><br>Wow, really? One of the links below mention that?<br>&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
 &nbsp;Is there any interpreter code, in CPython<br>
or elsewhere, that uses ThumbEE mode?</blockquote><div><br>Nope.<br>&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> &nbsp;Is there anyone working on this?</blockquote>
<div><br>Not that has contacted us.<br>&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
What would the process be to incorporate the use of ThumbEE instructions<br>
into CPython?<br>
</blockquote><div><br>Well, this all depends on how you try to integrate the instructions. If you hide it behind the macro or in a clean way that does not penalize skipping the instructions then you write a patch. But if this can&#39;t be done it would be better to maintain an external set of patches against trunk for this. This might be pushed anyway as we have slowly been shying away from platform/CPU-specific code being in the trunk, especially when it does not come from someone who has been a Python core developer for several years.<br>
&nbsp;<br>-Brett<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
The whitepaper mentions the Parrot interpreter specifically, but I cannot<br>
find any indication that anyone is actually working on Jazelle RCT support<br>
in Parrot.<br>
<br>
Thank you,<br>
Ben Schwartz<br>
<br>
[1] <a href="http://sugarlabs.org/go/Main_Page" target="_blank">http://sugarlabs.org/go/Main_Page</a><br>
[2]<br>
<a href="http://www.engadget.com/2009/01/09/pegatron-and-freescale-team-for-low-power-ultra-cheap-netbooks/" target="_blank">http://www.engadget.com/2009/01/09/pegatron-and-freescale-team-for-low-power-ultra-cheap-netbooks/</a><br>

[3]<br>


<a href="http://en.wikipedia.org/wiki/ARM_architecture#Thumb_Execution_Environment_.28ThumbEE.29" target="_blank">http://en.wikipedia.org/wiki/ARM_architecture#Thumb_Execution_Environment_.28ThumbEE.29</a><br>
[4] <a href="http://www.arm.com/products/multimedia/java/jazelle_architecture.html" target="_blank">http://www.arm.com/products/multimedia/java/jazelle_architecture.html</a><br>
[5] <a href="http://infocenter.arm.com/help/topic/com.arm.doc.dui0379a/CIHBCDGA.html" target="_blank">http://infocenter.arm.com/help/topic/com.arm.doc.dui0379a/CIHBCDGA.html</a><br>
[6] <a href="http://www.arm.com/pdfs/JazelleRCTWhitePaper_final1-0_.pdf" target="_blank">http://www.arm.com/pdfs/JazelleRCTWhitePaper_final1-0_.pdf</a><br>
--<br>
View this message in context: <a href="http://www.nabble.com/Python-acceleration-instructions-on-ARM-tp21947336p21947336.html" target="_blank">http://www.nabble.com/Python-acceleration-instructions-on-ARM-tp21947336p21947336.html</a><br>

Sent from the Python - python-dev mailing list archive at Nabble.com.<br>


<br>
_______________________________________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org">Python-Dev@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/python-dev" target="_blank">http://mail.python.org/mailman/listinfo/python-dev</a><br>
Unsubscribe: <a href="http://mail.python.org/mailman/options/python-dev/brett%40python.org" target="_blank">http://mail.python.org/mailman/options/python-dev/brett%40python.org</a><br>
</blockquote></div><br>

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4