A standard optimization is loop unrolling; the compiler will unroll the loops to reduce the number of branches.
标准的优化是循环展开;编译器将展开循环,以减少分支的数量。
The experimental results demonstrate effectiveness of the technique and show an obvious optimization in loops have a long dependence distance.
实验结果表明了该技术的有效性,对迭代依赖距离大的循环片段优化作用更明显。
应用推荐