esp-idf/components/xtensa/include
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
..
esp_private misc adjustment of esp32 component 2019-04-03 19:57:46 +08:00
xtensa xtensa: fix semihosting arguments potentially begin optimized out 2022-04-19 13:55:36 +00:00
eri.h Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
esp_panic.h misc adjustment of esp32 component 2019-04-03 19:57:46 +08:00
xt_instr_macros.h esp32: Switch SPIRAM stack in esp_restart_noos() to internal stack 2020-05-22 16:23:53 +08:00
xt_trax.h xtensa: move out trax 2021-02-26 19:45:48 +08:00
xtensa-debug-module.h Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00