Damien George
9f142f0c84
py: For inline assembler, add bcc_n and bcc_w ops.
Addresses issue #1143 .
10 years ago
Damien George
534574348e
py: Make inline assembler raise exception when branch not in range.
Addresses issue #1132 .
10 years ago
Damien George
e41b21c01e
py: Make more asmthumb functions inline to reduce code size.
10 years ago
Damien George
eff10f66a6
py: Implement bl/bx instructions for inline Thumb assembler.
10 years ago
Damien George
42495392da
py: Implement "it" instruction for inline Thumb assembler.
10 years ago
Damien George
ebde3c694f
py: Add guarded includes for asm-based headers.
10 years ago
Damien George
0b610de017
py: Make macro names in assemblers consistent, and tidy up a bit.
10 years ago
Damien George
851f15f34c
py: In asmthumb, clean up unit/int types and ite ops.
10 years ago
Damien George
8105736982
py: Clean up x86-64 native assembler; allow use of extended regs.
Native x86-64 now has 3 locals in registers.
10 years ago
Damien George
40f3c02682
Rename machine_(u)int_t to mp_(u)int_t.
See discussion in issue #50 .
11 years ago
Damien George
36db6bcf54
py, compiler: Improve passes; add an extra pass for native emitter.
11 years ago
Damien George
04b9147e15
Add license header to (almost) all files.
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/.
11 years ago
Damien George
e5f8a77db6
py: Add 'align' and 'data' meta-instructions to inline assembler.
11 years ago
Damien George
90edf9e13b
inlinethumb: Add wfi, cpsid and cpsie instructions.
11 years ago
Damien George
8721087661
py: Big improvements to inline assembler.
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.
11 years ago
Damien George
a26dc50968
py: Improve inline assembler; improve compiler constant folding.
11 years ago
Damien George
6f355fd3b9
py: Make labels unsigned ints (converted from int).
Labels should never be negative, and this modified type signature
reflects that.
11 years ago
Damien George
47e1b85d9c
py: Improve inline assembler; add a few more opcodes.
11 years ago
ian-v
5fd8fd2c16
Revert MP_BOOL, etc. and use <stdbool.h> instead
11 years ago
ian-v
7a16fadbf8
Co-exist with C++ (issue #85 )
11 years ago
Damien
9b9e996df6
Support for for-loop in native thumb.
11 years ago
Damien
1a6633a74d
Implement more thumb branch instructions.
11 years ago
Damien
03d4124320
Add b_n opcode to inline thumb asm.
11 years ago
Damien
826005c60b
Add support for inline thumb assembly.
11 years ago
Damien
5bfb759980
Incorporate emit_thumb into new emit framework.
11 years ago
Damien
429d71943d
Initial commit.
11 years ago