我也没找到这两个指令的含义,不知道是做什么的,谢谢!!!作者: cne53102 时间: 2024-4-11 14:46
nocc = no code compressor,禁止代码压缩器。
《ICCV8 for Cortex – C Cross Compiler for the ARM Cortex-M》page 136.
Sometimes you may wish to disable the code compressor temporarily.
For example,perhaps the code is extremely timing-sensitive and it cannot afford to lose cycles by going through the extra function call and return overhead.
You can do this by bracketing code fragments with an instruction pair:
asm(“.nocc_start”);
...
asm(“.nocc_end”);
The code compressor ignores the instructions between these assembler directives in the fragment.