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_common.c | ||
ccspi.c | ||
evnt_handler.c | ||
hci.c | ||
inet_ntop.c | ||
inet_pton.c | ||
netapp.c | ||
nvmem.c | ||
patch_prog.c | ||
patch.c | ||
security.c | ||
socket.c | ||
wlan.c |