This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

求助6678的cache invalid无效方面的问题

在6678调试多核的时候要注意cache一致性的问题,所以要用到写回/无效cache的操作,在调试过程中,遇到下面的问题:

1.在程序 xxxx.c 中使用Cache_invAllL1d(wait)函数时,程序好像是跑飞了,或者说出现不知明的错误;

2.但是如果xxxxx.c文件引入-03优化,结果确一切正常,

3.cache写回无效那么多函数,就这一个Cache_invAllL1d(wait)不知道问题出在哪,很奇怪。

cache这些保持一致性的函数使用时有什么特别需要注意的吗?

多谢解答,谢谢。