a71c365180
This patch reduces the size of ISRs by changing the script to generate the dispatcher per level to, instead of generating an indirect call per mask match, do that just once at the function end. For ESP32, this provides ~380bytes of savings in a (very) hot path (text, just for the matcher functions generated by xtensa_intgen.py, drop from 2197 bytes to 1817 bytes). The generated code also uses the BIT() macro, which shifts 1UL instead of 1. Shifting a signed integer is UB in C. Signed-off-by: Leandro Pereira <leandro.pereira@intel.com> |
||
---|---|---|
.. | ||
core | ||
include | ||
CMakeLists.txt | ||
Kconfig |