kopia lustrzana https://github.com/espressif/esp-idf
aeed91b589
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 | ||
eri.c | ||
linker.lf | ||
project_include.cmake | ||
xt_trax.c | ||
xtensa_intr.c | ||
xtensa_intr_asm.S |