x*****u 发帖数: 3419 | 1 【 以下文字转载自 Programming 讨论区,原文如下 】
发信人: xiaozhu (體育用品), 信区: Programming
标 题: an icc option problem.
发信站: Unknown Space - 未名空间 (Fri Aug 27 11:36:43 2004) WWW-POST
I trid to use icc -axW to optimize the code, but it becomes much slower...
8sec/37sec before and after using this option.
my cpu is Intel(R) Pentium(R) 4 CPU 2.40GHz
the test code is just one loop:
for(int i=0; i<100000000; i++){
p=sin(double(i));
}
What is wrong? Thanks! |
|