61 Commits (066243ea74050523e807211f208e24fac08f69fc)

Author SHA1 Message Date
Damien George f52b0d0ff1 py/asm: Add ASM_NOT_REG and ASM_NEG_REG macros for unary ops. 8 months ago
Angus Gratton decf8e6a8b all: Remove the "STATIC" macro and just use "static" instead. 8 months ago
Damien George 8e1db993cd py/asmx64: Support full range of regs in asm_x64_lea_disp_to_r64. 3 years ago
Damien George f49d47c167 py/asmx64: Support use of top 8 regs in src_r64 argument. 4 years ago
Damien George aa26fe62d8 py/asm: Add funcs/macros to emit machine code for logical-shift-right. 4 years ago
stijn 84fa3312cf all: Format code to add space after C++-style comment start. 5 years ago
Damien George 69661f3343 all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
Damien George 1396a026be py: Add support to save native, viper and asm code to .mpy files. 6 years ago
Damien George 006671056d py/emitnative: Load native fun table ptr from const table for all archs. 6 years ago
Damien George 8e4b4bac70 py/asmx64: Change indirect calls to load fun ptr from the native table. 6 years ago
Damien George 8941c63290 py/asmx64: Change stack management to reference locals by rsp not rbp. 6 years ago
Damien George 5b19916d6e py/asmx64: Extend asm_x64_mov_reg_pcrel to accept high registers. 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 abb536da49 py/{asmx86,asmx64}: Extend test_r8_with_r8 to accept all 8 lower regs. 6 years ago
Damien George dd522d63b6 py/asmx64: Fix bug in assembler when creating disp with r13 and 0 offset 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 10830059c5 py/emitnative: Fix x86 native zero checks by comparing full word. 6 years ago
Damien George c0bcf00ed1 py/asm*.c: Remove unnecessary check for num_locals<0 in asm entry func. 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Damien George 3235b95f08 py/asmx64: Support moving a 64-bit immediate to one of top 8 registers. 7 years ago
Damien George 155fdc74d5 py/asm: Remove need for dummy_data when doing initial assembler passes. 8 years ago
Damien George 612599587b py: Factor out common code from assemblers into asmbase.[ch]. 8 years ago
Damien George 94e4bd456f py/asmx64: Support all 16 regs in reg to memory move instructions. 9 years ago
Damien George 46fc7a3d75 py/asmx64: Add helper macro for generating REX_[WRXB] bits from a reg64. 9 years ago
Damien George b8f9ac5411 py: Implement ptr32 load and store in viper emitter. 9 years ago
Damien George 567b349c2b py: Implement native multiply operation in viper emitter. 10 years ago
Damien George 4dea922610 py: Adjust some spaces in code style/format, purely for consistency. 10 years ago
Damien George 9988618e0e py: Implement full func arg passing for native emitter. 10 years ago
Damien George 4cd9ced8dc py: Implement closures in native code generator. 10 years ago
Paul Sokolovsky 089c3f321e py/asm*.c: Typo fixes in comments. 10 years ago
Damien George e5bcbcdebd py: Allow asmx64 to compile with -Wsign-compare. 10 years ago
Damien George d9dc6fff21 py: Allocate memory for assembled code at start of PASS_EMIT. 10 years ago
Damien George 3dd1c0a88a py: Make a function static and comment out those not used. 10 years ago
Damien George 51dfcb4bb7 py: Move to guarded includes, everywhere in py/ core. 10 years ago
Damien George 91cfd414c0 py: Implement native load for viper. 10 years ago
Damien George 1ef2348df0 py: Implement and,or,xor native ops for viper. 10 years ago
Damien George 1c6a1dc740 py: Allow x86-64 to mov r16 to rm16 with extended src reg. 10 years ago
Damien George 3112cde900 py: Implement more binary ops for viper emitter. 10 years ago
Damien George 0b610de017 py: Make macro names in assemblers consistent, and tidy up a bit. 10 years ago
Damien George d66e48662b py: Add store r8 and store r16 ops to asm_x86 and asm_x64. 10 years ago
Damien George 8105736982 py: Clean up x86-64 native assembler; allow use of extended regs. 10 years ago
Damien George dda46460ff Code style/whitespace cleanup; remove obsolete headers. 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
Paul Sokolovsky 59c675a64c py: Include mpconfig.h before all other includes. 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. 11 years ago
Paul Sokolovsky 520e2f58a5 Replace global "static" -> "STATIC", to allow "analysis builds". Part 2. 11 years ago
Damien George cd82e02e84 py: Partially fix native emitter to work with latest runtime. 11 years ago
Markus Siemens 19ccc6bdc7 Added Windows port (see #233) 11 years ago
John R. Lenton 9c83ec0eda Merge remote-tracking branch 'upstream/master' into dict_feats 11 years ago