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.

关于c6455 cache问题



csl_cache.h里面有一个宏定义:

#define CACHE_ROUND_TO_LINESIZE(CACHE,ELCNT,ELSIZE)          \
        ((CACHE_##CACHE##_LINESIZE *                         \
        ((ELCNT)*(ELSIZE)/CACHE_##CACHE##_LINESIZE + 1)) /   \
        (ELSIZE))

我的程序里面使用这个宏定义所生成的BUFFER大小不是CACHE_##CACHE##_LINESIZE(128)的倍数,请问这是什么原因造成的呢?