70 Commits (659113825d10bf2ae71dd215a8597451e505982d)

Author SHA1 Message Date
Angus Gratton d933210d96 py/misc: Move mp_clz and mp_ctz intrinsics into misc.h. 7 months ago
Angus Gratton decf8e6a8b all: Remove the "STATIC" macro and just use "static" instead. 8 months ago
Damien George b1229efbd1 all: Fix spelling mistakes based on codespell check. 2 years ago
Damien George aa53d2f84a py/asmthumb: Provide implementations of clz/ctz for msvc. 2 years ago
Damien George a5324a1074 py/asmthumb: Make ARMv7-M instruction use dynamically selectable. 2 years ago
Damien George 94ae023136 py/asmthumb: Add asm_thumb_ldrh_reg_reg_i12_optimised() helper func. 3 years ago
Damien George 56f2d3c2e5 py/asmthumb: Fix PC relative load by sign extending the constant. 3 years ago
Damien George a70a4e6688 py/emitglue: Always flush caches when assigning native ARM code. 3 years ago
graham sanderson 794df0f1d5 py/emitnative: Support binary ops on ARMv6M without use of ite instr. 4 years ago
graham sanderson 40d2010882 py/asmthumb: Add support for ARMv6M in native emitter. 4 years ago
Damien George 69661f3343 all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
Damien George 9ef784dcc6 py/asmthumb: Support asm_thumb code running on normal ARM processors. 6 years ago
Damien George 1396a026be py: Add support to save native, viper and asm code to .mpy files. 6 years ago
Damien George 25571800fc py/asmthumb: Remove unused fun_ptr arg from asm_thumb_bl_ind function. 6 years ago
Damien George 006671056d py/emitnative: Load native fun table ptr from const table for all archs. 6 years ago
Damien George 87231132d4 py/asmthumb: Extend asm entry/exit to handle stack larger than 508 bytes 6 years ago
Damien George ef9394e76a py/asmthumb: Clean up asm_thumb_bl_ind to use new optimised ldr helper. 6 years ago
Damien George 07ccb192c5 py/asmthumb: Add wide ldr to handle larger offsets. 6 years ago
Damien George 2e86233263 py/asm*: Remove ASM_MOV_REG_ALIGNED_IMM emit macro, it's no longer used. 6 years ago
Damien George 7e3dd9f8a3 py/asmthumb: Detect presence of I-cache using CMSIS macro. 6 years ago
Damien George 2964b41c28 py/asm*: Support assembling code to jump to a register, and get PC+off. 6 years ago
Damien George 1e3a7f561f py/asmthumb: Optimise native code calling runtime glue functions. 6 years ago
Damien George c0bcf00ed1 py/asm*.c: Remove unnecessary check for num_locals<0 in asm entry func. 7 years ago
Damien George f9ecaa132f py/asmthumb: Use existing macro to properly clear the D-cache. 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Ville Skyttä ca16c38210 various: Spelling fixes 8 years ago
Damien George 155fdc74d5 py/asm: Remove need for dummy_data when doing initial assembler passes. 8 years ago
Damien George 63e82dcdfe py/asmthumb: Fix build for F7 MCUs after recent code refactoring. 8 years ago
Damien George 612599587b py: Factor out common code from assemblers into asmbase.[ch]. 8 years ago
Antonin ENFRUN f3b19ef634 py/asmthumb: Flush D-cache, and invalidate I-cache on STM32F7. 8 years ago
Damien George 723d598d32 py/asmthumb: Allow to compile with -Wsign-compare and -Wunused-parameter. 9 years ago
Damien George 9988618e0e py: Implement full func arg passing for native emitter. 10 years ago
Damien George 67c5f89af5 py: In inline assembler, fix branch out-of-range error reporting. 10 years ago
Damien George 9f142f0c84 py: For inline assembler, add bcc_n and bcc_w ops. 10 years ago
Damien George 534574348e py: Make inline assembler raise exception when branch not in range. 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 d1c3788375 py: Fix loading of immediate pointer in Thumb assembler. 10 years ago
Damien George d9dc6fff21 py: Allocate memory for assembled code at start of PASS_EMIT. 10 years ago
Damien George 51dfcb4bb7 py: Move to guarded includes, everywhere in py/ core. 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
Fabian Vogt b7235b8412 Add cache flush in py/asmarm.c and add new MP_PLAT_ALLOC_EXEC and MP_PLAT_FREE_EXEC macros 10 years ago
Damien George 3c658a4e75 py: Fix bug where GC collected native/viper/asm function data. 10 years ago
Damien George 7fe2191c9b py: Code clean-up in native emitter; improve thumb native calls. 10 years ago
Damien George 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t. 10 years ago
Paul Sokolovsky 59c675a64c py: Include mpconfig.h before all other includes. 11 years ago
Damien George 9597771fe4 py, emitters: Fix dummy_data size for bytecode and thumb. 11 years ago
Damien George d509ac25f9 py: Fix stack access in thumb native emitter. 11 years ago
Damien George 36db6bcf54 py, compiler: Improve passes; add an extra pass for native emitter. 11 years ago