阅读背景:

为什么在使用-O3编译时,这两个循环的运行速度都一样快,而在使用-O2编译时却不一样?

来源:互联网 

In below program I expect test1 to run slower because of the dependent instructions. A test run with -O2 seemed to confirm this. But then I tried with -O3 and now the timings are more or less equal. How can this be?In below program I expect test1 to run slower b




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: