mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
c9db320410
The compiler was not informed that the assembly block should be treated as a memory barrier and could optimize out the initialization of local arrays which could be used as semihosting arguments. This resulted in garbage values being passed as semihosting call arguments. Additionally this commit changes the approach for placing values into specific register. Instead of clobbers, local register variables are used. This results in simpler generated code, since the compiler is able to place values directly into the registers used for semihosting arguments, avoiding additional moves. |
||
---|---|---|
.. | ||
esp32 | ||
esp32s2 | ||
esp32s3 | ||
include | ||
trax | ||
CMakeLists.txt | ||
component.mk | ||
eri.c | ||
linker.lf | ||
project_include.cmake | ||
xt_trax.c | ||
xtensa_intr_asm.S | ||
xtensa_intr.c |