| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-09-06 | py: Make mpz able to use 16 bits per digit; and 32 on 64-bit arch. | Damien George | |
| Previously, mpz was restricted to using at most 15 bits in each digit, where a digit was a uint16_t. With this patch, mpz can use all 16 bits in the uint16_t (improvement to mpn_div was required). This gives small inprovements in speed and RAM usage. It also yields savings in ROM code size because all of the digit masking operations become no-ops. Also, mpz can now use a uint32_t as the digit type, and hence use 32 bits per digit. This will give decent improvements in mpz speed on 64-bit machines. Test for big integer division added. | |||
| 2014-09-05 | py: Convert (u)int to mp_(u)int_t in mpz, and remove unused function. | Damien George | |
| 2014-09-05 | py: Use % str formatting instead of {} in makeqstrdata.py. | Damien George | |
| Script is equivalent, but now also runs under ancient Python 2.6. Goes part way to addressing issue #847. | |||
| 2014-09-04 | py: Use variable length encoded uints in more places in bytecode. | Damien George | |
| Code-info size, block name, source name, n_state and n_exc_stack now use variable length encoded uints. This saves 7-9 bytes per bytecode function for most functions. | |||
| 2014-09-03 | Code style/whitespace cleanup; remove obsolete headers. | Damien George | |
| And move the MAP_ANON redefinition from py/asmx64.c to unix/alloc.c. | |||
| 2014-09-03 | unix: Auto-detect MICROPY_EMIT_X64 and MICROPY_GCREGS_SETJMP. | Damien George | |
| If not set, MICROPY_EMIT_X64 is set only if on x86-64 machine. If not set, MICROPY_GCREGS_SETJMP is set when on MIPS. | |||
| 2014-09-03 | Merge pull request #845 from Vogtinator/master | Damien George | |
| Add allocation macros (per platform) and ARM cache flush | |||
| 2014-09-03 | Add cache flush in py/asmarm.c and add new MP_PLAT_ALLOC_EXEC and ↵ | Fabian Vogt | |
| MP_PLAT_FREE_EXEC macros Fixes issue #840 | |||
| 2014-09-03 | Merge pull request #844 from chrisdearman/do_str | Damien George | |
| Declare do_str() function before the implementation | |||
| 2014-09-02 | Merge branch 'stinos-msvc-extmod' | Damien George | |
| 2014-09-02 | extmod: Fix type-punned-ptr error. | Damien George | |
| 2014-09-02 | Merge branch 'msvc-extmod' of github.com:stinos/micropython into ↵ | Damien George | |
| stinos-msvc-extmod | |||
| 2014-09-02 | msvc: Exclude modtermios, include extmod and fix compilation error | stijn | |
| 2014-09-01 | Declare do_str() function before the implementation | Chris Dearman | |
| This ensures that GCC does not discard the do_str implementation in some cases eg when compiling tests with debug enabled: make RUN_TESTS=1 DEBUG=1 | |||
| 2014-09-01 | stmhal, modwiznet5k: Add very minimal documentation. | Damien George | |
| 2014-09-01 | stmhal: Add wiznet5k module, to control WIZnet ethernet adaptor. | Damien George | |
| Allows to create socket objects that support TCP and UDP in server and client mode. Interface is very close to standard Python socket class, except bind and accept do not work the same (due to hardware not supporting them in the usual way). Not compiled by default. To compile this module, use: make MICROPY_PY_WIZNET5K=1 | |||
| 2014-09-01 | drivers, wiznet5k: Make DNS service use HAL sys tick. | Damien George | |
| 2014-09-01 | drivers, wiznet5k: Add HAL_Delay(1) to "infinite" loops. | Damien George | |
| 2014-09-01 | drivers, wiznet5k: Properly fix ARP bug with W5200 chipset. | Damien George | |
| 2014-09-01 | drivers, wiznet5k: Add W5200 support. | Damien George | |
| 2014-09-01 | drivers, wiznet5k: Change SPI interface to read/write multiple bytes. | Damien George | |
| 2014-09-01 | drivers, wiznet5k: Fix IP addr verification. | Damien George | |
| 2014-09-01 | drivers: Initial import of WIZnet5x000 driver. | Damien George | |
| 2014-09-01 | Added 'drivers' directory, intended to hold code for specific hardware. | Damien George | |
| 2014-08-31 | Merge pull request #841 from dhylands/teensy-README | Damien George | |
| Update teensy README.md file | |||
| 2014-08-30 | Update teensy README.md file | Dave Hylands | |
| Thanks to Artur Wroblewski for some suggested changes. I also added the TIPs section at the end while I was updating. | |||
| 2014-08-30 | py: Small simplifications in tuple and list accessors. | Damien George | |
| 2014-08-30 | py: Change uint to mp_uint_t in runtime.h, stackctrl.h, binary.h. | Damien George | |
| Part of code cleanup, working towards resolving issue #50. | |||
| 2014-08-30 | py: Remove use of int type in obj.h. | Damien George | |
| Part of code cleanup, working towards resolving issue #50. | |||
| 2014-08-30 | py: Change all uint to mp_uint_t in obj.h. | Damien George | |
| Part of code cleanup, working towards resolving issue #50. | |||
| 2014-08-30 | py: Make tuple and list use mp_int_t/mp_uint_t. | Damien George | |
| Part of code cleanup, to resolve issue #50. | |||
| 2014-08-30 | py: Make map, dict, set use mp_int_t/mp_uint_t exclusively. | Damien George | |
| Part of code cleanup, towards resolving issue #50. | |||
| 2014-08-30 | py: Save about 200 bytes of ROM by using smaller type for static table. | Damien George | |
| 2014-08-30 | Change some parts of the core API to use mp_uint_t instead of uint/int. | Damien George | |
| Addressing issue #50, still some way to go yet. | |||
| 2014-08-29 | lib, libm: Add back dummy definition of tanf. | Damien George | |
| 2014-08-29 | lib: Add lib and libm, moving current files from stmhal. | Damien George | |
| Top-level lib directory is for standard C libraries that we want to provide our own versions of (for efficiency and stand-alone reasons). It currently has libm in it for math functions. Also add atanf and atan2f, which addresses issue #837. | |||
| 2014-08-29 | py: Use memmove instead of memcpy when appropriate. | Damien George | |
| Found this bug by running unix/ tests with DEBUG=1 enabled when compiling. | |||
| 2014-08-29 | py: Fix 2 bugs in native emitter: jump_or_pop and stack settling. | Damien George | |
| Addresses issue #838. | |||
| 2014-08-29 | py: Add compiler optimisation for conditions in parenthesis. | Damien George | |
| Optimises: if () -> if False if (x,...) -> if True if (a and b) -> if a and b | |||
| 2014-08-29 | tests: Add option to run-tests to enable native emitter. | Damien George | |
| 2014-08-28 | py: Move native glue code from runtime.c to new file nativeglue.c. | Damien George | |
| This way, the native glue code is only compiled if native code is enabled (which makes complete sense; thanks to Paul Sokolovsky for the idea). Should fix issue #834. | |||
| 2014-08-28 | Merge pull request #833 from Vogtinator/arm-native | Damien George | |
| Basic native ARM emitter | |||
| 2014-08-28 | py, gc: Further reduce heap fragmentation with new, faster gc alloc. | Damien George | |
| The heap allocation is now exactly as it was before the "faster gc alloc" patch, but it's still nearly as fast. It is fixed by being careful to always update the "last free block" pointer whenever the heap changes (eg free or realloc). Tested on all tests by enabling EXTENSIVE_HEAP_PROFILING in py/gc.c: old and new allocator have exactly the same behaviour, just the new one is much faster. | |||
| 2014-08-28 | py: Reduce fragmentation of GC heap. | Damien George | |
| Recent speed up of GC allocation made the GC have a fragmented heap. This patch restores "original fragmentation behaviour" whilst still retaining relatively fast allocation. This patch works because there is always going to be a single block allocated now and then, which advances the gc_last_free_atb_index pointer often enough so that the whole heap doesn't need scanning. Should address issue #836. | |||
| 2014-08-28 | Clarify copyright on asmarm files | Fabian Vogt | |
| 2014-08-27 | Basic native ARM emitter | Fabian Vogt | |
| 2014-08-27 | Merge branch 'dhylands-int-bytes' | Damien George | |
| 2014-08-27 | py: Improve efficiency of MP_OBJ_IS_STR_OR_BYTES. | Damien George | |
| Saves ROM (16 on stmhal, 240 on 64-bit unix) and should be quicker since there is 1 less branch. | |||
| 2014-08-27 | Merge branch 'int-bytes' of https://github.com/dhylands/micropython into ↵ | Damien George | |
| dhylands-int-bytes | |||
| 2014-08-26 | Make int(b'123') work properly. | Dave Hylands | |
