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.

AM3359 VFP单元执行效率低的原因

Other Parts Discussed in Thread: AM3359

您好,我写了一个裸机程序在AM3359 ICE上跑,现在遇到一个很奇怪的问题。

①代码中只执行整数运算,VFP无效,计算速度非常快。但若打开VFP,计算速度会下降数十倍。

②但另外一种情况,如果代码只执行浮点数运算,VFP无效,计算速度一般,但若打开VFP,计算速度会提高很多。

 从②来看,VFP确实能提高浮点数的运算速度,但从①看,VFP打开后为什么会影响整数的计算速度呢?