esp-idf/components/xtensa/include/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
..
cacheasm.h Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
cacheattrasm.h Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
core-macros.h Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
coreasm.h Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
corebits.h Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
hal.h Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
idmaasm.h xtensa: update header file 2019-12-09 09:44:56 +08:00
mpuasm.h xtensa: update header file 2019-12-09 09:44:56 +08:00
semihosting.h xtensa: fix semihosting arguments potentially begin optimized out 2022-01-20 19:48:05 +01:00
specreg.h Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
traxreg.h Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
xdm-regs.h xtensa: update header file 2019-12-09 09:44:56 +08:00
xt_perf_consts.h xtensa: update header file 2019-12-09 09:44:56 +08:00
xtensa_api.h [hal]: cleaned up interrupt mask functions 2021-04-06 11:54:13 +08:00
xtensa_context.h Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
xtensa-libdb-macros.h Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
xtensa-versions.h Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
xtensa-xer.h Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
xtruntime-core-state.h Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
xtruntime-frames.h Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
xtruntime.h xtensa: fix sign-conversion warning 2020-03-20 11:10:43 +01:00