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.

为什么会汇编函数打包成库函数就不正确了



c的原函数为:

void(float *a,float b,int nx)

{

  for(i=0,i<nx;i++)

   a[i]=b;

}

经过优化后·得到汇编函数,extern void ez_vfill_f_asm(float x, float *restrict y, const int nx);参见附件

调用没有错误,但打包成库函数后调用就不正确了。望高人指点

vfill.asm