esp-idf/components/xtensa
Ivan Grokhotkov aeed91b589 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-01-20 19:48:05 +01: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-01-20 19:48:05 +01:00
trax xtensa: Pass the test with latest gdb 2021-11-22 18:17:36 +01:00
CMakeLists.txt esp8684: rename target to esp32c2 2022-01-19 11:08:57 +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.c apptrace: Refactors apptrace for better support various tracing HW 2021-06-24 13:16:13 +03:00
xtensa_intr_asm.S Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00