Part Number: CCSTUDIO-C2000
Tool/software: Code Composer Studio
Hi,
I need to implement Compile and Memory barriers for Delfino TMS320F28379D and Code Composer Studio.
- Compile barrier: Explicit compiler barrier function that prevents the compiler from moving the memory accesses either side of it to the other side. In gcc, this is done using the asm volatile("":::"memory") instruction.
- Memory barrier: Memory barrier to force strict CPU ordering and as boundary for compiler optimization. This is the same as the compile barrier for gcc, but on some devices are different.
So the question is how to do that in CCS?