<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openmano-mpy/tests/inlineasm, branch master</title>
<subtitle>MicroPython source and hardware configuration for OpenMano</subtitle>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/'/>
<entry>
<title>tests: Format all Python code with black, except tests in basics subdir.</title>
<updated>2020-03-30T02:21:58+00:00</updated>
<author>
<name>David Lechner</name>
</author>
<published>2020-03-23T02:26:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=3dc324d3f1312e40d3a8ed87e7244966bb756f26'/>
<id>3dc324d3f1312e40d3a8ed87e7244966bb756f26</id>
<content type='text'>
This adds the Python files in the tests/ directory to be formatted with
./tools/codeformat.py.  The basics/ subdirectory is excluded for now so we
aren't changing too much at once.

In a few places `# fmt: off`/`# fmt: on` was used where the code had
special formatting for readability or where the test was actually testing
the specific formatting.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds the Python files in the tests/ directory to be formatted with
./tools/codeformat.py.  The basics/ subdirectory is excluded for now so we
aren't changing too much at once.

In a few places `# fmt: off`/`# fmt: on` was used where the code had
special formatting for readability or where the test was actually testing
the specific formatting.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Rename "array" module to "uarray".</title>
<updated>2019-10-22T08:16:54+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2019-10-22T06:33:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=30e25174bbf077e8a3cbe2a3a6a97795f8d67dc2'/>
<id>30e25174bbf077e8a3cbe2a3a6a97795f8d67dc2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>py: Allow to pass in read-only buffers to viper and inline-asm funcs.</title>
<updated>2019-08-06T05:58:23+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2019-08-05T06:32:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=cd35dd9d9a29836906acdce60c931f6352b536d0'/>
<id>cd35dd9d9a29836906acdce60c931f6352b536d0</id>
<content type='text'>
Fixes #4936.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #4936.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Add a test for argument passing to inline-asm functions.</title>
<updated>2016-03-16T08:24:07+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2016-03-16T08:24:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=664f03f4664807ca6e441b0af1b280cf42d96714'/>
<id>664f03f4664807ca6e441b0af1b280cf42d96714</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</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>
</author>
<published>2016-01-15T15:20:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=8f54c08691faa3dd859852d211230fd7d9791abd'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Supported return types are: object, bool, int, uint.

For example:

@micropython.asm_thumb
def foo(r0, r1) -&gt; uint:
    add(r0, r0, r1)
</pre>
</div>
</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>
</author>
<published>2016-01-07T14:54:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=ea8be373a975356808a19a79f1dd20383bec82ba'/>
<id>ea8be373a975356808a19a79f1dd20383bec82ba</id>
<content type='text'>
movwt can now move a full 32-bit constant into a register.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
movwt can now move a full 32-bit constant into a register.
</pre>
</div>
</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>
</author>
<published>2015-11-21T21:27:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=e242b1785f9e25b36f5d225652c679cd7cec6ec0'/>
<id>e242b1785f9e25b36f5d225652c679cd7cec6ec0</id>
<content type='text'>
Only IPSR and BASEPRI special registers supported at the moment, but easy
to extend in the future.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Only IPSR and BASEPRI special registers supported at the moment, but easy
to extend in the future.
</pre>
</div>
</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>
</author>
<published>2015-10-31T09:38:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=d6201fc4b74e78e7eb9cec91c444884df2efbb7c'/>
<id>d6201fc4b74e78e7eb9cec91c444884df2efbb7c</id>
<content type='text'>
As per ARM convention.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As per ARM convention.
</pre>
</div>
</content>
</entry>
<entry>
<title>py: Add lsl/lsr/asr opcode support to inline Thumb2 assembler.</title>
<updated>2015-10-19T13:26:19+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2015-10-19T13:26:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=096d1e4512d6a8fb99e2de3c0c23e2cb88cc2d7a'/>
<id>096d1e4512d6a8fb99e2de3c0c23e2cb88cc2d7a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>py/inlinethumb: Support for core floating point instructions.</title>
<updated>2015-04-19T14:47:05+00:00</updated>
<author>
<name>=</name>
</author>
<published>2015-04-14T12:14:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=5008972fefdd0d8cad214d4c0a2fb3daea0ac3c8'/>
<id>5008972fefdd0d8cad214d4c0a2fb3daea0ac3c8</id>
<content type='text'>
Adds support for the following Thumb2 VFP instructions, via the option
MICROPY_EMIT_INLINE_THUMB_FLOAT:

vcmp
vsqrt
vneg
vcvt_f32_to_s32
vcvt_s32_to_f32
vmrs
vmov
vldr
vstr
vadd
vsub
vmul
vdiv
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds support for the following Thumb2 VFP instructions, via the option
MICROPY_EMIT_INLINE_THUMB_FLOAT:

vcmp
vsqrt
vneg
vcvt_f32_to_s32
vcvt_s32_to_f32
vmrs
vmov
vldr
vstr
vadd
vsub
vmul
vdiv
</pre>
</div>
</content>
</entry>
</feed>
