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.
测试发现,浮点数和整数除法耗时相差很大。请问这个使用的指令和运算单元是否不同?
我建议你看一下它们对应的反汇编,可以很直观的看到差异。
分别调用的是单精度浮点数除法命令和整数除法命令。谢谢!
客气了,也感谢你的分享!