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.

局部数组的对齐问题,有没有好的方法



Hello

我想使局部数组地址128字节对齐,不知道在C6000平台,CCS5.5上,能否实现。

全局变量,用DATA#pragma DATA_ALIGN(arr,128),

但是不知道局部数组如何实现地址对齐?

例如:

void func(para1,para2,...)

{

   S32 optAff[64][64]

}

如何使局部数据optAff[][] 的首地址128字节对齐?

非常感谢!

BRS,

Meng