summaryrefslogtreecommitdiffstatshomepage
path: root/py/asmthumb.h
Commit message (Collapse)AuthorAge
* py: Add lsl/lsr/asr opcode support to inline Thumb2 assembler.Damien George2015-10-19
|
* py: Implement full func arg passing for native emitter.Damien George2015-04-07
| | | | | | | | | | | This patch gets full function argument passing working with native emitter. Includes named args, keyword args, default args, var args and var keyword args. Fully Python compliant. It reuses the bytecode mp_setup_code_state function to do all the hard work. This function is slightly adjusted to accommodate native calls, and the native emitter is forced a bit to emit similar prelude and code-info as bytecode.
* py: For inline assembler, add bcc_n and bcc_w ops.Damien George2015-03-02
| | | | Addresses issue #1143.
* py: Make inline assembler raise exception when branch not in range.Damien George2015-02-25
| | | | Addresses issue #1132.
* py: Make more asmthumb functions inline to reduce code size.Damien George2015-02-24
|
* py: Implement bl/bx instructions for inline Thumb assembler.Damien George2015-02-16
|
* py: Implement "it" instruction for inline Thumb assembler.Damien George2015-02-16
|
* py: Add guarded includes for asm-based headers.Damien George2015-01-01
|
* py: Make macro names in assemblers consistent, and tidy up a bit.Damien George2014-09-29
|
* py: In asmthumb, clean up unit/int types and ite ops.Damien George2014-09-29
|
* py: Clean up x86-64 native assembler; allow use of extended regs.Damien George2014-09-07
| | | | Native x86-64 now has 3 locals in registers.
* Rename machine_(u)int_t to mp_(u)int_t.Damien George2014-07-03
| | | | See discussion in issue #50.
* py, compiler: Improve passes; add an extra pass for native emitter.Damien George2014-05-07
|
* Add license header to (almost) all files.Damien George2014-05-03
| | | | | | | Blanket wide to all .c and .h files. Some files originating from ST are difficult to deal with (license wise) so it was left out of those. Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
* py: Add 'align' and 'data' meta-instructions to inline assembler.Damien George2014-04-21
|
* inlinethumb: Add wfi, cpsid and cpsie instructions.Damien George2014-04-18
|
* py: Big improvements to inline assembler.Damien George2014-04-13
| | | | | | | | | Improved the Thumb assembler back end. Added many more Thumb instructions to the inline assembler. Improved parsing of assembler instructions and arguments. Assembler functions can now be passed the address of any object that supports the buffer protocol (to get the address of the buffer). Added an example of how to sum numbers from an array in assembler.
* py: Improve inline assembler; improve compiler constant folding.Damien George2014-04-12
|
* py: Make labels unsigned ints (converted from int).Damien George2014-04-10
| | | | | Labels should never be negative, and this modified type signature reflects that.
* py: Improve inline assembler; add a few more opcodes.Damien George2014-04-08
|
* Support for for-loop in native thumb.Damien2013-11-03
|
* Implement more thumb branch instructions.Damien2013-11-03
|
* Add b_n opcode to inline thumb asm.Damien2013-10-06
|
* Add support for inline thumb assembly.Damien2013-10-05
|
* Incorporate emit_thumb into new emit framework.Damien2013-10-05
|
* Initial commit.Damien2013-10-04