39 Commits (d72dbb822c96c003a202565006a97a2bfdff9210)

Author SHA1 Message Date
Damien George 96f2a38075 py/nativeglue: Make mp_fun_table fixed size regardless of config. 5 years ago
Damien George 5889cf58db py/bc0: Order opcodes into groups based on their size and format. 5 years ago
Damien George cd35dd9d9a py: Allow to pass in read-only buffers to viper and inline-asm funcs. 5 years ago
Jun Wu b152bbddd1 py: Define EMIT_MACHINE_CODE as EMIT_NATIVE || EMIT_INLINE_ASM. 6 years ago
Damien George a4f1d82757 py/nativeglue: Remove dependency on mp_fun_table in dyn-compiler mode. 6 years ago
Damien George bff4e13009 py/nativeglue: Make private glue funs all static, remove commented code. 6 years ago
Damien George 5ea38e4d74 py/native: Improve support for bool type in viper functions. 6 years ago
Damien George 0e4c24ec08 py/nativeglue: Rename native convert funs to match other native helpers. 6 years ago
Damien George 3b973a5658 py: Move mp_native_type_from_qstr() from emitnative.c to nativeglue.c. 6 years ago
Damien George de71035e02 py/emitnative: Put None/False/True in global native const table. 6 years ago
Damien George cc2bd63c57 py/emitnative: Implement yield and yield-from in native emitter. 6 years ago
Damien George 43f1848bfa py: Make viper functions have the same entry signature as native. 6 years ago
Damien George 4f3d9429b5 py: Fix native functions so they run with their correct globals context. 6 years ago
Damien George 436e0d4c54 py/emit: Merge build set/slice into existing build emit function. 7 years ago
Damien George a3afa8cfc4 py/emitnative: Implement floor-division and modulo for viper emitter. 7 years ago
Damien George a3dc1b1957 all: Remove inclusion of internal py header files. 7 years ago
Stefan Naumann ace9fb5405 py: Add verbose debug compile-time flag MICROPY_DEBUG_VERBOSE. 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Damien George dd11af209d py: Add LOAD_SUPER_METHOD bytecode to allow heap-free super meth calls. 8 years ago
Damien George 088740ecc4 py: Optimise storage of iterator so it takes only 4 slots on Py stack. 8 years ago
Damien George 4e3bac2e42 py/runtime: Convert mp_uint_t to size_t where appropriate. 8 years ago
Damien George ad297a1950 py: Allow inline-assembler emitter to be generic. 8 years ago
Damien George 3e02b1d19a py/viper: Allow casting of Python integers to viper pointers. 9 years ago
Damien George 5f3e005b67 py: Extend native type-sig to use 4 bits, so uint is separate to ptr. 9 years ago
Damien George 8f54c08691 py/inlineasm: Add ability to specify return type of asm_thumb funcs. 9 years ago
Damien George dd0a0f79d7 py/viper: Truncate viper integer args so they can be up to 32-bit. 9 years ago
Paul Sokolovsky 1b586f3a73 py: Rename MP_BOOL() to mp_obj_new_bool() for consistency in naming. 9 years ago
Damien George 59fba2d6ea py: Remove mp_load_const_bytes and instead load precreated bytes object. 10 years ago
Damien George ed570e4b2a py: Remove mp_load_const_str and replace uses with inlined version. 10 years ago
Damien George 9988618e0e py: Implement full func arg passing for native emitter. 10 years ago
Damien George 78772ada0d py: Implement calling functions with *args in native emitter. 10 years ago
Damien George 4cd9ced8dc py: Implement closures in native code generator. 10 years ago
Damien George 7d414a1b52 py: Parse big-int/float/imag constants directly in parser. 10 years ago
Damien George b6e6b5277f py: Implement proper re-raising in native codegen's finally handler. 10 years ago
Damien George 51dfcb4bb7 py: Move to guarded includes, everywhere in py/ core. 10 years ago
Damien George e9dac3b4d0 py: Add casting to viper; add native mem stores to viper. 10 years ago
Damien George e6ce10a3e7 py: Native emitter now supports delete name & global, and end finally. 10 years ago
Damien George 4abff7500f py: Change uint to mp_uint_t in runtime.h, stackctrl.h, binary.h. 10 years ago
Damien George 110ba35980 py: Move native glue code from runtime.c to new file nativeglue.c. 10 years ago