53 Commits (5064df2074dfd8bdc61f16ab3cbc2d695c10c3a6)

Author SHA1 Message Date
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
Damien George 1a9951d5aa py: Fix up number operations and coercion. 11 years ago
Damien George d3ebe4829d Factor and simplify Makefile's and mpconfig, part 2. 11 years ago
Damien George e2e3d11e87 py: Fix up number operations and coercion. 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 George e67ed5d285 Improve configurability for native x64/thumb emitter. 11 years ago
Damien George ebd2e8702d py: __MACH__ also uses MAP_ANON. 11 years ago
Edd Barrett 67ab5ee779 On OpenBSD MAP_ANONYMOUS is called MAP_ANON. 11 years ago