571e6f26db
Builtin functions with a fixed number of arguments (0, 1, 2 or 3) are quite common. Before this patch the wrapper for such a function cost 3 machine words. After this patch it only takes 2, which can reduce the code size by quite a bit (and pays off even more, the more functions are added). It also makes function dispatch slightly more efficient in CPU usage, and furthermore reduces stack usage for these cases. On x86 and Thumb archs the dispatch functions are now tail-call optimised by the compiler. The bare-arm port has its code size increase by 76 bytes, but stmhal drops by 904 bytes. Stack usage by these builtin functions is decreased by 48 bytes on Thumb2 archs. |
||
---|---|---|
.. | ||
cc3000 | ||
cc3100 | ||
dht | ||
display | ||
nrf24l01 | ||
onewire | ||
sdcard | ||
wiznet5k | ||
README.md |
README.md
This directory contains drivers for specific hardware. The drivers are intended to work across multiple ports.