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.

c6748的处理速度

Other Parts Discussed in Thread: MATHLIB

hi 你好,我们现在在用6748开发一款产品,但是对6748的运行速度感到十分的不理解,按照TI官网上的介绍,6748 Up to 3648 MIPS and 2746 MFLOPS,可以我们现在的算法根本跑不起来。

然后我在TI公布的例程里面加了一个很简单的测试模块:

void int64test()
{
    Int i = 0;
    Int a = 1;
    Int b = 2;
    Int c = 3;
    Int d = 4;
    Int e = 5;
    for(i = 0; i < 260000; i++)
    {
        c = a + b;
        e = d * d;
    }
}

就进行两个整形操作,我用TI介绍的方法: processors.wiki.ti.com/.../Profile_clock_in_CCS,发现这段代码居然要执行9143102个cycle,456M的话就是20ms,我实际测量的也是大概20ms,那我现在不能理解了,为什么32bit的整形会如此耗时,就算转换成汇编也不过2~5条指令,按理说不该如此啊。

Thanks.