38 Commits (d532c55e3b8ee7955bea99fc79ccd74d9a35f757)

Author SHA1 Message Date
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 ab75210e33 py/asmx86: Remove unused 5th argument facility. 5 years ago
Damien George b97fb683d0 py/asmx86: Fix stack to be 16-byte aligned for entry and sub-call. 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 355eb8eafb py/asmx86: Change indirect calls to load fun ptr from the native table. 6 years ago
Damien George b7c6f859d0 py/asmx86: Change stack management to reference locals by esp not ebp. 6 years ago
Damien George 1dc720dc01 py/asmx86: Comment out unused asm_x86_nop to prevent compiler warnings. 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 2964b41c28 py/asm*: Support assembling code to jump to a register, and get PC+off. 6 years ago
Damien George 1c0bd46d1d py/asmx86: Use generic emit function to simplify cmp emit function. 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 93ee6603b1 py/asm: Fix x86 and ARM assemblers due to recent code refactoring. 8 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 0786716c5a py/asmx86: Fix function definition to use int32_t instead of int. 9 years ago
Damien George 567b349c2b py: Implement native multiply operation in viper emitter. 10 years ago
Damien George 9988618e0e py: Implement full func arg passing for native emitter. 10 years ago
Paul Sokolovsky 089c3f321e py/asm*.c: Typo fixes in comments. 10 years ago
Damien George ff8dd3f486 py, unix: Allow to compile with -Wunused-parameter. 10 years ago
Damien George 963a5a3e82 py, unix: Allow 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 51dfcb4bb7 py: Move to guarded includes, everywhere in py/ core. 10 years ago
Damien George 969a6b37bf py: Make functions static where appropriate. 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 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 6eae861685 py: Put define of x86 argument registers in asmx86.h. 10 years ago
Damien George 25d904105c py: Adjust regs for x86 so that 1 more local can live in a reg. 10 years ago
Damien George 03281b3850 py: Allow x86 native functions to take arguments. 10 years ago
Damien George c90f59ec3a py: Add support for emitting native x86 machine code. 10 years ago