<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/emitinlinethumb.c, branch esp-extra-scripts</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=esp-extra-scripts</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=esp-extra-scripts'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2016-02-23T15:20:39+00:00</updated>
<entry>
<title>py/emitinlinethumb: Use qstrs instead of char* for names of asm ops.</title>
<updated>2016-02-23T15:20:39+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-02-23T15:20:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=28adab36c795691a9064495a18d44ebc69c5db64'/>
<id>urn:sha1:28adab36c795691a9064495a18d44ebc69c5db64</id>
<content type='text'>
Reduces code size by 112 bytes on Thumb2 arch, and makes assembler faster
because comparison can be a simple equals instead of a string compare.

Not all ops have been converted, only those that were simple to convert
and reduced code size.
</content>
</entry>
<entry>
<title>py/inlineasm: Add ability to specify return type of asm_thumb funcs.</title>
<updated>2016-01-27T14:27:10+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-01-15T15:20:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8f54c08691faa3dd859852d211230fd7d9791abd'/>
<id>urn:sha1:8f54c08691faa3dd859852d211230fd7d9791abd</id>
<content type='text'>
Supported return types are: object, bool, int, uint.

For example:

@micropython.asm_thumb
def foo(r0, r1) -&gt; uint:
    add(r0, r0, r1)
</content>
</entry>
<entry>
<title>py/inlinethumb: Remove 30-bit restriction on movwt instruction.</title>
<updated>2016-01-07T16:34:11+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-01-07T14:54:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ea8be373a975356808a19a79f1dd20383bec82ba'/>
<id>urn:sha1:ea8be373a975356808a19a79f1dd20383bec82ba</id>
<content type='text'>
movwt can now move a full 32-bit constant into a register.
</content>
</entry>
<entry>
<title>py/inlinethumb: Allow assembler to use big ints as args to instructions.</title>
<updated>2016-01-07T16:21:07+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-01-07T14:45:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=47dc5922cab047003acbdb404b9e151f343f9679'/>
<id>urn:sha1:47dc5922cab047003acbdb404b9e151f343f9679</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/emitinlinethumb: Add support for MRS instruction.</title>
<updated>2015-12-10T17:32:54+00:00</updated>
<author>
<name>Henrik Sölver</name>
<email>henrik.solver@gmail.com</email>
</author>
<published>2015-11-21T21:27:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e242b1785f9e25b36f5d225652c679cd7cec6ec0'/>
<id>urn:sha1:e242b1785f9e25b36f5d225652c679cd7cec6ec0</id>
<content type='text'>
Only IPSR and BASEPRI special registers supported at the moment, but easy
to extend in the future.
</content>
</entry>
<entry>
<title>py: Change qstr_* functions to use size_t as the type for str len arg.</title>
<updated>2015-11-29T14:25:04+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-11-27T12:23:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c3f64d9799cdf8af88087eebe6628e83d658405c'/>
<id>urn:sha1:c3f64d9799cdf8af88087eebe6628e83d658405c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Add constant table to bytecode.</title>
<updated>2015-11-13T12:49:18+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-10-23T00:23:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=713ea1800d1f0c82a0c75885ad034705556ab5ef'/>
<id>urn:sha1:713ea1800d1f0c82a0c75885ad034705556ab5ef</id>
<content type='text'>
Contains just argument names at the moment but makes it easy to add
arbitrary constants.
</content>
</entry>
<entry>
<title>py: Put all bytecode state (arg count, etc) in bytecode.</title>
<updated>2015-11-13T12:49:18+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-10-22T22:45:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3a3db4dcf0400cffef860f61a84979cb1f7a7541'/>
<id>urn:sha1:3a3db4dcf0400cffef860f61a84979cb1f7a7541</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/emitinlinethumb: Allow to compile with -Wsign-compare.</title>
<updated>2015-11-09T14:11:47+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-11-09T14:11:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1f92ffb5b7e3404e9a290f3e5ab95dc98a28753e'/>
<id>urn:sha1:1f92ffb5b7e3404e9a290f3e5ab95dc98a28753e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: In inline asm, vldr and vstr offsets now in bytes not words.</title>
<updated>2015-10-31T10:50:45+00:00</updated>
<author>
<name>adminpete</name>
<email>peter@hinch.me.uk</email>
</author>
<published>2015-10-31T09:38:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d6201fc4b74e78e7eb9cec91c444884df2efbb7c'/>
<id>urn:sha1:d6201fc4b74e78e7eb9cec91c444884df2efbb7c</id>
<content type='text'>
As per ARM convention.
</content>
</entry>
</feed>
