esp-idf/components/xtensa
Ivan Grokhotkov c9db320410 xtensa: fix semihosting arguments potentially begin optimized out
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.
2022-04-19 13:55:36 +00:00
..
esp32 xtensa: move out trax 2021-02-26 19:45:48 +08:00
esp32s2 xtensa: move out trax 2021-02-26 19:45:48 +08:00
esp32s3 xtensa: update libhal for esp32s3 2021-06-29 16:56:35 +02:00
include xtensa: fix semihosting arguments potentially begin optimized out 2022-04-19 13:55:36 +00:00
trax Drop support for unsupported Python versions 2021-06-21 21:48:49 +02:00
CMakeLists.txt esp32h2: add some more fixes and TODOs 2021-07-01 20:36:39 +08:00
component.mk [system]: Made longjmp save for context switch 2021-04-23 15:55:31 +08:00
eri.c Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
linker.lf [system]: put xtensa_intr_asm into IRAM 2021-04-26 12:11:20 +08:00
project_include.cmake esp32: move toolchain check 2021-03-31 19:17:33 +08:00
xt_trax.c xtensa: move out trax 2021-02-26 19:45:48 +08:00
xtensa_intr_asm.S Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
xtensa_intr.c apptrace: Refactors apptrace for better support various tracing HW 2021-06-24 13:16:13 +03:00