mirror of
https://github.com/mirror/tinycc.git
synced 2025-02-04 06:30:10 +08:00
6ed6a36a51
On some architectures, ARM for instance, the data and instruction caches are not coherent with each other. This is a problem for the -run feature since instructions are written in memory, and are thus written in the data cache first and then later flushed to the main memory. If the instructions are executed before they are pushed out of the cache, then the processor will fetch the old content from the memory and not the newly generated code. The solution is to flush from the data cache all the data in the memory region containing the instructions and to invalidate the same region in the instruction cache. |
||
---|---|---|
.. | ||
alloca86_64.S | ||
alloca86-bt.S | ||
alloca86.S | ||
bcheck.c | ||
libtcc1.c | ||
Makefile |